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)
commita84df1c7ddfcb5f7ccd7aaa80c40a49e54621ce8
treeb5d370a39aae323cf07d10ec2c8a962e61b0b3b8
parent9869ba6dc9302624fc024c0a5ead4137d9de150b
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