Explorar o código

mfd: arizona: Update DT binding to support hpdet channel

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>
Inha Song %!s(int64=10) %!d(string=hai) anos
pai
achega
9bf63cf858
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      Documentation/devicetree/bindings/mfd/arizona.txt

+ 6 - 0
Documentation/devicetree/bindings/mfd/arizona.txt

@@ -62,6 +62,12 @@ Optional properties:
     present, the number of values should be less than or equal to the
     present, the number of values should be less than or equal to the
     number of inputs, unspecified inputs will use the chip default.
     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
   - DCVDD-supply, MICVDD-supply : Power supplies, only need to be specified if
     they are being externally supplied. As covered in
     they are being externally supplied. As covered in
     Documentation/devicetree/bindings/regulator/regulator.txt
     Documentation/devicetree/bindings/regulator/regulator.txt