mfd: arizona: Update DT binding to support hpdet channel
authorInha Song <ideal.song@samsung.com>
Mon, 4 May 2015 04:42:14 +0000 (13:42 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Tue, 19 May 2015 07:39:05 +0000 (16:39 +0900)
This patch add device tree bindings for the pdata needed to configure
the Accessory Detect Mode select when Headphone detection.

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>
Documentation/devicetree/bindings/mfd/arizona.txt

index 7665aa95979f0b57d8036c51e3b4a0fa71807d1a..32a71b76794ff5afa377278cd7cf730728de0f8c 100644 (file)
@@ -62,6 +62,12 @@ Optional properties:
     present, the number of values should be less than or equal to the
     number of inputs, unspecified inputs will use the chip default.
 
+  - wlf,hpdet-channel : Headphone detection channel.
+    ARIZONA_ACCDET_MODE_HPL or 1 - Headphone detect mode is set to HPDETL
+    ARIZONA_ACCDET_MODE_HPR or 2 - Headphone detect mode is set to HPDETR
+    If this node is not mentioned or if the value is unknown, then
+    headphone detection mode is set to HPDETL.
+
   - DCVDD-supply, MICVDD-supply : Power supplies, only need to be specified if
     they are being externally supplied. As covered in
     Documentation/devicetree/bindings/regulator/regulator.txt