summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorCarlo Caione <[email protected]>2026-08-08 15:39:59 +0200
committerMarek Vasut <[email protected]>2026-08-09 13:26:42 +0200
commit0f8cbf3a0d6f5a83f3b3cc9792212247efd5afba (patch)
tree9b3d824e35fc07e9ec591824ce8f9a152ac1f41c /scripts
parent948c428ff7ea594bb6c90ccd7cfb4a9053339465 (diff)
usb: mtu3: support the upstream devicetree binding
The MTU3 glue driver expects a synthetic mediatek,ssusb child that combines the device and xHCI register windows. Upstream devicetrees instead put the device resources on the controller node and describe the xHCI window with a standard child node, so U-Boot cannot use an upstream topology. Switch to the upstream layout. The controller owns the shared resources and the device MAC, with the device register offsets relative to it as in Linux. The gadget role binds as a node-less internal device, while the host role binds to an enabled xHCI child and uses its own clocks, supplies and register window. dr_mode selects the role and defaults to otg, and the Kconfig choice constrains which role the build provides. The legacy child layout is rejected explicitly so its combined register window cannot be mistaken for the device MAC. Convert the in-tree MT8183 and MT8512 devicetrees in the same commit so neither platform is left without USB. MT8512 stays peripheral-only because its xHCI host interrupt is not documented and the mediatek,mtk-xhci binding requires it. Reviewed-by: Marek Vasut <[email protected]> Signed-off-by: Carlo Caione <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions