forked from openwrt/openwrt
-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
qualcommax: backport more changes for ipq6018 and ipq8074
- Mark patches as upstream - Backport more upstream changes - Handle conflicts and refresh patches Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
- Loading branch information
Showing
48 changed files
with
1,810 additions
and
126 deletions.
There are no files selected for viewing
28 changes: 28 additions & 0 deletions
28
...et/linux/qualcommax/patches-6.1/0008-v6.2-arm64-dts-qcom-ipq6018-fix-NAND-node-name.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
From 8857b0ab6a562c473c5bded0efda9390b82a84d4 Mon Sep 17 00:00:00 2001 | ||
From: Robert Marko <robimarko@gmail.com> | ||
Date: Tue, 27 Sep 2022 22:12:17 +0200 | ||
Subject: [PATCH] arm64: dts: qcom: ipq6018: fix NAND node name | ||
|
||
Per schema it should be nand-controller@79b0000 instead of nand@79b0000. | ||
Fix it to match nand-controller.yaml requirements. | ||
|
||
Signed-off-by: Robert Marko <robimarko@gmail.com> | ||
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | ||
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> | ||
Signed-off-by: Bjorn Andersson <andersson@kernel.org> | ||
Link: https://lore.kernel.org/r/20220927201218.1264506-1-robimarko@gmail.com | ||
--- | ||
arch/arm64/boot/dts/qcom/ipq6018.dtsi | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
--- a/arch/arm64/boot/dts/qcom/ipq6018.dtsi | ||
+++ b/arch/arm64/boot/dts/qcom/ipq6018.dtsi | ||
@@ -348,7 +348,7 @@ | ||
status = "disabled"; | ||
}; | ||
|
||
- qpic_nand: nand@79b0000 { | ||
+ qpic_nand: nand-controller@79b0000 { | ||
compatible = "qcom,ipq6018-nand"; | ||
reg = <0x0 0x079b0000 0x0 0x10000>; | ||
#address-cells = <1>; |
56 changes: 56 additions & 0 deletions
56
...alcommax/patches-6.1/0018-v6.2-arm64-dts-qcom-ipq6018-align-TLMM-pin-configuration-.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
From 20afb6751739264ea41993877de93923911dfdc3 Mon Sep 17 00:00:00 2001 | ||
From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | ||
Date: Thu, 6 Oct 2022 14:46:27 +0200 | ||
Subject: [PATCH] arm64: dts: qcom: ipq6018: align TLMM pin configuration with | ||
DT schema | ||
|
||
DT schema expects TLMM pin configuration nodes to be named with | ||
'-state' suffix and their optional children with '-pins' suffix. | ||
|
||
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | ||
Reviewed-by: Bjorn Andersson <andersson@kernel.org> | ||
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org> | ||
Signed-off-by: Bjorn Andersson <andersson@kernel.org> | ||
Link: https://lore.kernel.org/r/20221006124659.217540-3-krzysztof.kozlowski@linaro.org | ||
--- | ||
arch/arm64/boot/dts/qcom/ipq6018-cp01-c1.dts | 4 ++-- | ||
arch/arm64/boot/dts/qcom/ipq6018.dtsi | 4 ++-- | ||
2 files changed, 4 insertions(+), 4 deletions(-) | ||
|
||
--- a/arch/arm64/boot/dts/qcom/ipq6018-cp01-c1.dts | ||
+++ b/arch/arm64/boot/dts/qcom/ipq6018-cp01-c1.dts | ||
@@ -51,13 +51,13 @@ | ||
}; | ||
|
||
&tlmm { | ||
- i2c_1_pins: i2c-1-pins { | ||
+ i2c_1_pins: i2c-1-state { | ||
pins = "gpio42", "gpio43"; | ||
function = "blsp2_i2c"; | ||
drive-strength = <8>; | ||
}; | ||
|
||
- spi_0_pins: spi-0-pins { | ||
+ spi_0_pins: spi-0-state { | ||
pins = "gpio38", "gpio39", "gpio40", "gpio41"; | ||
function = "blsp0_spi"; | ||
drive-strength = <8>; | ||
--- a/arch/arm64/boot/dts/qcom/ipq6018.dtsi | ||
+++ b/arch/arm64/boot/dts/qcom/ipq6018.dtsi | ||
@@ -218,14 +218,14 @@ | ||
interrupt-controller; | ||
#interrupt-cells = <2>; | ||
|
||
- serial_3_pins: serial3-pinmux { | ||
+ serial_3_pins: serial3-state { | ||
pins = "gpio44", "gpio45"; | ||
function = "blsp2_uart"; | ||
drive-strength = <8>; | ||
bias-pull-down; | ||
}; | ||
|
||
- qpic_pins: qpic-pins { | ||
+ qpic_pins: qpic-state { | ||
pins = "gpio1", "gpio3", "gpio4", | ||
"gpio5", "gpio6", "gpio7", | ||
"gpio8", "gpio10", "gpio11", |
26 changes: 26 additions & 0 deletions
26
.../qualcommax/patches-6.1/0022-v6.4-arm64-dts-qcom-ipq8074-add-compatible-fallback-to.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
From d93bd4630ce163f3761aedc0b342b072bee6db6b Mon Sep 17 00:00:00 2001 | ||
From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | ||
Date: Wed, 22 Mar 2023 18:41:40 +0100 | ||
Subject: [PATCH] arm64: dts: qcom: ipq8074: add compatible fallback to mailbox | ||
|
||
IPQ8074 mailbox is compatible with IPQ6018. | ||
|
||
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | ||
Signed-off-by: Bjorn Andersson <andersson@kernel.org> | ||
Link: https://lore.kernel.org/r/20230322174148.810938-4-krzysztof.kozlowski@linaro.org | ||
--- | ||
arch/arm64/boot/dts/qcom/ipq8074.dtsi | 3 ++- | ||
1 file changed, 2 insertions(+), 1 deletion(-) | ||
|
||
--- a/arch/arm64/boot/dts/qcom/ipq8074.dtsi | ||
+++ b/arch/arm64/boot/dts/qcom/ipq8074.dtsi | ||
@@ -682,7 +682,8 @@ | ||
}; | ||
|
||
apcs_glb: mailbox@b111000 { | ||
- compatible = "qcom,ipq8074-apcs-apps-global"; | ||
+ compatible = "qcom,ipq8074-apcs-apps-global", | ||
+ "qcom,ipq6018-apcs-apps-global"; | ||
reg = <0x0b111000 0x1000>; | ||
clocks = <&a53pll>, <&xo>; | ||
clock-names = "pll", "xo"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.