[PATCH v6 23/25] usb: chipidea: Pullup D+ in device mode via phy APIs
From: Peter Chen <hidden>
Date: 2017-01-18 07:37:49
Also in:
linux-arm-msm, lkml
From: Peter Chen <hidden>
Date: 2017-01-18 07:37:49
Also in:
linux-arm-msm, lkml
On Tue, Jan 17, 2017 at 09:58:33AM -0800, Stephen Boyd wrote:
Quoting Peter Chen (2017-01-15 19:45:51)quoted
So, you need to call phy_set_mode when switching between host and device. Besides, you also need to toggle VBUSVLDEXT when the external vbus is on or off at device mode (doesn't need for host mode), is it correct?Correct.quoted
At include/linux/usb/phy.h, we have .set_vbus interface, maybe you need to port it to generic phy framework.Ok. I'll look into that. Can the other patches in this series be picked up? Otherwise I can resend them all again once I fix the phy_set_mode() call location and introduce a new phy op.
I can pick up chipidea patches after you test the patch I supplied at: [PATCH v6 11/25] usb: chipidea: vbus event may exist before starting gadget You may ping other maintainers to pick up other patches. -- Best Regards, Peter Chen