summaryrefslogtreecommitdiffstats
path: root/drivers/extcon/Kconfig
diff options
context:
space:
mode:
authorChanwoo Choi <cw00.choi@samsung.com>2014-05-22 14:06:33 +0900
committerChanwoo Choi <cw00.choi@samsung.com>2014-07-23 10:22:30 +0900
commit914b881f9452fd615cc597b434fd8c0e12a7dae2 (patch)
tree00ca6bc5c90cca061921ef72b60847db3c38e5a9 /drivers/extcon/Kconfig
parent17271f608bf818a13b2c235d45258311308d5b03 (diff)
downloadblackbird-op-linux-914b881f9452fd615cc597b434fd8c0e12a7dae2.tar.gz
blackbird-op-linux-914b881f9452fd615cc597b434fd8c0e12a7dae2.zip
extcon: sm5502: Add support new SM5502 extcon device driver
This patch add new SM5502 MUIC(Micro-USB Interface Controller) device by using EXTCON subsystem. The extcon-sm5502 driver is capable of identifying the type of the external power source and attached accessory. An external power sources, such as Deticated Charger or a standard USB port, are able to charge the battery in the smart phone via the connector. Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'drivers/extcon/Kconfig')
-rw-r--r--drivers/extcon/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/extcon/Kconfig b/drivers/extcon/Kconfig
index 9125eba6b3d6..6f2f4727de2c 100644
--- a/drivers/extcon/Kconfig
+++ b/drivers/extcon/Kconfig
@@ -70,4 +70,14 @@ config EXTCON_PALMAS
Say Y here to enable support for USB peripheral and USB host
detection by palmas usb.
+config EXTCON_SM5502
+ tristate "SM5502 EXTCON support"
+ select IRQ_DOMAIN
+ select REGMAP_I2C
+ select REGMAP_IRQ
+ help
+ If you say yes here you get support for the MUIC device of
+ Silicon Mitus SM5502. The SM5502 is a USB port accessory
+ detector and switch.
+
endif # MULTISTATE_SWITCH
OpenPOWER on IntegriCloud