[PATCH RFC 07/22] usb: dwc3: apple: Adjust vendor-specific registers during init

Thinh Nguyen Thinh.Nguyen at synopsys.com
Thu Aug 28 15:51:46 PDT 2025


On Sat, Aug 23, 2025, Sven Peter wrote:
> Hi Thinh,
> 
> On 22.08.25 00:18, Thinh Nguyen wrote:
> > For this patch, however, I'd prefer these vendor-specific settings to be
> > in their own glue driver. I can only imagine more changes will be
> > introduced in the future with this vendor. See if we can use the new
> > glue interface in glue.h (some call this the new "flatten" model) when
> > creating a glue driver.
> 
> Nice, thanks! Hints like that are exactly what I was hoping for when
> I sent this RFC.
> 
> When I originally started working on this I tried to use the parent/child
> model but didn't really get anywhere. This flattened model looks very useful
> though.
> 
> I think I can even move some of logic from the previous commits to
> dwc3-apple.c if I extend the glue a little bit. I'll see how that works out
> and maybe do that for the next version then.
> 

That's great! I'll look forward to your updates.

Check this change for inspirations for extending the glue interface:
https://lore.kernel.org/linux-usb/20250815004207.xwv4n6xsat44bydi@synopsys.com/T/#u

Thanks,
Thinh


More information about the linux-phy mailing list