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)
commit35247c136a47a05d7747c9c7f0bc0d948d1fdda5
treea7bedb03f2e114fb8cd6f9d10070493f59ed31fc
parent3d7a872fa359e13b6903c7fb45bb15c0078d4a84
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