phy: phy-rockchip-usb: add USB external connectors

This patch add EXTCON_USB, EXTCON_USB_HOST and EXTCON_USB_VBUS_EN
to rockchip_usb_phy_extcon_cable. Without these extcons, the probe
of battery charger(such as rk818_charger) will fail when registering
extcon notifier.

Signed-off-by: Ren Jianing <jianing.ren@rock-chips.com>
Change-Id: I17774f63bc84fc1f5afa11d2ecc9d0eb2469acbc
This commit is contained in:
Ren Jianing
2020-08-05 16:47:30 +08:00
parent 4b9efc24b1
commit b6032f4f38

View File

@@ -93,6 +93,9 @@ enum usb_chg_state {
};
static const unsigned int rockchip_usb_phy_extcon_cable[] = {
EXTCON_USB,
EXTCON_USB_HOST,
EXTCON_USB_VBUS_EN,
EXTCON_CHG_USB_SDP,
EXTCON_CHG_USB_CDP,
EXTCON_CHG_USB_DCP,