[PATCH RFC 07/22] usb: dwc3: apple: Adjust vendor-specific registers during init
Sven Peter
sven at kernel.org
Sat Aug 23 02:32:23 PDT 2025
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.
Thanks,
Sven
More information about the linux-phy
mailing list