Re: [PATCH v4 3/7] phy: Add set_mode callback

From: David Lechner
Date: Wed May 04 2016 - 15:48:27 EST


On 05/04/2016 01:39 PM, Bin Liu wrote:

Have you already tested this? I never tried changing mode via sysfs, but
by quickly reviewing the code, I am wondering how it works. the core
only calls ops->set_mode() but nothing else. To really switch the mode,
the driver has to talk to the root hub, and manipulate the SESSION
bit...

Regards,
-Bin.



I haven't actually tried this. I need to hack together a USB cable to test it in host mode (Mini-B to Mini-B w/ powered hub).