summaryrefslogtreecommitdiff
path: root/include/dt-bindings/mfd
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>2015-09-16 09:42:13 (GMT)
committerChanwoo Choi <cw00.choi@samsung.com>2015-09-22 06:23:59 (GMT)
commite76e397a7f99bffbd91fb21f96370cbb165b5bcd (patch)
tree4b3d2e3b6cc69b441f946765484d4f66f3e101e3 /include/dt-bindings/mfd
parent1f93e4a96c9109378204c147b3eec0d0e8100fde (diff)
downloadlinux-e76e397a7f99bffbd91fb21f96370cbb165b5bcd.tar.xz
mfd: arizona: Add registers for ADC microphone detection
The newer devices support using a software comparison to determine whether a 3/4 pole jack is present. Add the registers necessary for this. Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Acked-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'include/dt-bindings/mfd')
-rw-r--r--include/dt-bindings/mfd/arizona.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/dt-bindings/mfd/arizona.h b/include/dt-bindings/mfd/arizona.h
index 7b2000c..c40f665 100644
--- a/include/dt-bindings/mfd/arizona.h
+++ b/include/dt-bindings/mfd/arizona.h
@@ -107,5 +107,7 @@
#define ARIZONA_ACCDET_MODE_MIC 0
#define ARIZONA_ACCDET_MODE_HPL 1
#define ARIZONA_ACCDET_MODE_HPR 2
+#define ARIZONA_ACCDET_MODE_HPM 4
+#define ARIZONA_ACCDET_MODE_ADC 7
#endif