rewrite all patches
This commit is contained in:
parent
ee06d8cdd7
commit
881e231ba5
@ -1,8 +1,7 @@
|
||||
From 67e4b0dfcc6702a31fbb6a3015c0dc867e295eb4 Mon Sep 17 00:00:00 2001
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Chen-Yu Tsai <wens@kernel.org>
|
||||
Date: Mon, 27 Oct 2025 20:56:43 +0800
|
||||
Subject: [PATCH] ASoC: dt-bindings: allwinner,sun4i-a10-i2s: Add compatible
|
||||
for A523
|
||||
Subject: ASoC: dt-bindings: allwinner,sun4i-a10-i2s: Add compatible for A523
|
||||
|
||||
As far as the author can tell, based on their respective manuals,
|
||||
the I2S interface controllers found in the Allwinner A523 SoC is the
|
||||
@ -16,11 +15,11 @@ Signed-off-by: Chen-Yu Tsai <wens@kernel.org>
|
||||
Link: https://patch.msgid.link/20251027125655.793277-3-wens@kernel.org
|
||||
Signed-off-by: Mark Brown <broonie@kernel.org>
|
||||
---
|
||||
.../devicetree/bindings/sound/allwinner,sun4i-a10-i2s.yaml | 4 +++-
|
||||
Documentation/devicetree/bindings/sound/allwinner,sun4i-a10-i2s.yaml | 4 +++-
|
||||
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Documentation/devicetree/bindings/sound/allwinner,sun4i-a10-i2s.yaml b/Documentation/devicetree/bindings/sound/allwinner,sun4i-a10-i2s.yaml
|
||||
index 739114fb6549..ae86cb5f0a74 100644
|
||||
index 111111111111..222222222222 100644
|
||||
--- a/Documentation/devicetree/bindings/sound/allwinner,sun4i-a10-i2s.yaml
|
||||
+++ b/Documentation/devicetree/bindings/sound/allwinner,sun4i-a10-i2s.yaml
|
||||
@@ -33,7 +33,9 @@ properties:
|
||||
@ -35,5 +34,5 @@ index 739114fb6549..ae86cb5f0a74 100644
|
||||
|
||||
reg:
|
||||
--
|
||||
2.43.0
|
||||
Armbian
|
||||
|
||||
|
||||
@ -1,8 +1,7 @@
|
||||
From 6ddcd78aa7f85e1d94ab7f90c72d1ad0c0c7b6ea Mon Sep 17 00:00:00 2001
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Chen-Yu Tsai <wens@kernel.org>
|
||||
Date: Mon, 27 Oct 2025 20:56:44 +0800
|
||||
Subject: [PATCH] ASoC: dt-bindings: allwinner,sun4i-a10-spdif: Add compatible
|
||||
for A523
|
||||
Subject: ASoC: dt-bindings: allwinner,sun4i-a10-spdif: Add compatible for A523
|
||||
|
||||
The SPDIF hardware block in the A523 SoC has the same layout as the
|
||||
H616 for the transmitter side. However unlike previous generations,
|
||||
@ -18,11 +17,11 @@ Signed-off-by: Chen-Yu Tsai <wens@kernel.org>
|
||||
Link: https://patch.msgid.link/20251027125655.793277-4-wens@kernel.org
|
||||
Signed-off-by: Mark Brown <broonie@kernel.org>
|
||||
---
|
||||
.../sound/allwinner,sun4i-a10-spdif.yaml | 44 ++++++++++++++++---
|
||||
Documentation/devicetree/bindings/sound/allwinner,sun4i-a10-spdif.yaml | 44 ++++++++--
|
||||
1 file changed, 38 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/Documentation/devicetree/bindings/sound/allwinner,sun4i-a10-spdif.yaml b/Documentation/devicetree/bindings/sound/allwinner,sun4i-a10-spdif.yaml
|
||||
index aa32dc950e72..1d089ba70f45 100644
|
||||
index 111111111111..222222222222 100644
|
||||
--- a/Documentation/devicetree/bindings/sound/allwinner,sun4i-a10-spdif.yaml
|
||||
+++ b/Documentation/devicetree/bindings/sound/allwinner,sun4i-a10-spdif.yaml
|
||||
@@ -23,6 +23,7 @@ properties:
|
||||
@ -100,5 +99,5 @@ index aa32dc950e72..1d089ba70f45 100644
|
||||
- "#sound-dai-cells"
|
||||
- compatible
|
||||
--
|
||||
2.43.0
|
||||
Armbian
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
From 4a5ac6cd05a7e54f1585d7779464d6ed6272c134 Mon Sep 17 00:00:00 2001
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Chen-Yu Tsai <wens@kernel.org>
|
||||
Date: Mon, 27 Oct 2025 20:56:45 +0800
|
||||
Subject: [PATCH] ASoC: sun4i-spdif: Support SPDIF output on A523 family
|
||||
Subject: ASoC: sun4i-spdif: Support SPDIF output on A523 family
|
||||
|
||||
The TX side of the SPDIF block on the A523 is almost the same the
|
||||
previous generations, the only difference being that it has separate
|
||||
@ -16,11 +16,11 @@ Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
|
||||
Link: https://patch.msgid.link/20251027125655.793277-5-wens@kernel.org
|
||||
Signed-off-by: Mark Brown <broonie@kernel.org>
|
||||
---
|
||||
sound/soc/sunxi/sun4i-spdif.c | 26 ++++++++++++++++++++++++--
|
||||
sound/soc/sunxi/sun4i-spdif.c | 26 +++++++++-
|
||||
1 file changed, 24 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/sound/soc/sunxi/sun4i-spdif.c b/sound/soc/sunxi/sun4i-spdif.c
|
||||
index 34e5bd94e9af..2e7ac8ab71bb 100644
|
||||
index 111111111111..222222222222 100644
|
||||
--- a/sound/soc/sunxi/sun4i-spdif.c
|
||||
+++ b/sound/soc/sunxi/sun4i-spdif.c
|
||||
@@ -177,6 +177,7 @@ struct sun4i_spdif_quirks {
|
||||
@ -86,5 +86,5 @@ index 34e5bd94e9af..2e7ac8ab71bb 100644
|
||||
}
|
||||
|
||||
--
|
||||
2.43.0
|
||||
Armbian
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
From 55d43ef77712e3b7fd4c3db5715be1f405afe31e Mon Sep 17 00:00:00 2001
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Chen-Yu Tsai <wens@kernel.org>
|
||||
Date: Mon, 27 Oct 2025 20:56:46 +0800
|
||||
Subject: [PATCH] arm64: dts: allwinner: a523: Add DMA controller device nodes
|
||||
Subject: arm64: dts: allwinner: a523: Add DMA controller device nodes
|
||||
|
||||
The A523 has two DMA controllers. Add device nodes for both. Also hook
|
||||
up DMA for existing devices.
|
||||
@ -10,14 +10,14 @@ Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
|
||||
Link: https://patch.msgid.link/20251027125655.793277-6-wens@kernel.org
|
||||
Signed-off-by: Chen-Yu Tsai <wens@kernel.org>
|
||||
---
|
||||
.../arm64/boot/dts/allwinner/sun55i-a523.dtsi | 56 +++++++++++++++++++
|
||||
arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi | 56 ++++++++++
|
||||
1 file changed, 56 insertions(+)
|
||||
|
||||
diff --git a/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi b/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi
|
||||
index a9e051a8bea3..8edbd3873199 100644
|
||||
index 111111111111..222222222222 100644
|
||||
--- a/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi
|
||||
+++ b/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi
|
||||
@@ -241,6 +241,8 @@ uart0: serial@2500000 {
|
||||
@@ -231,6 +231,8 @@ uart0: serial@2500000 {
|
||||
reg-io-width = <4>;
|
||||
clocks = <&ccu CLK_BUS_UART0>;
|
||||
resets = <&ccu RST_BUS_UART0>;
|
||||
@ -26,7 +26,7 @@ index a9e051a8bea3..8edbd3873199 100644
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@@ -252,6 +254,8 @@ uart1: serial@2500400 {
|
||||
@@ -242,6 +244,8 @@ uart1: serial@2500400 {
|
||||
reg-io-width = <4>;
|
||||
clocks = <&ccu CLK_BUS_UART1>;
|
||||
resets = <&ccu RST_BUS_UART1>;
|
||||
@ -35,7 +35,7 @@ index a9e051a8bea3..8edbd3873199 100644
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@@ -263,6 +267,8 @@ uart2: serial@2500800 {
|
||||
@@ -253,6 +257,8 @@ uart2: serial@2500800 {
|
||||
reg-io-width = <4>;
|
||||
clocks = <&ccu CLK_BUS_UART2>;
|
||||
resets = <&ccu RST_BUS_UART2>;
|
||||
@ -44,7 +44,7 @@ index a9e051a8bea3..8edbd3873199 100644
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@@ -274,6 +280,8 @@ uart3: serial@2500c00 {
|
||||
@@ -264,6 +270,8 @@ uart3: serial@2500c00 {
|
||||
reg-io-width = <4>;
|
||||
clocks = <&ccu CLK_BUS_UART3>;
|
||||
resets = <&ccu RST_BUS_UART3>;
|
||||
@ -53,7 +53,7 @@ index a9e051a8bea3..8edbd3873199 100644
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@@ -285,6 +293,8 @@ uart4: serial@2501000 {
|
||||
@@ -275,6 +283,8 @@ uart4: serial@2501000 {
|
||||
reg-io-width = <4>;
|
||||
clocks = <&ccu CLK_BUS_UART4>;
|
||||
resets = <&ccu RST_BUS_UART4>;
|
||||
@ -62,7 +62,7 @@ index a9e051a8bea3..8edbd3873199 100644
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@@ -296,6 +306,8 @@ uart5: serial@2501400 {
|
||||
@@ -286,6 +296,8 @@ uart5: serial@2501400 {
|
||||
reg-io-width = <4>;
|
||||
clocks = <&ccu CLK_BUS_UART5>;
|
||||
resets = <&ccu RST_BUS_UART5>;
|
||||
@ -71,7 +71,7 @@ index a9e051a8bea3..8edbd3873199 100644
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@@ -307,6 +319,8 @@ uart6: serial@2501800 {
|
||||
@@ -297,6 +309,8 @@ uart6: serial@2501800 {
|
||||
reg-io-width = <4>;
|
||||
clocks = <&ccu CLK_BUS_UART6>;
|
||||
resets = <&ccu RST_BUS_UART6>;
|
||||
@ -80,7 +80,7 @@ index a9e051a8bea3..8edbd3873199 100644
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@@ -318,6 +332,8 @@ uart7: serial@2501c00 {
|
||||
@@ -308,6 +322,8 @@ uart7: serial@2501c00 {
|
||||
reg-io-width = <4>;
|
||||
clocks = <&ccu CLK_BUS_UART7>;
|
||||
resets = <&ccu RST_BUS_UART7>;
|
||||
@ -89,7 +89,7 @@ index a9e051a8bea3..8edbd3873199 100644
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@@ -329,6 +345,8 @@ i2c0: i2c@2502000 {
|
||||
@@ -319,6 +335,8 @@ i2c0: i2c@2502000 {
|
||||
interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&ccu CLK_BUS_I2C0>;
|
||||
resets = <&ccu RST_BUS_I2C0>;
|
||||
@ -98,7 +98,7 @@ index a9e051a8bea3..8edbd3873199 100644
|
||||
status = "disabled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
@@ -342,6 +360,8 @@ i2c1: i2c@2502400 {
|
||||
@@ -332,6 +350,8 @@ i2c1: i2c@2502400 {
|
||||
interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&ccu CLK_BUS_I2C1>;
|
||||
resets = <&ccu RST_BUS_I2C1>;
|
||||
@ -107,7 +107,7 @@ index a9e051a8bea3..8edbd3873199 100644
|
||||
status = "disabled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
@@ -355,6 +375,8 @@ i2c2: i2c@2502800 {
|
||||
@@ -345,6 +365,8 @@ i2c2: i2c@2502800 {
|
||||
interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&ccu CLK_BUS_I2C2>;
|
||||
resets = <&ccu RST_BUS_I2C2>;
|
||||
@ -116,7 +116,7 @@ index a9e051a8bea3..8edbd3873199 100644
|
||||
status = "disabled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
@@ -368,6 +390,8 @@ i2c3: i2c@2502c00 {
|
||||
@@ -358,6 +380,8 @@ i2c3: i2c@2502c00 {
|
||||
interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&ccu CLK_BUS_I2C3>;
|
||||
resets = <&ccu RST_BUS_I2C3>;
|
||||
@ -125,7 +125,7 @@ index a9e051a8bea3..8edbd3873199 100644
|
||||
status = "disabled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
@@ -381,6 +405,8 @@ i2c4: i2c@2503000 {
|
||||
@@ -371,6 +395,8 @@ i2c4: i2c@2503000 {
|
||||
interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&ccu CLK_BUS_I2C4>;
|
||||
resets = <&ccu RST_BUS_I2C4>;
|
||||
@ -134,7 +134,7 @@ index a9e051a8bea3..8edbd3873199 100644
|
||||
status = "disabled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
@@ -394,6 +420,8 @@ i2c5: i2c@2503400 {
|
||||
@@ -384,6 +410,8 @@ i2c5: i2c@2503400 {
|
||||
interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&ccu CLK_BUS_I2C5>;
|
||||
resets = <&ccu RST_BUS_I2C5>;
|
||||
@ -143,7 +143,7 @@ index a9e051a8bea3..8edbd3873199 100644
|
||||
status = "disabled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
@@ -408,6 +436,19 @@ syscon: syscon@3000000 {
|
||||
@@ -398,6 +426,19 @@ syscon: syscon@3000000 {
|
||||
ranges;
|
||||
};
|
||||
|
||||
@ -163,7 +163,7 @@ index a9e051a8bea3..8edbd3873199 100644
|
||||
sid: efuse@3006000 {
|
||||
compatible = "allwinner,sun55i-a523-sid",
|
||||
"allwinner,sun50i-a64-sid";
|
||||
@@ -729,6 +770,8 @@ r_i2c0: i2c@7081400 {
|
||||
@@ -674,6 +715,8 @@ r_i2c0: i2c@7081400 {
|
||||
reg = <0x07081400 0x400>;
|
||||
interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&r_ccu CLK_BUS_R_I2C0>;
|
||||
@ -172,7 +172,7 @@ index a9e051a8bea3..8edbd3873199 100644
|
||||
resets = <&r_ccu RST_BUS_R_I2C0>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&r_i2c_pins>;
|
||||
@@ -775,6 +818,19 @@ mcu_ccu: clock-controller@7102000 {
|
||||
@@ -720,6 +763,19 @@ mcu_ccu: clock-controller@7102000 {
|
||||
#reset-cells = <1>;
|
||||
};
|
||||
|
||||
@ -193,5 +193,5 @@ index a9e051a8bea3..8edbd3873199 100644
|
||||
compatible = "vivante,gc";
|
||||
reg = <0x07122000 0x1000>;
|
||||
--
|
||||
2.43.0
|
||||
Armbian
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
From 460a71b5642a60574809032f0a21afff0f942474 Mon Sep 17 00:00:00 2001
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Chen-Yu Tsai <wens@csie.org>
|
||||
Date: Tue, 23 Sep 2025 22:02:43 +0800
|
||||
Subject: [PATCH] arm64: dts: allwinner: a523: Add GMAC200 ethernet controller
|
||||
Subject: arm64: dts: allwinner: a523: Add GMAC200 ethernet controller
|
||||
|
||||
The A523 SoC family has a second ethernet controller, called the
|
||||
GMAC200. It is not exposed on all the SoCs in the family.
|
||||
@ -13,11 +13,11 @@ Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
|
||||
Link: https://patch.msgid.link/20250923140247.2622602-4-wens@kernel.org
|
||||
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
|
||||
---
|
||||
.../arm64/boot/dts/allwinner/sun55i-a523.dtsi | 55 +++++++++++++++++++
|
||||
arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi | 55 ++++++++++
|
||||
1 file changed, 55 insertions(+)
|
||||
|
||||
diff --git a/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi b/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi
|
||||
index 7b36c47a3a13..a9e051a8bea3 100644
|
||||
index 111111111111..222222222222 100644
|
||||
--- a/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi
|
||||
+++ b/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi
|
||||
@@ -182,6 +182,16 @@ rgmii0_pins: rgmii0-pins {
|
||||
@ -37,7 +37,7 @@ index 7b36c47a3a13..a9e051a8bea3 100644
|
||||
uart0_pb_pins: uart0-pb-pins {
|
||||
pins = "PB9", "PB10";
|
||||
allwinner,pinmux = <2>;
|
||||
@@ -603,6 +613,51 @@ mdio0: mdio {
|
||||
@@ -644,6 +654,51 @@ mdio0: mdio {
|
||||
};
|
||||
};
|
||||
|
||||
@ -90,5 +90,5 @@ index 7b36c47a3a13..a9e051a8bea3 100644
|
||||
compatible = "allwinner,sun55i-a523-ppu";
|
||||
reg = <0x07001400 0x400>;
|
||||
--
|
||||
2.43.0
|
||||
Armbian
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
From a9050236f81c43fc2eaa2e13098c7fb53c3aba34 Mon Sep 17 00:00:00 2001
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Chen-Yu Tsai <wens@kernel.org>
|
||||
Date: Mon, 27 Oct 2025 20:56:49 +0800
|
||||
Subject: [PATCH] arm64: dts: allwinner: a523: Add I2S2 pins on PI pin group
|
||||
Subject: arm64: dts: allwinner: a523: Add I2S2 pins on PI pin group
|
||||
|
||||
The Radxa Cubie A5E exposes I2S2 through the PI pin group on the 40-pin
|
||||
GPIO header.
|
||||
@ -17,7 +17,7 @@ Signed-off-by: Chen-Yu Tsai <wens@kernel.org>
|
||||
1 file changed, 8 insertions(+)
|
||||
|
||||
diff --git a/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi b/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi
|
||||
index eea9ce83783c..cebd8e16e845 100644
|
||||
index 111111111111..222222222222 100644
|
||||
--- a/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi
|
||||
+++ b/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi
|
||||
@@ -145,6 +145,14 @@ pio: pinctrl@2000000 {
|
||||
@ -36,5 +36,5 @@ index eea9ce83783c..cebd8e16e845 100644
|
||||
pins = "PF0" ,"PF1", "PF2", "PF3", "PF4", "PF5";
|
||||
allwinner,pinmux = <2>;
|
||||
--
|
||||
2.43.0
|
||||
Armbian
|
||||
|
||||
|
||||
@ -1,8 +1,7 @@
|
||||
From ae0d3f1e6dd2c6404db2fbd7556b93eddd6c87b8 Mon Sep 17 00:00:00 2001
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Chen-Yu Tsai <wens@kernel.org>
|
||||
Date: Mon, 27 Oct 2025 20:56:50 +0800
|
||||
Subject: [PATCH] arm64: dts: allwinner: a523: Add SPDIF TX pin on PB and PI
|
||||
pins
|
||||
Subject: arm64: dts: allwinner: a523: Add SPDIF TX pin on PB and PI pins
|
||||
|
||||
The SPDIF TX (called OWA OUT in the datasheet) is available on three
|
||||
pins. Of those, the PH pin is unlikely to be used since it conflicts
|
||||
@ -22,11 +21,11 @@ Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
|
||||
Link: https://patch.msgid.link/20251027125655.793277-10-wens@kernel.org
|
||||
Signed-off-by: Chen-Yu Tsai <wens@kernel.org>
|
||||
---
|
||||
arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi | 14 ++++++++++++++
|
||||
arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi | 14 ++++++++++
|
||||
1 file changed, 14 insertions(+)
|
||||
|
||||
diff --git a/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi b/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi
|
||||
index cebd8e16e845..42dab01e3f56 100644
|
||||
index 111111111111..222222222222 100644
|
||||
--- a/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi
|
||||
+++ b/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi
|
||||
@@ -200,6 +200,20 @@ rgmii1_pins: rgmii1-pins {
|
||||
@ -51,5 +50,5 @@ index cebd8e16e845..42dab01e3f56 100644
|
||||
pins = "PB9", "PB10";
|
||||
allwinner,pinmux = <2>;
|
||||
--
|
||||
2.43.0
|
||||
Armbian
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
From e51b773798ea1dece229b44854256ec38d35cc41 Mon Sep 17 00:00:00 2001
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Chen-Yu Tsai <wens@kernel.org>
|
||||
Date: Mon, 27 Oct 2025 20:56:47 +0800
|
||||
Subject: [PATCH] arm64: dts: allwinner: a523: Add device node for SPDIF block
|
||||
Subject: arm64: dts: allwinner: a523: Add device node for SPDIF block
|
||||
|
||||
The A523 has a SPDIF interface that is capable of both playback and
|
||||
capture.
|
||||
@ -12,14 +12,14 @@ Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
|
||||
Link: https://patch.msgid.link/20251027125655.793277-7-wens@kernel.org
|
||||
Signed-off-by: Chen-Yu Tsai <wens@kernel.org>
|
||||
---
|
||||
arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi | 15 +++++++++++++++
|
||||
arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi | 15 ++++++++++
|
||||
1 file changed, 15 insertions(+)
|
||||
|
||||
diff --git a/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi b/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi
|
||||
index 8edbd3873199..33f991dbd00b 100644
|
||||
index 111111111111..222222222222 100644
|
||||
--- a/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi
|
||||
+++ b/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi
|
||||
@@ -818,6 +818,21 @@ mcu_ccu: clock-controller@7102000 {
|
||||
@@ -840,6 +840,21 @@ mcu_ccu: clock-controller@7102000 {
|
||||
#reset-cells = <1>;
|
||||
};
|
||||
|
||||
@ -42,5 +42,5 @@ index 8edbd3873199..33f991dbd00b 100644
|
||||
compatible = "allwinner,sun55i-a523-mcu-dma",
|
||||
"allwinner,sun50i-a100-dma";
|
||||
--
|
||||
2.43.0
|
||||
Armbian
|
||||
|
||||
|
||||
@ -1,8 +1,7 @@
|
||||
From 1fe1e9b67166e304e8c3e46bdd1104519d6d1bd7 Mon Sep 17 00:00:00 2001
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Chen-Yu Tsai <wens@kernel.org>
|
||||
Date: Mon, 27 Oct 2025 20:56:48 +0800
|
||||
Subject: [PATCH] arm64: dts: allwinner: a523: Add device nodes for I2S
|
||||
controllers
|
||||
Subject: arm64: dts: allwinner: a523: Add device nodes for I2S controllers
|
||||
|
||||
The A523 family of SoCs have four I2S controllers capable of both
|
||||
playback and capture. The user manual also implies that I2S2 also
|
||||
@ -14,14 +13,14 @@ Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
|
||||
Link: https://patch.msgid.link/20251027125655.793277-8-wens@kernel.org
|
||||
Signed-off-by: Chen-Yu Tsai <wens@kernel.org>
|
||||
---
|
||||
.../arm64/boot/dts/allwinner/sun55i-a523.dtsi | 56 +++++++++++++++++++
|
||||
arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi | 56 ++++++++++
|
||||
1 file changed, 56 insertions(+)
|
||||
|
||||
diff --git a/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi b/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi
|
||||
index 33f991dbd00b..eea9ce83783c 100644
|
||||
index 111111111111..222222222222 100644
|
||||
--- a/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi
|
||||
+++ b/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi
|
||||
@@ -818,6 +818,62 @@ mcu_ccu: clock-controller@7102000 {
|
||||
@@ -840,6 +840,62 @@ mcu_ccu: clock-controller@7102000 {
|
||||
#reset-cells = <1>;
|
||||
};
|
||||
|
||||
@ -85,5 +84,5 @@ index 33f991dbd00b..eea9ce83783c 100644
|
||||
compatible = "allwinner,sun55i-a523-spdif";
|
||||
reg = <0x07116000 0x400>;
|
||||
--
|
||||
2.43.0
|
||||
Armbian
|
||||
|
||||
|
||||
@ -1,8 +1,7 @@
|
||||
From 7076938d20d22d5f75641f417f11edeee192e3cf Mon Sep 17 00:00:00 2001
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Chen-Yu Tsai <wens@csie.org>
|
||||
Date: Tue, 23 Sep 2025 22:02:44 +0800
|
||||
Subject: [PATCH] arm64: dts: allwinner: a527: cubie-a5e: Enable second
|
||||
Ethernet port
|
||||
Subject: arm64: dts: allwinner: a527: cubie-a5e: Enable second Ethernet port
|
||||
|
||||
On the Radxa Cubie A5E board, the second Ethernet controller, aka the
|
||||
GMAC200, is connected to a second external Maxio MAE0621A PHY. The PHY
|
||||
@ -19,11 +18,11 @@ Reviewed-by: Andrew Lunn <andrew@lunn.ch>
|
||||
Link: https://patch.msgid.link/20250923140247.2622602-5-wens@kernel.org
|
||||
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
|
||||
---
|
||||
.../dts/allwinner/sun55i-a527-cubie-a5e.dts | 28 +++++++++++++++++--
|
||||
arch/arm64/boot/dts/allwinner/sun55i-a527-cubie-a5e.dts | 28 +++++++++-
|
||||
1 file changed, 26 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/arch/arm64/boot/dts/allwinner/sun55i-a527-cubie-a5e.dts b/arch/arm64/boot/dts/allwinner/sun55i-a527-cubie-a5e.dts
|
||||
index f82a8d121697..bfdf1728cd14 100644
|
||||
index 111111111111..222222222222 100644
|
||||
--- a/arch/arm64/boot/dts/allwinner/sun55i-a527-cubie-a5e.dts
|
||||
+++ b/arch/arm64/boot/dts/allwinner/sun55i-a527-cubie-a5e.dts
|
||||
@@ -14,6 +14,7 @@ / {
|
||||
@ -96,5 +95,5 @@ index f82a8d121697..bfdf1728cd14 100644
|
||||
|
||||
reg_cpusldo: cpusldo {
|
||||
--
|
||||
2.43.0
|
||||
Armbian
|
||||
|
||||
|
||||
@ -1,8 +1,7 @@
|
||||
From 2e5d147ba90e887271297f69721d2d88122c7c4f Mon Sep 17 00:00:00 2001
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Chen-Yu Tsai <wens@csie.org>
|
||||
Date: Tue, 23 Sep 2025 22:02:45 +0800
|
||||
Subject: [PATCH] arm64: dts: allwinner: t527: avaota-a1: enable second
|
||||
Ethernet port
|
||||
Subject: arm64: dts: allwinner: t527: avaota-a1: enable second Ethernet port
|
||||
|
||||
On the Avaota A1 board, the second Ethernet controller, aka the GMAC200,
|
||||
is connected to a second external RTL8211F-CG PHY. The PHY uses an
|
||||
@ -17,11 +16,11 @@ Reviewed-by: Andrew Lunn <andrew@lunn.ch>
|
||||
Link: https://patch.msgid.link/20250923140247.2622602-6-wens@kernel.org
|
||||
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
|
||||
---
|
||||
.../dts/allwinner/sun55i-t527-avaota-a1.dts | 26 +++++++++++++++++--
|
||||
arch/arm64/boot/dts/allwinner/sun55i-t527-avaota-a1.dts | 26 +++++++++-
|
||||
1 file changed, 24 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/arch/arm64/boot/dts/allwinner/sun55i-t527-avaota-a1.dts b/arch/arm64/boot/dts/allwinner/sun55i-t527-avaota-a1.dts
|
||||
index 1b054fa8ef74..054d0357c139 100644
|
||||
index 111111111111..222222222222 100644
|
||||
--- a/arch/arm64/boot/dts/allwinner/sun55i-t527-avaota-a1.dts
|
||||
+++ b/arch/arm64/boot/dts/allwinner/sun55i-t527-avaota-a1.dts
|
||||
@@ -13,6 +13,7 @@ / {
|
||||
@ -85,5 +84,5 @@ index 1b054fa8ef74..054d0357c139 100644
|
||||
vmmc-supply = <®_cldo3>;
|
||||
cd-gpios = <&pio 5 6 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; /* PF6 */
|
||||
--
|
||||
2.43.0
|
||||
Armbian
|
||||
|
||||
|
||||
@ -1,8 +1,7 @@
|
||||
From a3606e8a7819534026b46e2b8c7b0e156e292f13 Mon Sep 17 00:00:00 2001
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Chen-Yu Tsai <wens@csie.org>
|
||||
Date: Tue, 23 Sep 2025 22:02:46 +0800
|
||||
Subject: [PATCH] arm64: dts: allwinner: t527: orangepi-4a: Enable Ethernet
|
||||
port
|
||||
Subject: arm64: dts: allwinner: t527: orangepi-4a: Enable Ethernet port
|
||||
|
||||
On the Orangepi 4A board, the second Ethernet controller, aka the GMAC200,
|
||||
is connected to an external Motorcomm YT8531 PHY. The PHY uses an external
|
||||
@ -16,11 +15,11 @@ Reviewed-by: Andrew Lunn <andrew@lunn.ch>
|
||||
Link: https://patch.msgid.link/20250923140247.2622602-7-wens@kernel.org
|
||||
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
|
||||
---
|
||||
.../dts/allwinner/sun55i-t527-orangepi-4a.dts | 23 +++++++++++++++++++
|
||||
arch/arm64/boot/dts/allwinner/sun55i-t527-orangepi-4a.dts | 23 ++++++++++
|
||||
1 file changed, 23 insertions(+)
|
||||
|
||||
diff --git a/arch/arm64/boot/dts/allwinner/sun55i-t527-orangepi-4a.dts b/arch/arm64/boot/dts/allwinner/sun55i-t527-orangepi-4a.dts
|
||||
index 39a4e194712a..9e6b21cf293e 100644
|
||||
index 111111111111..222222222222 100644
|
||||
--- a/arch/arm64/boot/dts/allwinner/sun55i-t527-orangepi-4a.dts
|
||||
+++ b/arch/arm64/boot/dts/allwinner/sun55i-t527-orangepi-4a.dts
|
||||
@@ -15,6 +15,7 @@ / {
|
||||
@ -66,5 +65,5 @@ index 39a4e194712a..9e6b21cf293e 100644
|
||||
vmmc-supply = <®_cldo3>;
|
||||
cd-gpios = <&pio 5 6 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; /* PF6 */
|
||||
--
|
||||
2.43.0
|
||||
Armbian
|
||||
|
||||
|
||||
@ -1,8 +1,7 @@
|
||||
From 697fbb43aba6dae48cbe5e1fa0d3023a0b12ab73 Mon Sep 17 00:00:00 2001
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Chen-Yu Tsai <wens@kernel.org>
|
||||
Date: Mon, 27 Oct 2025 20:56:42 +0800
|
||||
Subject: [PATCH] dt-bindings: dma: allwinner,sun50i-a64-dma: Add compatibles
|
||||
for A523
|
||||
Subject: dt-bindings: dma: allwinner,sun50i-a64-dma: Add compatibles for A523
|
||||
|
||||
There are two DMA controllers on the A523, one in the main system area
|
||||
and the other for the MCU. These are the same as the one found on the
|
||||
@ -16,11 +15,11 @@ Acked-by: Conor Dooley <conor.dooley@microchip.com>
|
||||
Link: https://patch.msgid.link/20251027125655.793277-2-wens@kernel.org
|
||||
Signed-off-by: Chen-Yu Tsai <wens@kernel.org>
|
||||
---
|
||||
.../devicetree/bindings/dma/allwinner,sun50i-a64-dma.yaml | 5 ++++-
|
||||
Documentation/devicetree/bindings/dma/allwinner,sun50i-a64-dma.yaml | 5 ++++-
|
||||
1 file changed, 4 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Documentation/devicetree/bindings/dma/allwinner,sun50i-a64-dma.yaml b/Documentation/devicetree/bindings/dma/allwinner,sun50i-a64-dma.yaml
|
||||
index 0f2501f72cca..c3e14eb6cfff 100644
|
||||
index 111111111111..222222222222 100644
|
||||
--- a/Documentation/devicetree/bindings/dma/allwinner,sun50i-a64-dma.yaml
|
||||
+++ b/Documentation/devicetree/bindings/dma/allwinner,sun50i-a64-dma.yaml
|
||||
@@ -29,7 +29,10 @@ properties:
|
||||
@ -36,5 +35,5 @@ index 0f2501f72cca..c3e14eb6cfff 100644
|
||||
|
||||
reg:
|
||||
--
|
||||
2.43.0
|
||||
Armbian
|
||||
|
||||
|
||||
@ -1,8 +1,7 @@
|
||||
From 72286070835a37fe74b630f36a8b5c56ad26b89d Mon Sep 17 00:00:00 2001
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Andre Przywara <andre.przywara@arm.com>
|
||||
Date: Fri, 19 Sep 2025 01:00:17 +0100
|
||||
Subject: [PATCH 1/5] dt-bindings: mfd: x-powers,axp152: Add polyphased
|
||||
property
|
||||
Subject: dt-bindings: mfd: x-powers,axp152: Add polyphased property
|
||||
|
||||
Some X-Powers AXP PMICs can combine some of their DC/DC buck converter
|
||||
outputs in a multi-phase fashion, to achieve higher currents and
|
||||
@ -17,11 +16,11 @@ regulators. Just an empty property means no poly-phasing.
|
||||
|
||||
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
|
||||
---
|
||||
.../devicetree/bindings/mfd/x-powers,axp152.yaml | 14 ++++++++++++++
|
||||
Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml | 14 ++++++++++
|
||||
1 file changed, 14 insertions(+)
|
||||
|
||||
diff --git a/Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml b/Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml
|
||||
index 45f015d63df1..260c4c0afc47 100644
|
||||
index 111111111111..222222222222 100644
|
||||
--- a/Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml
|
||||
+++ b/Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml
|
||||
@@ -304,6 +304,15 @@ properties:
|
||||
@ -60,5 +59,5 @@ index 45f015d63df1..260c4c0afc47 100644
|
||||
/* LDO1 is a fixed output regulator */
|
||||
regulator-always-on;
|
||||
--
|
||||
2.43.0
|
||||
Armbian
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
From 0cb44fa029c3a41b769ebbd7e4044682cad9a685 Mon Sep 17 00:00:00 2001
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Andre Przywara <andre.przywara@arm.com>
|
||||
Date: Fri, 19 Sep 2025 01:00:17 +0100
|
||||
Subject: [PATCH 2/5] mfd: axp20x: Refactor axp20x_is_polyphase_slave()
|
||||
Subject: mfd: axp20x: Refactor axp20x_is_polyphase_slave()
|
||||
|
||||
Some X-Powers AXP PMICs allow to combine certain DC/DC rails together in
|
||||
a multi-phase fashion. So far we don't actively program those
|
||||
@ -20,14 +20,14 @@ of those poly-phase setups.
|
||||
|
||||
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
|
||||
---
|
||||
drivers/regulator/axp20x-regulator.c | 91 ++++++++++++++--------------
|
||||
drivers/regulator/axp20x-regulator.c | 91 +++++-----
|
||||
1 file changed, 45 insertions(+), 46 deletions(-)
|
||||
|
||||
diff --git a/drivers/regulator/axp20x-regulator.c b/drivers/regulator/axp20x-regulator.c
|
||||
index da891415efc0..19c9a98d1835 100644
|
||||
index 111111111111..222222222222 100644
|
||||
--- a/drivers/regulator/axp20x-regulator.c
|
||||
+++ b/drivers/regulator/axp20x-regulator.c
|
||||
@@ -1481,70 +1481,69 @@ static int axp20x_set_dcdc_workmode(struct regulator_dev *rdev, int id, u32 work
|
||||
@@ -1483,70 +1483,69 @@ static int axp20x_set_dcdc_workmode(struct regulator_dev *rdev, int id, u32 work
|
||||
return regmap_update_bits(rdev->regmap, reg, mask, workmode);
|
||||
}
|
||||
|
||||
@ -144,5 +144,5 @@ index da891415efc0..19c9a98d1835 100644
|
||||
|
||||
return false;
|
||||
--
|
||||
2.43.0
|
||||
Armbian
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
From d8f1a6d20eef731149c58b1847696425fdd56f83 Mon Sep 17 00:00:00 2001
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Andre Przywara <andre.przywara@arm.com>
|
||||
Date: Fri, 19 Sep 2025 01:00:17 +0100
|
||||
Subject: [PATCH 3/5] mfd: axp20x: Allow programming dual-phase regulator pairs
|
||||
Subject: mfd: axp20x: Allow programming dual-phase regulator pairs
|
||||
|
||||
Some X-Powers AXP PMICs allow to combine certain DC/DC rails together in
|
||||
a multi-phase fashion. So far we don't actively program those connections,
|
||||
@ -26,14 +26,14 @@ somewhat paper fix this in the next patch.
|
||||
|
||||
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
|
||||
---
|
||||
drivers/regulator/axp20x-regulator.c | 68 ++++++++++++++++++++++++++++
|
||||
drivers/regulator/axp20x-regulator.c | 68 ++++++++++
|
||||
1 file changed, 68 insertions(+)
|
||||
|
||||
diff --git a/drivers/regulator/axp20x-regulator.c b/drivers/regulator/axp20x-regulator.c
|
||||
index 19c9a98d1835..e3acc4635a0e 100644
|
||||
index 111111111111..222222222222 100644
|
||||
--- a/drivers/regulator/axp20x-regulator.c
|
||||
+++ b/drivers/regulator/axp20x-regulator.c
|
||||
@@ -1549,6 +1549,70 @@ static bool axp20x_is_polyphase_slave(struct axp20x_dev *axp20x, int id)
|
||||
@@ -1551,6 +1551,70 @@ static bool axp20x_is_polyphase_slave(struct axp20x_dev *axp20x, int id)
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -104,7 +104,7 @@ index 19c9a98d1835..e3acc4635a0e 100644
|
||||
static int axp20x_regulator_probe(struct platform_device *pdev)
|
||||
{
|
||||
struct regulator_dev *rdev;
|
||||
@@ -1703,6 +1767,10 @@ static int axp20x_regulator_probe(struct platform_device *pdev)
|
||||
@@ -1705,6 +1769,10 @@ static int axp20x_regulator_probe(struct platform_device *pdev)
|
||||
rdev->desc->name);
|
||||
}
|
||||
|
||||
@ -116,5 +116,5 @@ index 19c9a98d1835..e3acc4635a0e 100644
|
||||
* Save AXP22X DCDC1 / DCDC5 / AXP15060 ALDO1 regulator names for later.
|
||||
*/
|
||||
--
|
||||
2.43.0
|
||||
Armbian
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
From 008942ec8d1bd6615e71765d1ef2679642515fa4 Mon Sep 17 00:00:00 2001
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Andre Przywara <andre.przywara@arm.com>
|
||||
Date: Fri, 19 Sep 2025 01:00:17 +0100
|
||||
Subject: [PATCH 4/5] mfd: axp20x: Support tri-phase setup
|
||||
Subject: mfd: axp20x: Support tri-phase setup
|
||||
|
||||
Of the PMICs that support multi-phased regulators, all but one just
|
||||
support a dual-phase setup, with exactly two regulators tied together.
|
||||
@ -22,14 +22,14 @@ the two cases, plus the one without any poly-phasing.
|
||||
|
||||
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
|
||||
---
|
||||
drivers/regulator/axp20x-regulator.c | 45 ++++++++++++++++++++++++++++
|
||||
drivers/regulator/axp20x-regulator.c | 45 ++++++++++
|
||||
1 file changed, 45 insertions(+)
|
||||
|
||||
diff --git a/drivers/regulator/axp20x-regulator.c b/drivers/regulator/axp20x-regulator.c
|
||||
index e3acc4635a0e..9dd666f228b1 100644
|
||||
index 111111111111..222222222222 100644
|
||||
--- a/drivers/regulator/axp20x-regulator.c
|
||||
+++ b/drivers/regulator/axp20x-regulator.c
|
||||
@@ -1569,6 +1569,39 @@ static int axp20x_find_polyphased_reg(const struct regulator_desc *regs,
|
||||
@@ -1571,6 +1571,39 @@ static int axp20x_find_polyphased_reg(const struct regulator_desc *regs,
|
||||
return -ENODEV;
|
||||
}
|
||||
|
||||
@ -69,7 +69,7 @@ index e3acc4635a0e..9dd666f228b1 100644
|
||||
static int axp20x_parse_polyphase(struct axp20x_dev *axp20x, int primary_reg_id,
|
||||
const struct regulator_desc *regs,
|
||||
int nregulators, const struct device_node *np)
|
||||
@@ -1610,6 +1643,18 @@ static int axp20x_parse_polyphase(struct axp20x_dev *axp20x, int primary_reg_id,
|
||||
@@ -1612,6 +1645,18 @@ static int axp20x_parse_polyphase(struct axp20x_dev *axp20x, int primary_reg_id,
|
||||
}
|
||||
}
|
||||
|
||||
@ -89,5 +89,5 @@ index e3acc4635a0e..9dd666f228b1 100644
|
||||
}
|
||||
|
||||
--
|
||||
2.43.0
|
||||
Armbian
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
From 87274e8d73915412aa8b0fcefa27a1c0e982c975 Mon Sep 17 00:00:00 2001
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Andre Przywara <andre.przywara@arm.com>
|
||||
Date: Fri, 19 Sep 2025 01:00:17 +0100
|
||||
Subject: [PATCH 5/5] arm64: dts: allwinner: a523: Mark dual-phased regulators
|
||||
Subject: arm64: dts: allwinner: a523: Mark dual-phased regulators
|
||||
|
||||
The X-Powers AXP323 PMIC on the boards with a SoC from the Allwinner
|
||||
A523 family typically uses DCDC1 and DCDC2 in a dual-phase setup to
|
||||
@ -21,7 +21,7 @@ Signed-off-by: Andre Przywara <andre.przywara@arm.com>
|
||||
4 files changed, 16 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/arch/arm64/boot/dts/allwinner/sun55i-a527-cubie-a5e.dts b/arch/arm64/boot/dts/allwinner/sun55i-a527-cubie-a5e.dts
|
||||
index bfdf1728cd14..9e52ea338ce5 100644
|
||||
index 111111111111..222222222222 100644
|
||||
--- a/arch/arm64/boot/dts/allwinner/sun55i-a527-cubie-a5e.dts
|
||||
+++ b/arch/arm64/boot/dts/allwinner/sun55i-a527-cubie-a5e.dts
|
||||
@@ -320,9 +320,12 @@ reg_dcdc1_323: dcdc1 {
|
||||
@ -39,7 +39,7 @@ index bfdf1728cd14..9e52ea338ce5 100644
|
||||
/* RISC-V management core supply */
|
||||
reg_dcdc3_323: dcdc3 {
|
||||
diff --git a/arch/arm64/boot/dts/allwinner/sun55i-h728-x96qpro+.dts b/arch/arm64/boot/dts/allwinner/sun55i-h728-x96qpro+.dts
|
||||
index a96927fbdadd..9dd4178bdff1 100644
|
||||
index 111111111111..222222222222 100644
|
||||
--- a/arch/arm64/boot/dts/allwinner/sun55i-h728-x96qpro+.dts
|
||||
+++ b/arch/arm64/boot/dts/allwinner/sun55i-h728-x96qpro+.dts
|
||||
@@ -252,9 +252,12 @@ reg_dcdc1_323: dcdc1 {
|
||||
@ -57,7 +57,7 @@ index a96927fbdadd..9dd4178bdff1 100644
|
||||
reg_dcdc3_323: dcdc3 {
|
||||
regulator-always-on;
|
||||
diff --git a/arch/arm64/boot/dts/allwinner/sun55i-t527-avaota-a1.dts b/arch/arm64/boot/dts/allwinner/sun55i-t527-avaota-a1.dts
|
||||
index 054d0357c139..678736e3b717 100644
|
||||
index 111111111111..222222222222 100644
|
||||
--- a/arch/arm64/boot/dts/allwinner/sun55i-t527-avaota-a1.dts
|
||||
+++ b/arch/arm64/boot/dts/allwinner/sun55i-t527-avaota-a1.dts
|
||||
@@ -330,9 +330,12 @@ reg_dcdc1_323: dcdc1 {
|
||||
@ -75,10 +75,10 @@ index 054d0357c139..678736e3b717 100644
|
||||
/* Some RISC-V management core related voltage */
|
||||
reg_dcdc3_323: dcdc3 {
|
||||
diff --git a/arch/arm64/boot/dts/allwinner/sun55i-t527-orangepi-4a.dts b/arch/arm64/boot/dts/allwinner/sun55i-t527-orangepi-4a.dts
|
||||
index 39a4e194712a..ef0837ffa38f 100644
|
||||
index 111111111111..222222222222 100644
|
||||
--- a/arch/arm64/boot/dts/allwinner/sun55i-t527-orangepi-4a.dts
|
||||
+++ b/arch/arm64/boot/dts/allwinner/sun55i-t527-orangepi-4a.dts
|
||||
@@ -345,9 +345,12 @@ reg_dcdc1_323: dcdc1 {
|
||||
@@ -368,9 +368,12 @@ reg_dcdc1_323: dcdc1 {
|
||||
regulator-min-microvolt = <900000>;
|
||||
regulator-max-microvolt = <1150000>;
|
||||
regulator-name = "vdd-cpub";
|
||||
@ -93,5 +93,5 @@ index 39a4e194712a..ef0837ffa38f 100644
|
||||
/* Some RISC-V management core related voltage */
|
||||
reg_dcdc3_323: dcdc3 {
|
||||
--
|
||||
2.43.0
|
||||
Armbian
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
From 8476f1b10b6acc327455c840d3f89a56ec6dedea Mon Sep 17 00:00:00 2001
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Mikhail Kalashnikov <iuncuim@gmail.com>
|
||||
Date: Fri, 07 Nov 2025 12:46:30 +0000
|
||||
Subject: [PATCH] [PATCH v3 1/6] dt-bindings: thermal: sun8i: Add A523 THS0/1
|
||||
Date: Fri, 7 Nov 2025 12:46:30 +0000
|
||||
Subject: [PATCH v3 1/6] dt-bindings: thermal: sun8i: Add A523 THS0/1
|
||||
|
||||
Add a binding for D1/T113s thermal sensor controller. Add dt-bindings
|
||||
description of the thermal sensors in the A523 processor.
|
||||
@ -16,11 +16,11 @@ called calibration-second-part
|
||||
|
||||
Signed-off-by: Mikhail Kalashnikov <iuncuim@gmail.com>
|
||||
---
|
||||
.../thermal/allwinner,sun8i-a83t-ths.yaml | 56 ++++++++++++++++++-
|
||||
Documentation/devicetree/bindings/thermal/allwinner,sun8i-a83t-ths.yaml | 56 +++++++++-
|
||||
1 file changed, 53 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/Documentation/devicetree/bindings/thermal/allwinner,sun8i-a83t-ths.yaml b/Documentation/devicetree/bindings/thermal/allwinner,sun8i-a83t-ths.yaml
|
||||
index 3e61689f6..b2f750ef2 100644
|
||||
index 111111111111..222222222222 100644
|
||||
--- a/Documentation/devicetree/bindings/thermal/allwinner,sun8i-a83t-ths.yaml
|
||||
+++ b/Documentation/devicetree/bindings/thermal/allwinner,sun8i-a83t-ths.yaml
|
||||
@@ -24,18 +24,23 @@ properties:
|
||||
@ -126,11 +126,13 @@ index 3e61689f6..b2f750ef2 100644
|
||||
+ #thermal-sensor-cells = <1>;
|
||||
+ };
|
||||
...
|
||||
--
|
||||
Armbian
|
||||
|
||||
From 955935d64eeca888d0cde1dd3475b5b82ad37331 Mon Sep 17 00:00:00 2001
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Mikhail Kalashnikov <iuncuim@gmail.com>
|
||||
Date: Fri, 07 Nov 2025 12:46:30 +0000
|
||||
Subject: [PATCH 2/X] auto-split from bundle
|
||||
Date: Fri, 7 Nov 2025 12:46:30 +0000
|
||||
Subject: auto-split from bundle
|
||||
|
||||
Some processors (e.g. Allwinner A523) require GPADC clocking activation for
|
||||
temperature sensors to work. So let's add support for enabling it.
|
||||
@ -142,7 +144,7 @@ Reviewed-by: Chen-Yu Tsai <wens@kernel.org>
|
||||
1 file changed, 8 insertions(+)
|
||||
|
||||
diff --git a/drivers/thermal/sun8i_thermal.c b/drivers/thermal/sun8i_thermal.c
|
||||
index 226747906..c02c398b0 100644
|
||||
index 111111111111..222222222222 100644
|
||||
--- a/drivers/thermal/sun8i_thermal.c
|
||||
+++ b/drivers/thermal/sun8i_thermal.c
|
||||
@@ -66,6 +66,7 @@ struct tsensor {
|
||||
@ -174,10 +176,13 @@ index 226747906..c02c398b0 100644
|
||||
if (tmdev->chip->needs_sram) {
|
||||
struct regmap *regmap;
|
||||
|
||||
From d047c1633c69dca78a06517d595cbbd694a621c7 Mon Sep 17 00:00:00 2001
|
||||
--
|
||||
Armbian
|
||||
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Mikhail Kalashnikov <iuncuim@gmail.com>
|
||||
Date: Fri, 07 Nov 2025 12:46:30 +0000
|
||||
Subject: [PATCH 3/X] auto-split from bundle
|
||||
Date: Fri, 7 Nov 2025 12:46:30 +0000
|
||||
Subject: auto-split from bundle
|
||||
|
||||
The A523 processor has two temperature controllers, but they share a
|
||||
common reset line. Make it shared with the shared variant of
|
||||
@ -187,11 +192,11 @@ devm_reset_control_get_shared_deasserted().
|
||||
Signed-off-by: Mikhail Kalashnikov <iuncuim@gmail.com>
|
||||
Reviewed-by: Chen-Yu Tsai <wens@csie.org>
|
||||
---
|
||||
drivers/thermal/sun8i_thermal.c | 16 +---------------
|
||||
drivers/thermal/sun8i_thermal.c | 16 +---------
|
||||
1 file changed, 1 insertion(+), 15 deletions(-)
|
||||
|
||||
diff --git a/drivers/thermal/sun8i_thermal.c b/drivers/thermal/sun8i_thermal.c
|
||||
index c02c398b0..aa496e1ba 100644
|
||||
index 111111111111..222222222222 100644
|
||||
--- a/drivers/thermal/sun8i_thermal.c
|
||||
+++ b/drivers/thermal/sun8i_thermal.c
|
||||
@@ -344,11 +344,6 @@ static int sun8i_ths_calibrate(struct ths_device *tmdev)
|
||||
@ -227,11 +232,13 @@ index c02c398b0..aa496e1ba 100644
|
||||
tmdev->bus_clk = devm_clk_get_enabled(&pdev->dev, "bus");
|
||||
if (IS_ERR(tmdev->bus_clk))
|
||||
return PTR_ERR(tmdev->bus_clk);
|
||||
--
|
||||
Armbian
|
||||
|
||||
From c71a090a859ac701105f82166d6ffd03204bfcd0 Mon Sep 17 00:00:00 2001
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Mikhail Kalashnikov <iuncuim@gmail.com>
|
||||
Date: Fri, 07 Nov 2025 12:46:30 +0000
|
||||
Subject: [PATCH 4/X] auto-split from bundle
|
||||
Date: Fri, 7 Nov 2025 12:46:30 +0000
|
||||
Subject: auto-split from bundle
|
||||
|
||||
The A523 processor has calibration data in two nvmem cell. To be able to
|
||||
add support, the ability to add data from two cells into one array must be
|
||||
@ -239,11 +246,11 @@ added.
|
||||
|
||||
Signed-off-by: Mikhail Kalashnikov <iuncuim@gmail.com>
|
||||
---
|
||||
drivers/thermal/sun8i_thermal.c | 77 ++++++++++++++++++++++-----------
|
||||
drivers/thermal/sun8i_thermal.c | 77 +++++++---
|
||||
1 file changed, 52 insertions(+), 25 deletions(-)
|
||||
|
||||
diff --git a/drivers/thermal/sun8i_thermal.c b/drivers/thermal/sun8i_thermal.c
|
||||
index aa496e1ba..d6d8e13e5 100644
|
||||
index 111111111111..222222222222 100644
|
||||
--- a/drivers/thermal/sun8i_thermal.c
|
||||
+++ b/drivers/thermal/sun8i_thermal.c
|
||||
@@ -303,43 +303,70 @@ static int sun50i_h6_ths_calibrate(struct ths_device *tmdev,
|
||||
@ -342,11 +349,13 @@ index aa496e1ba..d6d8e13e5 100644
|
||||
nvmem_cell_put(calcell);
|
||||
return ret;
|
||||
}
|
||||
--
|
||||
Armbian
|
||||
|
||||
From 6157843778fda7cd704d2c553e7ee9593b831fcb Mon Sep 17 00:00:00 2001
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Mikhail Kalashnikov <iuncuim@gmail.com>
|
||||
Date: Fri, 07 Nov 2025 12:46:30 +0000
|
||||
Subject: [PATCH 5/X] auto-split from bundle
|
||||
Date: Fri, 7 Nov 2025 12:46:30 +0000
|
||||
Subject: auto-split from bundle
|
||||
|
||||
The A523 processor has two temperature controllers, THS0 and THS1.
|
||||
|
||||
@ -364,11 +373,11 @@ different values from real one.
|
||||
|
||||
Signed-off-by: Mikhail Kalashnikov <iuncuim@gmail.com>
|
||||
---
|
||||
drivers/thermal/sun8i_thermal.c | 133 ++++++++++++++++++++++++++++++++
|
||||
drivers/thermal/sun8i_thermal.c | 133 ++++++++++
|
||||
1 file changed, 133 insertions(+)
|
||||
|
||||
diff --git a/drivers/thermal/sun8i_thermal.c b/drivers/thermal/sun8i_thermal.c
|
||||
index d6d8e13e5..7d35ea3c4 100644
|
||||
index 111111111111..222222222222 100644
|
||||
--- a/drivers/thermal/sun8i_thermal.c
|
||||
+++ b/drivers/thermal/sun8i_thermal.c
|
||||
@@ -59,6 +59,12 @@
|
||||
@ -539,11 +548,13 @@ index d6d8e13e5..7d35ea3c4 100644
|
||||
{ /* sentinel */ },
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, of_ths_match);
|
||||
--
|
||||
Armbian
|
||||
|
||||
From 74804cbc70cbd2aa933b3b9144bc9ed7115a14c5 Mon Sep 17 00:00:00 2001
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Mikhail Kalashnikov <iuncuim@gmail.com>
|
||||
Date: Fri, 07 Nov 2025 12:46:30 +0000
|
||||
Subject: [PATCH 6/X] auto-split from bundle
|
||||
Date: Fri, 7 Nov 2025 12:46:30 +0000
|
||||
Subject: auto-split from bundle
|
||||
|
||||
The A523 processor has two temperature controllers, THS0 and THS1.
|
||||
THS0 has only one temperature sensor, which is located in the DRAM.
|
||||
@ -559,11 +570,11 @@ derived from the manufacturer's BSP.
|
||||
|
||||
Signed-off-by: Mikhail Kalashnikov <iuncuim@gmail.com>
|
||||
---
|
||||
.../arm64/boot/dts/allwinner/sun55i-a523.dtsi | 154 ++++++++++++++++++
|
||||
arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi | 154 ++++++++++
|
||||
1 file changed, 154 insertions(+)
|
||||
|
||||
diff --git a/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi b/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi
|
||||
index 7b36c47a3..0cbe73601 100644
|
||||
index 111111111111..222222222222 100644
|
||||
--- a/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi
|
||||
+++ b/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi
|
||||
@@ -11,6 +11,7 @@
|
||||
@ -638,8 +649,8 @@ index 7b36c47a3..0cbe73601 100644
|
||||
};
|
||||
};
|
||||
|
||||
@@ -398,12 +407,46 @@ syscon: syscon@3000000 {
|
||||
ranges;
|
||||
@@ -471,12 +480,46 @@ dma: dma-controller@3002000 {
|
||||
#dma-cells = <1>;
|
||||
};
|
||||
|
||||
+ ths1: thermal-sensor@2009400 {
|
||||
@ -685,7 +696,7 @@ index 7b36c47a3..0cbe73601 100644
|
||||
};
|
||||
|
||||
gic: interrupt-controller@3400000 {
|
||||
@@ -732,4 +775,115 @@ npu: npu@7122000 {
|
||||
@@ -936,4 +979,115 @@ npu: npu@7122000 {
|
||||
power-domains = <&ppu PD_NPU>;
|
||||
};
|
||||
};
|
||||
@ -801,3 +812,6 @@ index 7b36c47a3..0cbe73601 100644
|
||||
+ };
|
||||
+ };
|
||||
};
|
||||
--
|
||||
Armbian
|
||||
|
||||
|
||||
@ -9,12 +9,10 @@ Signed-off-by: Juan Sanchez <juanesf91@gmail.com>
|
||||
1 file changed, 28 insertions(+)
|
||||
|
||||
diff --git a/arch/arm64/boot/dts/allwinner/sun55i-a527-cubie-a5e.dts b/arch/arm64/boot/dts/allwinner/sun55i-a527-cubie-a5e.dts
|
||||
index 1c56306dffa1..d9bbfb916090 100644
|
||||
index 111111111111..222222222222 100644
|
||||
--- a/arch/arm64/boot/dts/allwinner/sun55i-a527-cubie-a5e.dts
|
||||
+++ b/arch/arm64/boot/dts/allwinner/sun55i-a527-cubie-a5e.dts
|
||||
@@ -12,10 +12,11 @@ / {
|
||||
compatible = "radxa,cubie-a5e", "allwinner,sun55i-a527";
|
||||
|
||||
@@ -15,6 +15,7 @@ / {
|
||||
aliases {
|
||||
ethernet0 = &gmac0;
|
||||
ethernet1 = &gmac1;
|
||||
@ -22,11 +20,7 @@ index 1c56306dffa1..d9bbfb916090 100644
|
||||
serial0 = &uart0;
|
||||
};
|
||||
|
||||
chosen {
|
||||
stdout-path = "serial0:115200n8";
|
||||
@@ -41,10 +42,20 @@ iio-hwmon {
|
||||
compatible = "iio-hwmon";
|
||||
io-channels = <&axp717_adc 3>, /* vsys_v */
|
||||
@@ -46,6 +47,16 @@ iio-hwmon {
|
||||
<&axp717_adc 4>; /* pmic_temp */
|
||||
};
|
||||
|
||||
@ -43,11 +37,7 @@ index 1c56306dffa1..d9bbfb916090 100644
|
||||
reg_vcc5v: vcc5v {
|
||||
/* board wide 5V supply from the USB-C connector */
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "vcc-5v";
|
||||
regulator-min-microvolt = <5000000>;
|
||||
@@ -94,10 +105,27 @@ &mmc0 {
|
||||
cd-gpios = <&pio 5 6 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; /* PF6 */
|
||||
bus-width = <4>;
|
||||
@@ -128,6 +139,23 @@ &mmc0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
@ -71,8 +61,6 @@ index 1c56306dffa1..d9bbfb916090 100644
|
||||
&ohci0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ohci1 {
|
||||
--
|
||||
Created with Armbian build tools https://github.com/armbian/build
|
||||
Armbian
|
||||
|
||||
|
||||
@ -9,12 +9,10 @@ Signed-off-by: Juan Sanchez <juanesf91@gmail.com>
|
||||
1 file changed, 9 insertions(+)
|
||||
|
||||
diff --git a/arch/arm64/boot/dts/allwinner/sun55i-a527-cubie-a5e.dts b/arch/arm64/boot/dts/allwinner/sun55i-a527-cubie-a5e.dts
|
||||
index 369bde1556ff..37585cac6648 100644
|
||||
index 111111111111..222222222222 100644
|
||||
--- a/arch/arm64/boot/dts/allwinner/sun55i-a527-cubie-a5e.dts
|
||||
+++ b/arch/arm64/boot/dts/allwinner/sun55i-a527-cubie-a5e.dts
|
||||
@@ -14,10 +14,11 @@ / {
|
||||
aliases {
|
||||
ethernet0 = &gmac0;
|
||||
@@ -17,6 +17,7 @@ aliases {
|
||||
ethernet1 = &gmac1;
|
||||
ethernet2 = &sdio_wifi;
|
||||
serial0 = &uart0;
|
||||
@ -22,11 +20,7 @@ index 369bde1556ff..37585cac6648 100644
|
||||
};
|
||||
|
||||
chosen {
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
@@ -360,10 +361,18 @@ &uart0 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&uart0_pb_pins>;
|
||||
@@ -381,6 +382,14 @@ &uart0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
@ -41,8 +35,6 @@ index 369bde1556ff..37585cac6648 100644
|
||||
&usb_otg {
|
||||
/*
|
||||
* The USB-C port is the primary power supply, so in this configuration
|
||||
* relies on the other end of the USB cable to supply the VBUS power.
|
||||
* So use this port in peripheral mode.
|
||||
--
|
||||
Created with Armbian build tools https://github.com/armbian/build
|
||||
Armbian
|
||||
|
||||
|
||||
@ -11,19 +11,17 @@ https://patchwork.kernel.org/project/linux-arm-kernel/cover/20251221110513.18505
|
||||
|
||||
Signed-off-by: Chen-Yu Tsai <wens@kernel.org>
|
||||
---
|
||||
Documentation/devicetree/bindings/spi/allwinner,sun6i-a31-spi.yaml | 4 +
|
||||
arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi | 94 ++++++
|
||||
arch/arm64/boot/dts/allwinner/sun55i-t527-orangepi-4a.dts | 15 +
|
||||
drivers/spi/spi-sun6i.c | 11 +-
|
||||
4 files changed, 278 insertions(+), 5 deletions(-)
|
||||
Documentation/devicetree/bindings/spi/allwinner,sun6i-a31-spi.yaml | 4 +
|
||||
arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi | 94 ++++++++++
|
||||
arch/arm64/boot/dts/allwinner/sun55i-t527-orangepi-4a.dts | 15 ++
|
||||
drivers/spi/spi-sun6i.c | 11 +-
|
||||
4 files changed, 120 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/Documentation/devicetree/bindings/spi/allwinner,sun6i-a31-spi.yaml b/Documentation/devicetree/bindings/spi/allwinner,sun6i-a31-spi.yaml
|
||||
index 3b47b68b92cb..1b91d1566c95 100644
|
||||
index 111111111111..222222222222 100644
|
||||
--- a/Documentation/devicetree/bindings/spi/allwinner,sun6i-a31-spi.yaml
|
||||
+++ b/Documentation/devicetree/bindings/spi/allwinner,sun6i-a31-spi.yaml
|
||||
@@ -15,10 +15,11 @@ maintainers:
|
||||
|
||||
properties:
|
||||
@@ -17,6 +17,7 @@ properties:
|
||||
compatible:
|
||||
oneOf:
|
||||
- const: allwinner,sun50i-r329-spi
|
||||
@ -31,11 +29,7 @@ index 3b47b68b92cb..1b91d1566c95 100644
|
||||
- const: allwinner,sun6i-a31-spi
|
||||
- const: allwinner,sun8i-h3-spi
|
||||
- items:
|
||||
- enum:
|
||||
- allwinner,sun8i-r40-spi
|
||||
@@ -33,10 +34,13 @@ properties:
|
||||
- const: allwinner,sun50i-r329-spi
|
||||
- items:
|
||||
@@ -35,6 +36,9 @@ properties:
|
||||
- const: allwinner,sun20i-d1-spi-dbi
|
||||
- const: allwinner,sun50i-r329-spi-dbi
|
||||
- const: allwinner,sun50i-r329-spi
|
||||
@ -45,15 +39,11 @@ index 3b47b68b92cb..1b91d1566c95 100644
|
||||
|
||||
reg:
|
||||
maxItems: 1
|
||||
|
||||
interrupts:
|
||||
diff --git a/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi b/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi
|
||||
index d42e3d97fc7d..3bc042be5ab5 100644
|
||||
index 111111111111..222222222222 100644
|
||||
--- a/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi
|
||||
+++ b/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi
|
||||
@@ -221,10 +221,47 @@ spdif_out_pi_pin: spdif-pi-pin {
|
||||
pins = "PI10";
|
||||
function = "spdif";
|
||||
@@ -223,6 +223,43 @@ spdif_out_pi_pin: spdif-pi-pin {
|
||||
allwinner,pinmux = <2>;
|
||||
};
|
||||
|
||||
@ -97,11 +87,7 @@ index d42e3d97fc7d..3bc042be5ab5 100644
|
||||
uart0_pb_pins: uart0-pb-pins {
|
||||
pins = "PB9", "PB10";
|
||||
allwinner,pinmux = <2>;
|
||||
function = "uart0";
|
||||
};
|
||||
@@ -604,10 +641,53 @@ mmc2: mmc@4022000 {
|
||||
cap-sdio-irq;
|
||||
#address-cells = <1>;
|
||||
@@ -606,6 +643,49 @@ mmc2: mmc@4022000 {
|
||||
#size-cells = <0>;
|
||||
};
|
||||
|
||||
@ -151,11 +137,7 @@ index d42e3d97fc7d..3bc042be5ab5 100644
|
||||
usb_otg: usb@4100000 {
|
||||
compatible = "allwinner,sun55i-a523-musb",
|
||||
"allwinner,sun8i-a33-musb";
|
||||
reg = <0x4100000 0x400>;
|
||||
interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
|
||||
@@ -856,10 +936,24 @@ rtc: rtc@7090000 {
|
||||
<&r_ccu CLK_R_AHB>;
|
||||
clock-names = "bus", "hosc", "ahb";
|
||||
@@ -858,6 +938,20 @@ rtc: rtc@7090000 {
|
||||
#clock-cells = <1>;
|
||||
};
|
||||
|
||||
@ -176,15 +158,11 @@ index d42e3d97fc7d..3bc042be5ab5 100644
|
||||
mcu_ccu: clock-controller@7102000 {
|
||||
compatible = "allwinner,sun55i-a523-mcu-ccu";
|
||||
reg = <0x7102000 0x200>;
|
||||
clocks = <&osc24M>,
|
||||
<&rtc CLK_OSC32K>,
|
||||
diff --git a/arch/arm64/boot/dts/allwinner/sun55i-t527-orangepi-4a.dts b/arch/arm64/boot/dts/allwinner/sun55i-t527-orangepi-4a.dts
|
||||
index dcbf027a04ef..84a41becc15d 100644
|
||||
index 111111111111..222222222222 100644
|
||||
--- a/arch/arm64/boot/dts/allwinner/sun55i-t527-orangepi-4a.dts
|
||||
+++ b/arch/arm64/boot/dts/allwinner/sun55i-t527-orangepi-4a.dts
|
||||
@@ -401,10 +401,25 @@ &rtc {
|
||||
clock-names = "bus", "hosc", "ahb", "ext-osc32k";
|
||||
assigned-clocks = <&rtc CLK_OSC32K>;
|
||||
@@ -403,6 +403,21 @@ &rtc {
|
||||
assigned-clock-rates = <32768>;
|
||||
};
|
||||
|
||||
@ -206,15 +184,11 @@ index dcbf027a04ef..84a41becc15d 100644
|
||||
&uart0 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&uart0_pb_pins>;
|
||||
status = "okay";
|
||||
};
|
||||
diff --git a/drivers/spi/spi-sun6i.c b/drivers/spi/spi-sun6i.c
|
||||
index 871dfd3e77be..d1de6c99e762 100644
|
||||
index 111111111111..222222222222 100644
|
||||
--- a/drivers/spi/spi-sun6i.c
|
||||
+++ b/drivers/spi/spi-sun6i.c
|
||||
@@ -793,14 +793,17 @@ static const struct sun6i_spi_cfg sun50i_r329_spi_cfg = {
|
||||
};
|
||||
|
||||
@@ -795,10 +795,13 @@ static const struct sun6i_spi_cfg sun50i_r329_spi_cfg = {
|
||||
static const struct of_device_id sun6i_spi_match[] = {
|
||||
{ .compatible = "allwinner,sun6i-a31-spi", .data = &sun6i_a31_spi_cfg },
|
||||
{ .compatible = "allwinner,sun8i-h3-spi", .data = &sun8i_h3_spi_cfg },
|
||||
@ -232,8 +206,6 @@ index 871dfd3e77be..d1de6c99e762 100644
|
||||
{}
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, sun6i_spi_match);
|
||||
|
||||
static const struct dev_pm_ops sun6i_spi_pm_ops = {
|
||||
--
|
||||
Created with Armbian build tools https://github.com/armbian/build
|
||||
Armbian
|
||||
|
||||
|
||||
@ -15,7 +15,7 @@ diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_drv.c b/drivers/gpu/drm/rockc
|
||||
index 111111111111..222222222222 100644
|
||||
--- a/drivers/gpu/drm/rockchip/rockchip_drm_drv.c
|
||||
+++ b/drivers/gpu/drm/rockchip/rockchip_drm_drv.c
|
||||
@@ -206,6 +206,7 @@ static int rockchip_drm_bind(struct device *dev)
|
||||
@@ -209,6 +209,7 @@ static int rockchip_drm_bind(struct device *dev)
|
||||
component_unbind_all(dev, drm_dev);
|
||||
err_free:
|
||||
drm_dev_put(drm_dev);
|
||||
@ -23,7 +23,7 @@ index 111111111111..222222222222 100644
|
||||
return ret;
|
||||
}
|
||||
|
||||
@@ -222,6 +223,7 @@ static void rockchip_drm_unbind(struct device *dev)
|
||||
@@ -225,6 +226,7 @@ static void rockchip_drm_unbind(struct device *dev)
|
||||
rockchip_iommu_cleanup(drm_dev);
|
||||
|
||||
drm_dev_put(drm_dev);
|
||||
|
||||
@ -14,41 +14,14 @@ wrong VDO.
|
||||
|
||||
Signed-off-by: Ondrej Jirman <megi@xff.cz>
|
||||
---
|
||||
drivers/usb/typec/altmodes/displayport.c | 50 ++++++++++++++++++++++++++++----
|
||||
1 file changed, 45 insertions(+), 5 deletions(-)
|
||||
drivers/usb/typec/altmodes/displayport.c | 32 ++++++++--
|
||||
1 file changed, 27 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/drivers/usb/typec/altmodes/displayport.c b/drivers/usb/typec/altmodes/displayport.c
|
||||
index 111111111111..222222222222 100644
|
||||
--- a/drivers/usb/typec/altmodes/displayport.c
|
||||
+++ b/drivers/usb/typec/altmodes/displayport.c
|
||||
pin_assign &= DP_CAP_UFP_D_PIN_ASSIGN(dp->plug_prime->vdo);
|
||||
+
|
||||
+ /*
|
||||
+ * The Display Port Alt mode standard is not publicly available,
|
||||
+ * so this is based on guesswork and real VDOs received from
|
||||
+ * receptacle based and plug based Type-C alt mode supporting
|
||||
+ * docks to make configuration work in practice:
|
||||
+ *
|
||||
+ * Plug (captive cable) based dock: port=c46 alt=c05
|
||||
+ * Recpetacle based dock: port=c46 alt=c0045
|
||||
+ *
|
||||
+ pin_assign = DP_CAP_DFP_D_PIN_ASSIGN(dp->port->vdo);
|
||||
+ pin_assign &= dp->alt->vdo & DP_CAP_RECEPTACLE ?
|
||||
+ DP_CAP_UFP_D_PIN_ASSIGN(dp->alt->vdo) :
|
||||
+ DP_CAP_DFP_D_PIN_ASSIGN(dp->alt->vdo);
|
||||
+ */
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
+ dev_info(&dp->alt->dev, "con=%d pin_assign=%x (port=%x alt=%x)\n",
|
||||
+ (int)con, (unsigned)pin_assign, dp->port->vdo, dp->alt->vdo);
|
||||
+
|
||||
/* Determining the initial pin assignment. */
|
||||
if (!DP_CONF_GET_PIN_ASSIGN(dp->data.conf)) {
|
||||
/* Is USB together with DP preferred */
|
||||
@@ -757,14 +775,36 @@
|
||||
@@ -757,14 +757,36 @@ int dp_altmode_probe(struct typec_altmode *alt)
|
||||
struct typec_altmode *plug = typec_altmode_get_plug(alt, TYPEC_PLUG_SOP_P);
|
||||
struct fwnode_handle *fwnode;
|
||||
struct dp_altmode *dp;
|
||||
@ -90,5 +63,6 @@ index 111111111111..222222222222 100644
|
||||
typec_altmode_put_plug(plug);
|
||||
return -ENODEV;
|
||||
}
|
||||
--
|
||||
--
|
||||
Armbian
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user