]> git.dujemihanovic.xyz Git - u-boot.git/commit
mach-snapdragon: fixup USB nodes
authorCaleb Connolly <caleb.connolly@linaro.org>
Wed, 3 Apr 2024 12:07:45 +0000 (14:07 +0200)
committerCaleb Connolly <caleb.connolly@linaro.org>
Thu, 4 Apr 2024 15:46:47 +0000 (17:46 +0200)
commit06db7f962fa3d3cfa0ec15cd3ac69c4de485127e
treeb2229e079313fa2fb4efd720df5c611c2fadfe20
parent320a3ecef7e85b8d2cdf549a292045d520a2171a
mach-snapdragon: fixup USB nodes

We don't support USB super-speed in U-Boot yet, we lack the SS PHY
drivers, however from my testing even with a PHY driver there seem to be
other issues when talking to super-speed peripherals.

In pursuit of maintaining upstream DT compatibility, and simplifying
porting for new devices, let's implement the DT fixups necessary to
configure USB in high-speed only mode at runtime. The pattern is
identical for all Qualcomm boards that use the Synaptics DWC3
controller:

* Add an additional property on the Qualcomm wrapper node
* Remove the super-speed phy phandle and phy-name entries.

Acked-by: Sumit Garg <sumit.garg@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Tested-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
arch/arm/mach-snapdragon/Makefile
arch/arm/mach-snapdragon/board.c
arch/arm/mach-snapdragon/of_fixup.c [new file with mode: 0644]
arch/arm/mach-snapdragon/qcom-priv.h [new file with mode: 0644]