Re: [PATCH RFC 07/22] usb: dwc3: apple: Adjust vendor-specific registers during init
From: Sven Peter
Date: Sat Aug 23 2025 - 05:32:42 EST
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