On Wed, 2026-10-28 at 15:54 +0100, 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.

Hmm, I'm unsure what do do about the !DM_USB code paths in ehci-mx6; I assume
these exist for constrained SPLs that require USB support? Having a DM-based
usbmisc_imx without DM_USB seems undesirable, but duplicating code between the
existing and the new driver would make ehci-mx6 !DM_USB support even less
maintainable.

Best,
Nora



-- 
TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany
Amtsgericht München, HRB 105018
Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider
https://www.tq-group.com/

Reply via email to