mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 06:57:57 +00:00
b142587f6e
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>
(cherry picked from commit
|
||
---|---|---|
.. | ||
082-ipq8064-dtsi-tweaks.patch | ||
083-ipq8064-dtsi-additions.patch | ||
084-ipq8064-v1.0-dtsi-cleanup.patch | ||
085-ipq8064-v1.0-dtsi-additions.patch | ||
086-ipq8064-fix-duplicate-node.patch | ||
093-drivers-cpufreq-qcom-cpufreq-nvmem-support-specific-.patch | ||
097-1-ipq806x-gcc-add-missing-clk-flag.patch | ||
097-2-ipq806x-lcc-add-missing-reset.patch | ||
097-3-clk-qcom-krait-add-missing-enable-disable.patch | ||
097-4-ipq806x-gcc-add-missing-clk-and-reset-for-crypto-eng.patch | ||
098-1-cpufreq-add-Krait-dedicated-scaling-driver.patch | ||
098-2-Documentation-cpufreq-add-qcom-krait-cpufreq-binding.patch | ||
098-3-add-fab-scaling-support-with-cpufreq.patch | ||
099-1-mtd-nand-raw-qcom_nandc-add-boot_layout_mode-support.patch | ||
099-2-Documentation-devicetree-mtd-qcom_nandc-document-qco.patch | ||
100-v5.11-dmaengine-qcom-add_ADM_driver.patch | ||
101-5.12-mtd-parsers-Add-Qcom-SMEM-parser.patch | ||
101-dwmac-ipq806x-qsgmii-pcs-all-ch-ctl.patch | ||
102-mtd-rootfs-conflicts-with-OpenWrt-auto-mounting.patch | ||
103-ARM-dts-qcom-reduce-pci-IO-size-to-64K.patch | ||
104-1-drivers-thermal-tsens-Add-VER_0-tsens-version.patch | ||
104-2-drivers-thermal-tsens-Don-t-hardcode-sensor-slope.patch | ||
104-3-drivers-thermal-tsens-Convert-msm8960-to-reg_field.patch | ||
104-4-drivers-thermal-tsens-Use-init_common-for-msm8960.patch | ||
104-5-drivers-thermal-tsens-Fix-bug-in-sensor-enable-for-m.patch | ||
104-6-drivers-thermal-tsens-Replace-custom-8960-apis-with-.patch | ||
104-7-drivers-thermal-tsens-Drop-unused-define-for-msm8960.patch | ||
104-8-drivers-thermal-tsens-Add-support-for-ipq8064-tsens.patch | ||
104-9-dt-bindings-thermal-tsens-Document-ipq8064-bindings.patch | ||
105-10-drivers-thermal-tsens-Fix-wrong-slope-on-msm-8960.patch | ||
107-1-thermal-qcom-tsens-init-debugfs-only-with-successful.patch | ||
107-2-thermal-qcom-tsens-simplify-debugfs-init-function.patch | ||
108-v5.14-net-stmmac-explicitly-deassert-gmac-ahb-reset.patch | ||
109-v5.15-arm-dts-qcom-add-ahb-reset-to-ipq806x-gmac.patch | ||
850-soc-add-qualcomm-syscon.patch | ||
900-arm-add-cmdline-override.patch | ||
0001-dtbindings-qcom_adm-Fix-channel-specifiers.patch | ||
0033-ARM-qcom-automatically-select-PCI_DOMAINS-if-PCI-is-.patch | ||
0060-HACK-arch-arm-force-ZRELADDR-on-arch-qcom.patch | ||
0065-arm-override-compiler-flags.patch | ||
0067-generic-Mangle-bootloader-s-kernel-arguments.patch | ||
0069-arm-boot-add-dts-files.patch | ||
0072-add-ipq806x-with-no-clocks.patch |