]> git.ipfire.org Git - thirdparty/u-boot.git/commit
usb: dwc3-generic: support Qualcomm flattened DT
authorCasey Connolly <casey.connolly@linaro.org>
Fri, 16 Jan 2026 17:09:44 +0000 (18:09 +0100)
committerCasey Connolly <casey.connolly@linaro.org>
Fri, 16 Jan 2026 18:02:13 +0000 (19:02 +0100)
commitcd8ee4fff82788546df06fae7bbe6d22a710737b
treeaeac19677e39f8384041225be632f6b790f557d2
parentf4886799a0afd20ab4df663247bff3c1a78a2b85
usb: dwc3-generic: support Qualcomm flattened DT

Qualcomm devicetrees are moving away from having a glue node with dwc3
as a subnode and now may just have a single flattened node.

Rockchip already have a glue_get_ctrl_dev op which returns the node for
the glue device itself, commonise this and reuse it for the new Qualcomm
node.

Lastly adjust the qscratch base address since it now requires an offset
from the dwc3 base.

Link: https://patch.msgid.link/20260116-casey-usb-role-switch-v2-1-83a1a6501a11@linaro.org
Signed-off-by: Casey Connolly <casey.connolly@linaro.org>
drivers/usb/dwc3/dwc3-generic.c