Re: [PATCH v11 08/14] usb: otg: add OTG/dual-role core
From: Tony Lindgren <hidden>
Date: 2016-06-21 10:52:16
Also in:
linux-omap, lkml
From: Tony Lindgren <hidden>
Date: 2016-06-21 10:52:16
Also in:
linux-omap, lkml
* Felipe Balbi [off-list ref] [160621 03:06]:
8<----------------------------------------------------------------------
vbus = read(VBUS_STATE); /* could be a gpio_get_value() */
id = read(ID_STATE); /* could be a gpio_get_value() */
set_role(id);
set_vbus(vbus);We should use regulator framework API for set_vbus() because of the delays involved bringing it up. And we already have separate PHY and charger chips where VBUS is provided by the charger chip. Regards, Tony -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html