diff options
author | Stephen Boyd <stephen.boyd@linaro.org> | 2016-09-09 14:48:47 -0700 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2016-09-13 11:26:26 +0900 |
commit | 38085c987f52674c2cc84fa0c0788eb71137cb2b (patch) | |
tree | 710f79c6c239ea67742cb530f87a8cc9f9059a1e /drivers/extcon/Kconfig | |
parent | 8670b4598064007abfc44554e713fa2004734e1d (diff) |
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/Kconfig | 6 |
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 |