On 10/28/26 3:54 PM, Nora Schiffer wrote:
On Tue, 2026-10-27 at 18:25 +0100, Marek Vasut wrote:
On 10/27/26 10:39 AM, Nora Schiffer wrote:
On i.MX6/7, VBUS enable and OC polarity is configured in the usbmisc;
there is no PHY driver handling this. Always run usb_oc_config() when a
fsl,usbmisc exists.
Would it make sense to add usbmisc PHY driver ?
Having a separate driver would make sense, as the usbmisc is a separate OF node
with its own compatible. Thinking about this again, maybe not a PHY driver
however, but a UCLASS_MISC - on Linux usbmisc_imx is a (subsystem-less) platform
driver too and it doesn't really implement any features that would fit the PHY
subsystem.
I assume that usbmisc driver could also be reused by VF610 , paging
Mehmet on this topic.