mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user