]> git.baikalelectronics.ru Git - kernel.git/commit
extcon: palmas: Support GPIO based USB ID detection
authorRoger Quadros <rogerq@ti.com>
Mon, 3 Aug 2015 14:40:51 +0000 (17:40 +0300)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 10 Aug 2015 12:26:25 +0000 (21:26 +0900)
commit5187dd6f758a4126f31e0fdf1b2e13147f5a5dd6
treede56922baf3fee8dd9ec7c7f9a43599de61c07f0
parentabe7c2b5e6cab057515be77a14fdfe7a1ea05dd5
extcon: palmas: Support GPIO based USB ID detection

Some palmas based chip variants do not have OTG based ID logic.
For these variants we rely on GPIO based USB ID detection.

These chips do have VBUS comparator for VBUS detection so we
continue to use the old way of detecting VBUS.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Acked-by: Chanwoo Choi <cw00.choi@samsung.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Documentation/devicetree/bindings/extcon/extcon-palmas.txt
drivers/extcon/extcon-palmas.c
drivers/extcon/extcon-usb-gpio.c
include/linux/mfd/palmas.h