Re: [PATCH v7 3/3] usb: mtu3: add SPL support
Marek Vasut via U-Boot <[email protected]>
| Newsgroups | gmane.comp.boot-loaders.u-boot |
|---|---|
| Message-ID | <3c8bc13f-be4c-49d4-ba43-65f787d82796__13404.0760038019$1786257940$gmane$org@mailbox.org> |
On 8/8/26 3:40 PM, Carlo Caione wrote: > MediaTek platforms may need the MTU3 controller before U-Boot proper is > available, but the driver is currently selected and built only with the > main U-Boot configuration symbols. > > Add an explicit SPL controller option with host and gadget modes. Make > the driver build and its role checks phase-aware so each phase can select > the MTU3 role it needs without coupling it to the U-Boot proper controller > configuration. > > The upstream binding locates the xHCI child registers through the parent > ranges property. Select SPL_OF_TRANSLATE for host mode so SPL can resolve > that address before mapping it. > > Signed-off-by: Julien Masson <[email protected]> > Signed-off-by: Carlo Caione <[email protected]> Reviewed-by: Marek Vasut <[email protected]>