extcon: intel-cht-wc: Add support for Lenovo Yoga Tab 3 Pro YT3-X90F
authorHans de Goede <hdegoede@redhat.com>
Thu, 26 Jan 2023 15:38:23 +0000 (16:38 +0100)
committerLee Jones <lee@kernel.org>
Sat, 4 Feb 2023 13:05:42 +0000 (13:05 +0000)
commit783422d00d7d8f7725dc781fcd3cfcaae13595e5
tree4c1f26d1320f34bceade58c37c7d5f0cd9c15016
parent0e61637f0fb5578198c8d95c3fb9b893390bc1e7
extcon: intel-cht-wc: Add support for Lenovo Yoga Tab 3 Pro YT3-X90F

The Lenovo Yoga Tab 3 Pro YT3-X90F needs the same handling as
the Lenovo Yogabook models. That is it needs the extcon code to:

1. Control the Vbus regulator and USB-role-switch for the micro-USB
   port's host/device mode switching.
2. Register a power_supply device so that the charger-chip driver can
   see what sort of charger (SDP/CDP/DCP) is connected.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20230126153823.22146-4-hdegoede@redhat.com
drivers/extcon/extcon-intel-cht-wc.c