extcon: arizona: Add device binding for the general purpose switch
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Thu, 19 Nov 2015 15:45:36 +0000 (15:45 +0000)
committerChanwoo Choi <cw00.choi@samsung.com>
Fri, 20 Nov 2015 01:14:23 +0000 (10:14 +0900)
commit99374227cfb9f410965022063baf447ae3c41b9f
treeaa6b1c8a8fba5e09e5b8e53fdb72ab3c35ac4f73
parent2e87b7a8bef7901ab56f121f0d7c085aacee86fc
extcon: arizona: Add device binding for the general purpose switch

The switch is generally used in conjunction with the MICDET clamp to
suppress pops and clicks associated with jack insertion. This patch adds
a binding that allows the user to select the mode of operation for this
switch.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Acked-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-arizona.c