Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

authored by

Hans de Goede and committed by
Lee Jones
783422d0 0e61637f

+1
+1
drivers/extcon/extcon-intel-cht-wc.c
··· 537 537 cht_wc_extcon_set_5v_boost(ext, false); 538 538 break; 539 539 case INTEL_CHT_WC_LENOVO_YOGABOOK1: 540 + case INTEL_CHT_WC_LENOVO_YT3_X90: 540 541 /* Do this first, as it may very well return -EPROBE_DEFER. */ 541 542 ret = cht_wc_extcon_get_role_sw_and_regulator(ext); 542 543 if (ret)