]> git.baikalelectronics.ru Git - kernel.git/commit
extcon: ptn5150: Add usb role class support
authorLi Jun <jun.li@nxp.com>
Tue, 19 Apr 2022 12:44:09 +0000 (20:44 +0800)
committerChanwoo Choi <cw00.choi@samsung.com>
Fri, 13 May 2022 08:03:41 +0000 (17:03 +0900)
commitdb2acb3ec65998b3e71ebec7ee8cbc7e04d8f871
tree26defd0af4ad0fb5840eae8234ea8bfc7589c1b9
parentd1cfbd9b4fb8ec59c00c3ebe44c7fdedff93d685
extcon: ptn5150: Add usb role class support

Some usb controller drivers may not support extcon but use
usb role class as it's the preferred approach, so to support
usb dual role switch with usb role class, add usb role class
consumer support.

Signed-off-by: Li Jun <jun.li@nxp.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/Kconfig
drivers/extcon/extcon-ptn5150.c