summaryrefslogtreecommitdiffstats
path: root/drivers/extcon/Kconfig
diff options
context:
space:
mode:
authorStephen Boyd2016-09-09 23:48:47 +0200
committerChanwoo Choi2016-09-13 04:26:26 +0200
commit38085c987f52674c2cc84fa0c0788eb71137cb2b (patch)
tree710f79c6c239ea67742cb530f87a8cc9f9059a1e /drivers/extcon/Kconfig
parentextcon: Use the extcon_set_state_sync() instead of deprecated functions (diff)
downloadkernel-qcow2-linux-38085c987f52674c2cc84fa0c0788eb71137cb2b.tar.gz
kernel-qcow2-linux-38085c987f52674c2cc84fa0c0788eb71137cb2b.tar.xz
kernel-qcow2-linux-38085c987f52674c2cc84fa0c0788eb71137cb2b.zip
extcon: Add support for qcom SPMI PMIC USB id detection hardware
Some Qualcomm PMICs have a misc device that performs USB id pin detection via an interrupt. When the interrupt triggers, we should read the interrupt line to see if it has gone high or low. If the interrupt is low then the ID pin is grounded, and if the interrupt is high then the ID pin is being held high. Cc: Roger Quadros <rogerq@ti.com> Signed-off-by: Stephen Boyd <stephen.boyd@linaro.org> [cw00.choi: Edited the driver description and added the author information] Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'drivers/extcon/Kconfig')
-rw-r--r--drivers/extcon/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/extcon/Kconfig b/drivers/extcon/Kconfig
index 3d89e60a3e71..04788d92ea52 100644
--- a/drivers/extcon/Kconfig
+++ b/drivers/extcon/Kconfig
@@ -96,6 +96,12 @@ config EXTCON_PALMAS
Say Y here to enable support for USB peripheral and USB host
detection by palmas usb.
+config EXTCON_QCOM_SPMI_MISC
+ tristate "Qualcomm USB extcon support"
+ help
+ Say Y here to enable SPMI PMIC based USB cable detection
+ support on Qualcomm PMICs such as PM8941.
+
config EXTCON_RT8973A
tristate "Richtek RT8973A EXTCON support"
depends on I2C