]> git.baikalelectronics.ru Git - kernel.git/commit
extcon: sm5502: Add support for SM5703
authorMarkuss Broks <markuss.broks@gmail.com>
Sat, 12 Mar 2022 18:41:54 +0000 (20:41 +0200)
committerChanwoo Choi <cw00.choi@samsung.com>
Fri, 13 May 2022 08:03:40 +0000 (17:03 +0900)
commit40b97203bc25df515839af0b3837b76d4cf0c3f1
treeb5d370a39aae323cf07d10ec2c8a962e61b0b3b8
parent05bde267eafea30b0c7f0f9c2b6227ae29bcfee9
extcon: sm5502: Add support for SM5703

SM5703 is another MFD from Silicon Mitus which has a very similar MUIC
unit to the one in SM5502. The only difference I've noticed is slightly different
configuration only enables the interrupts which are exactly the same as on SM5502.
If we make use of different interrupts in the future, this can be improved by having
a separate struct for SM5703, but the main functionality (detecting cable or OTG adapter)
is working properly.

Signed-off-by: Markuss Broks <markuss.broks@gmail.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/Kconfig
drivers/extcon/extcon-sm5502.c