aboutsummaryrefslogtreecommitdiffstats
path: root/include/dt-bindings/mfd
diff options
context:
space:
mode:
authorInha Song <ideal.song@samsung.com>2015-05-04 13:42:13 +0900
committerChanwoo Choi <cw00.choi@samsung.com>2015-05-19 16:39:05 +0900
commit9e86b2ad4c11fd52ee8133abce7a29e0b32d29a7 (patch)
tree9b51091594489f7c44d686932111c121a7ffd3f8 /include/dt-bindings/mfd
parentextcon: arizona: Apply HP clamps correctly for WM8280 (diff)
downloadlinux-dev-9e86b2ad4c11fd52ee8133abce7a29e0b32d29a7.tar.xz
linux-dev-9e86b2ad4c11fd52ee8133abce7a29e0b32d29a7.zip
extcon: arizona: Add support for select accessory detect mode when headphone detection
This patch add support for select accessory detect mode to HPDETL or HPDETR. Arizona provides a headphone detection circuit on the HPDETL and HPDETR pins to measure the impedance of an external load connected to the headphone. Depending on board design, headphone detect pins can change to HPDETR or HPDETL. Signed-off-by: Inha Song <ideal.song@samsung.com> Acked-by: Lee Jones <lee@kernel.org> Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'include/dt-bindings/mfd')
-rw-r--r--include/dt-bindings/mfd/arizona.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/dt-bindings/mfd/arizona.h b/include/dt-bindings/mfd/arizona.h
index c7af7c7ef793..fee48e624036 100644
--- a/include/dt-bindings/mfd/arizona.h
+++ b/include/dt-bindings/mfd/arizona.h
@@ -90,4 +90,8 @@
#define ARIZONA_INMODE_SE 1
#define ARIZONA_INMODE_DMIC 2
+#define ARIZONA_ACCDET_MODE_MIC 0
+#define ARIZONA_ACCDET_MODE_HPL 1
+#define ARIZONA_ACCDET_MODE_HPR 2
+
#endif