extcon: arizona: Add device binding for jack detect polarity inversion
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Thu, 19 Nov 2015 15:45:37 +0000 (15:45 +0000)
committerChanwoo Choi <cw00.choi@samsung.com>
Fri, 20 Nov 2015 01:14:23 +0000 (10:14 +0900)
commit3d7a872fa359e13b6903c7fb45bb15c0078d4a84
tree724c9bbb1a34246e919f7481dbe6cc18ffa3c664
parent99374227cfb9f410965022063baf447ae3c41b9f
extcon: arizona: Add device binding for jack detect polarity inversion

By default the driver expects the jackdet pin to be pulled low when a
jack is inserted. This patch adds a device binding that allows the user
to specify that the jackdet pin will be pulled high when a jack is
inserted.

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