aboutsummaryrefslogtreecommitdiff
path: root/drivers/extcon/Kconfig
diff options
context:
space:
mode:
authorGravatar Stephan Gerhold <stephan@gerhold.net> 2021-06-03 10:52:22 +0200
committerGravatar Chanwoo Choi <cw00.choi@samsung.com> 2021-06-21 18:28:01 +0900
commitd97c0ff5a124f48109c4b32d6471c7bccd497009 (patch)
treeb26e2c54f2ecaa4ce4aeb3128c3e8ec58043ccbc /drivers/extcon/Kconfig
parentextcon: sm5502: Refactor driver to use chip-specific struct (diff)
downloadlinux-d97c0ff5a124f48109c4b32d6471c7bccd497009.tar.gz
linux-d97c0ff5a124f48109c4b32d6471c7bccd497009.tar.bz2
linux-d97c0ff5a124f48109c4b32d6471c7bccd497009.zip
extcon: sm5502: Add support for SM5504
SM5504 is another MUIC from Silicon Mitus that is fairly similar to SM5502. They seem to use the same register set, but: - SM5504 has some additional bits in SM5502_REG_CONTROL - SM5504 has a quite different set of interrupts - SM5504 reports USB OTG as dev_type1 = BIT(0) instead of BIT(7) Overall it's minor and we can support this by defining a separate struct sm5502_type for SM5504. Signed-off-by: Stephan Gerhold <stephan@gerhold.net> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'drivers/extcon/Kconfig')
-rw-r--r--drivers/extcon/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/extcon/Kconfig b/drivers/extcon/Kconfig
index e3db936becfd..c69d40ae5619 100644
--- a/drivers/extcon/Kconfig
+++ b/drivers/extcon/Kconfig
@@ -154,7 +154,7 @@ config EXTCON_RT8973A
from abnormal high input voltage (up to 28V).
config EXTCON_SM5502
- tristate "Silicon Mitus SM5502 EXTCON support"
+ tristate "Silicon Mitus SM5502/SM5504 EXTCON support"
depends on I2C
select IRQ_DOMAIN
select REGMAP_I2C