Skip to contentSkip to conversation

arm64: dts: PL022 clock fixes

PATCH RESEND Applied Rob Herring (Arm) 2 participants 4 messages Nov 5, 2024 – Nov 12, 2024

Subsystems (3)
lore
Share & tools
lore

Rob Herring (Arm)

author maintainer
#0 lore raw

v2 cover arm64: dts: PL022 clock fixes

Arnd, this series[1] from 2.5 years ago was never applied. There was some discussion on the lpc32xx patch, but nothing on the first 2 patches. So I'm resending the first 2. Please apply directly.

Rob

[1] https://lore.kernel.org/all/[email protected]/

---
Kuldeep Singh (2):
arm64: dts: seattle: Update spi clock properties
arm64: dts: lg131x: Update spi clock properties

 arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi | 8 ++++----
 arch/arm64/boot/dts/lg/lg1312.dtsi           | 8 ++++----
 arch/arm64/boot/dts/lg/lg1313.dtsi           | 8 ++++----
 3 files changed, 12 insertions(+), 12 deletions(-)

---
base-commit: 6f2ca0f00f319c694ad5bb494b64745a43b40756
change-id: 20241105-dts-spi-fixes-9c24e7763f3b

Best regards,

Signature · 1 line
Rob Herring (Arm) <[email protected]>
author maintainer
#1 lore raw

PATCH RESEND v2 1/2 arm64: dts: seattle: Update spi clock properties

From: Kuldeep Singh <[email protected]>

PL022 binding require two clocks to be defined but AMD seattle platform does't comply with binding and define only one clock i.e apb_pclk.

Update spi clocks and clocks-names property by adding appropriate clock reference to make it compliant with bindings.

---
Arnd, Please apply directly.

---
 arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi +4 -4
index 690020589d41..d3d931eb7677 100644
@@ -123,8 +123,8 @@ spi0: spi@e1020000 {
 			reg = <0 0xe1020000 0 0x1000>;
 			spi-controller;
 			interrupts = <0 330 4>;
-			clocks = <&uartspiclk_100mhz>;
-			clock-names = "apb_pclk";
+			clocks = <&uartspiclk_100mhz>, <&uartspiclk_100mhz>;
+			clock-names = "sspclk", "apb_pclk";
 		};
 
 		spi1: spi@e1030000 {
@@ -133,8 +133,8 @@ spi1: spi@e1030000 {
 			reg = <0 0xe1030000 0 0x1000>;
 			spi-controller;
 			interrupts = <0 329 4>;
-			clocks = <&uartspiclk_100mhz>;
-			clock-names = "apb_pclk";
+			clocks = <&uartspiclk_100mhz>, <&uartspiclk_100mhz>;
+			clock-names = "sspclk", "apb_pclk";
 			num-cs = <1>;
 			#address-cells = <1>;
 			#size-cells = <0>;
Signature · 1 line
2.45.2
author maintainer
#2 lore raw

PATCH RESEND v2 2/2 arm64: dts: lg131x: Update spi clock properties

In reply to Rob Herring (Arm)

From: Kuldeep Singh <[email protected]>

PL022 binding require two clocks to be defined but LG1312 and LG1313 platforms don't comply with bindings and define only one clock.

Update spi clocks and clocks-names property by adding appropriate clock reference to make it compliant with bindings.

---
Arnd, Please apply directly.

---
 arch/arm64/boot/dts/lg/lg1312.dtsi | 8 ++++----
 arch/arm64/boot/dts/lg/lg1313.dtsi | 8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)
arch/arm64/boot/dts/lg/lg1312.dtsi +4 -4
index b864ffa74ea8..bb0bcc6875dc 100644
@@ -173,15 +173,15 @@ spi0: spi@fe800000 {
 			compatible = "arm,pl022", "arm,primecell";
 			reg = <0x0 0xfe800000 0x1000>;
 			interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
-			clocks = <&clk_bus>;
-			clock-names = "apb_pclk";
+			clocks = <&clk_bus>, <&clk_bus>;
+			clock-names = "sspclk", "apb_pclk";
 		};
 		spi1: spi@fe900000 {
 			compatible = "arm,pl022", "arm,primecell";
 			reg = <0x0 0xfe900000 0x1000>;
 			interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
-			clocks = <&clk_bus>;
-			clock-names = "apb_pclk";
+			clocks = <&clk_bus>, <&clk_bus>;
+			clock-names = "sspclk", "apb_pclk";
 		};
 		dmac0: dma-controller@c1128000 {
 			compatible = "arm,pl330", "arm,primecell";
arch/arm64/boot/dts/lg/lg1313.dtsi +4 -4
index 996fb39bb50c..c07d670bc465 100644
@@ -173,15 +173,15 @@ spi0: spi@fe800000 {
 			compatible = "arm,pl022", "arm,primecell";
 			reg = <0x0 0xfe800000 0x1000>;
 			interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
-			clocks = <&clk_bus>;
-			clock-names = "apb_pclk";
+			clocks = <&clk_bus>, <&clk_bus>;
+			clock-names = "sspclk", "apb_pclk";
 		};
 		spi1: spi@fe900000 {
 			compatible = "arm,pl022", "arm,primecell";
 			reg = <0x0 0xfe900000 0x1000>;
 			interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
-			clocks = <&clk_bus>;
-			clock-names = "apb_pclk";
+			clocks = <&clk_bus>, <&clk_bus>;
+			clock-names = "sspclk", "apb_pclk";
 		};
 		dmac0: dma-controller@c1128000 {
 			compatible = "arm,pl330", "arm,primecell";
Signature · 1 line
2.45.2
#3 lore raw
In reply to Rob Herring (Arm)
This series was applied to soc/soc.git (for-next) by Arnd Bergmann <[email protected]>:

Hello:

This series was applied to soc/soc.git (for-next)
by Arnd Bergmann <[email protected]>:

Quoted 9 lines · On Tue, 05 Nov 2024 15:18:38 -0600 you wrote:

Arnd, this series[1] from 2.5 years ago was never applied. There was some discussion on the lpc32xx patch, but nothing on the first 2 patches. So I'm resending the first 2. Please apply directly.

Rob

[1] https://lore.kernel.org/all/[email protected]/

[...]

Here is the summary with links:
- [RESEND,v2,1/2] arm64: dts: seattle: Update spi clock properties

    https://git.kernel.org/soc/soc/c/55d0969c4511

- [RESEND,v2,2/2] arm64: dts: lg131x: Update spi clock properties
https://git.kernel.org/soc/soc/c/bdcbb3f8abfa

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html