diff options
author | Charles Keepax <ckeepax@opensource.wolfsonmicro.com> | 2013-10-23 16:43:38 +0100 |
---|---|---|
committer | Seung-Woo Kim <sw0312.kim@samsung.com> | 2016-12-14 13:42:45 +0900 |
commit | 011d5c6addcea7b659c0ba9f69bd81b6d1eb8bf5 (patch) | |
tree | 2ef211b1cf1f4cbf72c1759e618de882da97ed04 /Documentation | |
parent | 92c37840ec33d9cc2cf66725460cd6bfc893cb7b (diff) |
extcon: arizona: Add support for general purpose switch
The switch is typically used in conjunction with the MICDET clamp in
order to suppress pops and clicks associated with jack insertion.
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/mfd/arizona.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mfd/arizona.txt b/Documentation/devicetree/bindings/mfd/arizona.txt index 7665aa95979f..9fc9ab421879 100644 --- a/Documentation/devicetree/bindings/mfd/arizona.txt +++ b/Documentation/devicetree/bindings/mfd/arizona.txt @@ -72,6 +72,9 @@ Optional subnodes: - micvdd : Initial data for the MICVDD regulator, as covered in Documentation/devicetree/bindings/regulator/regulator.txt + - wlf,gpsw : Settings for the general purpose switch, set as per the + SW1_MODE bits in the GP Switch 1 register + Example: codec: wm5102@1a { @@ -85,6 +88,8 @@ codec: wm5102@1a { gpio-controller; #gpio-cells = <2>; + wlf,gpsw = <0x3>; + wlf,gpio-defaults = < ARIZONA_GP_FN_TXLRCLK ARIZONA_GP_DEFAULT |