diff options
author | Stephen Boyd <stephen.boyd@linaro.org> | 2016-06-26 08:54:37 +0300 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2016-06-30 00:10:12 +0300 |
commit | eee1d077f0d74bcd411c18148a31a5d3aab42284 (patch) | |
tree | 57ea4b29298899e1f322b92aba87a0808cee37b9 /drivers/power/Kconfig | |
parent | c5ed3307940bc4584ce99236f033d60435d83036 (diff) | |
download | linux-eee1d077f0d74bcd411c18148a31a5d3aab42284.tar.xz |
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>
Diffstat (limited to 'drivers/power/Kconfig')
-rw-r--r-- | drivers/power/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig index 421770ddafa3..6bff735c632d 100644 --- a/drivers/power/Kconfig +++ b/drivers/power/Kconfig @@ -393,6 +393,7 @@ config CHARGER_QCOM_SMBB tristate "Qualcomm Switch-Mode Battery Charger and Boost" depends on MFD_SPMI_PMIC || COMPILE_TEST depends on OF + depends on EXTCON help Say Y to include support for the Switch-Mode Battery Charger and Boost (SMBB) hardware found in Qualcomm PM8941 PMICs. The charger |