aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/extcon
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>2015-12-14 10:37:12 +0000
committerChanwoo Choi <cw00.choi@samsung.com>2015-12-15 09:57:37 +0900
commitcb0eac8fd1a3180ce260a8dca01584bc5495a8e8 (patch)
tree598ee110e1a4667637ec6477526fa19b4dfc419a /Documentation/devicetree/bindings/extcon
parentextcon: arizona: Add device bindings for the micd configurations (diff)
downloadlinux-dev-cb0eac8fd1a3180ce260a8dca01584bc5495a8e8.tar.xz
linux-dev-cb0eac8fd1a3180ce260a8dca01584bc5495a8e8.zip
extcon: arizona: Update device tree binding for mic detect configurations
Update the device tree binding documentation to include documentation for the wlf,micd-configs property that is used to specify the configurations for headset polarity detection (CTIA / OTMP). Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'Documentation/devicetree/bindings/extcon')
-rw-r--r--Documentation/devicetree/bindings/extcon/extcon-arizona.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/extcon/extcon-arizona.txt b/Documentation/devicetree/bindings/extcon/extcon-arizona.txt
index 238e10e86a20..fd9b898d2d7d 100644
--- a/Documentation/devicetree/bindings/extcon/extcon-arizona.txt
+++ b/Documentation/devicetree/bindings/extcon/extcon-arizona.txt
@@ -37,5 +37,13 @@ Optional properties:
milliseconds.
- wlf,micd-force-micbias : Force MICBIAS continuously on during microphone
detection.
+ - wlf,micd-configs : Headset polarity configurations (generally used for
+ detection of CTIA / OMTP headsets), the field can be of variable length
+ but should always be a multiple of 3 cells long, each three cell group
+ represents one polarity configuration.
+ The first cell defines the accessory detection pin, zero will use MICDET1
+ and all other values will use MICDET2.
+ The second cell represents the MICBIAS to be used.
+ The third cell represents the value of the micd-pol-gpio pin.
- wlf,gpsw : Settings for the general purpose switch