power: qcom_smbb: Make an extcon for usb cable detection
authorStephen Boyd <stephen.boyd@linaro.org>
Sun, 26 Jun 2016 05:54:37 +0000 (22:54 -0700)
committerSebastian Reichel <sre@kernel.org>
Wed, 29 Jun 2016 21:10:12 +0000 (23:10 +0200)
commiteee1d077f0d74bcd411c18148a31a5d3aab42284
tree57ea4b29298899e1f322b92aba87a0808cee37b9
parentc5ed3307940bc4584ce99236f033d60435d83036
power: qcom_smbb: Make an extcon for usb cable detection

On these PMICs the usb cable connection/disconnection is
indicated by the usb-valid interrupt being high or low
respectively. Let's make an extcon for that, so we can notify usb
drivers of the cable state.

Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Stephen Boyd <stephen.boyd@linaro.org>
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/Kconfig
drivers/power/qcom_smbb.c
This page took 0.042226 seconds and 5 git commands to generate.