openwrt/target/linux/ipq806x
Rodrigo Balerdi 284f2c2ae0 ipq806x: fix USB bug in 5.10 dtsi additions
The existing device tree has incorrect definitions for usb3_0 and usb3_1
and the blocks they depend upon: their addresses and interrupts are
swapped. However, their clocks and resets are not. The result is that
the USB blocks are non-functional if only one of them is enabled.

This fix backports the definitions from mainline Linux 5.15 to
OpenWrt's 5.10 dtsi additions. See the relevant mainline code here:
https://github.com/torvalds/linux/blob/v5.17/arch/arm/boot/dts/qcom-ipq8064.dtsi#L1062-L1148

This fix does not break existing ports. But some ports may have enabled
both USB blocks even thought their board only implements one, because
enabling a single USB block would not have worked before this fix.
This means that revisiting all ports of ipq806x devices that implement
a single USB port is advised. This work must be done by maintainers that
can determine which USB block corresponds to the implemented port on
their hardware.

Note that this fix swaps the names of the hardware ports. This is
unfortunate, but will happen anyway when switching to kernel 5.15. Thus,
it is best to do this ASAP, before users get to depend on port names.

It is strongly recommended that this fix is backported to 22.03 before
its release. This will minimize the number of users affected by the port
name swap.

Signed-off-by: Rodrigo Balerdi <lanchon@gmail.com>
2022-04-16 11:22:54 +02:00
..
base-files ipq806x: base-files: asrock: fix bootcount include 2022-02-28 15:17:11 +01:00
files/arch/arm/boot/dts ipq806x: remove non-working fixes for USB bug in 5.10 dtsi additions 2022-04-16 11:22:54 +02:00
generic ipqx0xx: add Generic subtarget 2019-08-22 21:15:28 +02:00
image ipq806x: provide ramoops for R7800/XR500 by default 2022-03-08 18:33:42 +01:00
patches-5.10 ipq806x: fix USB bug in 5.10 dtsi additions 2022-04-16 11:22:54 +02:00
patches-5.15 kernel: bump 5.15 to 5.15.33 2022-04-09 19:31:46 +02:00
config-5.10 kernel: 5.10: allocate last level PTEs in high memory 2022-03-01 22:57:34 +00:00
config-5.15 kernel: move some symbols to generic config 2022-04-09 19:31:46 +02:00
Makefile ipq806x: 5:15: add testing kernel version 2022-03-27 16:16:07 +01:00
modules.mk kernel: usb: move phy-qcom-ipq806x-usb to ipq806x modules.mk 2020-08-13 02:12:12 +02:00