From eee1d077f0d74bcd411c18148a31a5d3aab42284 Mon Sep 17 00:00:00 2001 From: Stephen Boyd Date: Sat, 25 Jun 2016 22:54:37 -0700 Subject: 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 Cc: Chanwoo Choi Signed-off-by: Stephen Boyd Reviewed-by: Chanwoo Choi Signed-off-by: Sebastian Reichel --- drivers/power/Kconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/power/Kconfig') 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 -- cgit v1.2.3