mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-11-24 22:16:14 +00:00
626fa75526
Build on at leasst x86/64 failed without adding the new ksym: CONFIG_PCP_BATCH_SCALE_MAX=5 According to www.kernelconfig.io[1], this option seems to apply to all arches so I placed it in target/linux/generic/config-6.6 Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.45 Removed upstreamed: generic/backport-6.6/719-v6.11-net-phy-realtek-add-support-for-RTL8366S-Gigabit-PHY.patch[2] All other patches automatically rebased. 1. https://www.kernelconfig.io/config_pcp_batch_scale_max?q=&kernelversion=6.10.3&arch=x86 2. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.45&id=b45cbfa204b2a0985eb85dcb33d51714ee089bb9 Build system: x86/64 Build-tested: x86/64/AMD Cezanne, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3 Run-tested: x86/64/AMD Cezanne, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3 Signed-off-by: John Audia <therealgraysky@proton.me> Link: https://github.com/openwrt/openwrt/pull/16144 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
96 lines
3.2 KiB
Diff
96 lines
3.2 KiB
Diff
From 2c6597c72e9722ac020102d5af40126df0437b82 Mon Sep 17 00:00:00 2001
|
|
From: Krishna Kurapati <quic_kriskura@quicinc.com>
|
|
Date: Fri, 26 Jan 2024 00:29:18 +0530
|
|
Subject: [PATCH] arm64: dts: qcom: Fix hs_phy_irq for QUSB2 targets
|
|
|
|
On several QUSB2 Targets, the hs_phy_irq mentioned is actually
|
|
qusb2_phy interrupt specific to QUSB2 PHY's. Rename hs_phy_irq
|
|
to qusb2_phy for such targets.
|
|
|
|
In actuality, the hs_phy_irq is also present in these targets, but
|
|
kept in for debug purposes in hw test environments. This is not
|
|
triggered by default and its functionality is mutually exclusive
|
|
to that of qusb2_phy interrupt.
|
|
|
|
Add missing hs_phy_irq's, pwr_event irq's for QUSB2 PHY targets.
|
|
Add missing ss_phy_irq on some targets which allows for remote
|
|
wakeup to work on a Super Speed link.
|
|
|
|
Also modify order of interrupts in accordance to bindings update.
|
|
Since driver looks up for interrupts by name and not by index, it
|
|
is safe to modify order of these interrupts in the DT.
|
|
|
|
Signed-off-by: Krishna Kurapati <quic_kriskura@quicinc.com>
|
|
Link: https://lore.kernel.org/r/20240125185921.5062-2-quic_kriskura@quicinc.com
|
|
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
|
|
---
|
|
arch/arm64/boot/dts/qcom/ipq6018.dtsi | 13 +++++++++++++
|
|
arch/arm64/boot/dts/qcom/ipq8074.dtsi | 14 ++++++++++++++
|
|
arch/arm64/boot/dts/qcom/msm8953.dtsi | 7 +++++--
|
|
arch/arm64/boot/dts/qcom/msm8996.dtsi | 8 ++++++--
|
|
arch/arm64/boot/dts/qcom/msm8998.dtsi | 7 +++++--
|
|
arch/arm64/boot/dts/qcom/sdm630.dtsi | 17 +++++++++++++----
|
|
arch/arm64/boot/dts/qcom/sm6115.dtsi | 9 +++++++--
|
|
arch/arm64/boot/dts/qcom/sm6125.dtsi | 9 +++++++--
|
|
8 files changed, 70 insertions(+), 14 deletions(-)
|
|
|
|
--- a/arch/arm64/boot/dts/qcom/ipq6018.dtsi
|
|
+++ b/arch/arm64/boot/dts/qcom/ipq6018.dtsi
|
|
@@ -431,6 +431,12 @@
|
|
<&gcc GCC_USB1_MOCK_UTMI_CLK>;
|
|
assigned-clock-rates = <133330000>,
|
|
<24000000>;
|
|
+
|
|
+ interrupts = <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>,
|
|
+ <GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>;
|
|
+ interrupt-names = "pwr_event",
|
|
+ "qusb2_phy";
|
|
+
|
|
resets = <&gcc GCC_USB1_BCR>;
|
|
status = "disabled";
|
|
|
|
@@ -629,6 +635,13 @@
|
|
<133330000>,
|
|
<24000000>;
|
|
|
|
+ interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>,
|
|
+ <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>,
|
|
+ <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH>;
|
|
+ interrupt-names = "pwr_event",
|
|
+ "qusb2_phy",
|
|
+ "ss_phy_irq";
|
|
+
|
|
resets = <&gcc GCC_USB0_BCR>;
|
|
status = "disabled";
|
|
|
|
--- a/arch/arm64/boot/dts/qcom/ipq8074.dtsi
|
|
+++ b/arch/arm64/boot/dts/qcom/ipq8074.dtsi
|
|
@@ -632,6 +632,13 @@
|
|
<133330000>,
|
|
<19200000>;
|
|
|
|
+ interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>,
|
|
+ <GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>,
|
|
+ <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH>;
|
|
+ interrupt-names = "pwr_event",
|
|
+ "qusb2_phy",
|
|
+ "ss_phy_irq";
|
|
+
|
|
power-domains = <&gcc USB0_GDSC>;
|
|
|
|
resets = <&gcc GCC_USB0_BCR>;
|
|
@@ -675,6 +682,13 @@
|
|
<133330000>,
|
|
<19200000>;
|
|
|
|
+ interrupts = <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>,
|
|
+ <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>,
|
|
+ <GIC_SPI 225 IRQ_TYPE_LEVEL_HIGH>;
|
|
+ interrupt-names = "pwr_event",
|
|
+ "qusb2_phy",
|
|
+ "ss_phy_irq";
|
|
+
|
|
power-domains = <&gcc USB1_GDSC>;
|
|
|
|
resets = <&gcc GCC_USB1_BCR>;
|