]> git.baikalelectronics.ru Git - kernel.git/commit
extcon: arizona: Add device binding for second jack detect pin on GPIO5
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Thu, 19 Nov 2015 15:45:38 +0000 (15:45 +0000)
committerChanwoo Choi <cw00.choi@samsung.com>
Fri, 20 Nov 2015 01:14:23 +0000 (10:14 +0900)
commit10b2ac24621275fbd13c7e94003d25572896ce50
treea7bedb03f2e114fb8cd6f9d10070493f59ed31fc
parent8e14625f7cff644e111f6c595a2a59e0e2304e7b
extcon: arizona: Add device binding for second jack detect pin on GPIO5

Some Arizona devices have the option to use the GPIO5 pin as a second
jack detection pin. This patch adds device bindings to specify to the
driver that it should use this pin. Note that the second jack detection
pin is hard wired in the chip so can only be enabled through the
binding, rather than a pin being specified.

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