mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 14:42:37 +02: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:
parent
4b9efc24b1
commit
b6032f4f38
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user