arm64: dts: stratix10: Add SPI node clocks for Stratix10
Subsystems (2)
PATCH 1/1 arm64: dts: stratix10: Add SPI node clocks for Stratix10
From: Thor Thayer <[email protected]>
Add the required clocks for the new Stratix10 clock bindings to the SPI nodes.
--- arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi | 2 ++ 1 file changed, 2 insertions(+)
arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi +2 -0
@@ -310,6 +310,7 @@ resets = <&rst SPIM0_RESET>; reg-io-width = <4>; num-cs = <4>; + clocks = <&clkmgr STRATIX10_L4_MAIN_CLK>; status = "disabled"; };
@@ -322,6 +323,7 @@ resets = <&rst SPIM1_RESET>; reg-io-width = <4>; num-cs = <4>; + clocks = <&clkmgr STRATIX10_L4_MAIN_CLK>; status = "disabled"; };
Signature · 1 line
2.7.4
Dinh Nguyen
maintainerPATCH 1/1 arm64: dts: stratix10: Add SPI node clocks for Stratix10
Hi Thor
Quoted 24 lines · thor.thayer at linux.intel.com
From: Thor Thayer <[email protected]>
Add the required clocks for the new Stratix10 clock bindings to the SPI nodes.
Signed-off-by Thor Thayer <[email protected]>--- arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi | 2 ++ 1 file changed, 2 insertions(+)arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi +1
-0@@ -310,6 +310,7 @@ resets = <&rst SPIM0_RESET>; reg-io-width = <4>; num-cs = <4>; + clocks = <&clkmgr STRATIX10_L4_MAIN_CLK>; status = "disabled"; };
arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi line 329
Quoted 7 lines
arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi +1
-0@@ -322,6 +323,7 @@ resets = <&rst SPIM1_RESET>; reg-io-width = <4>; num-cs = <4>; + clocks = <&clkmgr STRATIX10_L4_MAIN_CLK>; status = "disabled"; };
I thought you already sent a patch for this?
http://lists.infradead.org/pipermail/linux-arm-kernel/2018-June/585514.html
Dinh
PATCH 1/1 arm64: dts: stratix10: Add SPI node clocks for Stratix10
Hi Dinh,
Quoted 37 lines · Dinh Nguyen
Hi Thor
Quoted 24 lines · thor.thayer at linux.intel.com
From: Thor Thayer <[email protected]>
Add the required clocks for the new Stratix10 clock bindings to the SPI nodes.
Signed-off-by Thor Thayer <[email protected]>--- arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi | 2 ++ 1 file changed, 2 insertions(+)arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi +1
-0@@ -310,6 +310,7 @@ resets = <&rst SPIM0_RESET>; reg-io-width = <4>; num-cs = <4>; + clocks = <&clkmgr STRATIX10_L4_MAIN_CLK>; status = "disabled"; };arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi line 329
Quoted 7 lines
arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi +1
-0@@ -322,6 +323,7 @@ resets = <&rst SPIM1_RESET>; reg-io-width = <4>; num-cs = <4>; + clocks = <&clkmgr STRATIX10_L4_MAIN_CLK>; status = "disabled"; };I thought you already sent a patch for this?
Good catch. I didn't see the clock addition in the
dinh_linux_for_next/socfpga_for_next_v4.19_fixes_v1 dinh_linux_for_next/socfpga_for_next_v4.19_dts_v1
branches so I assumed it hadn't been applied (since the num-cs change from the patchset is there).
This is a simpler patch since the STRATIX10_SPI_M_CLK isn't needed.
Thanks,
Thor
Dinh Nguyen
maintainerPATCH 1/1 arm64: dts: stratix10: Add SPI node clocks for Stratix10
Quoted 46 lines · Thor Thayer
Hi Dinh,
Quoted 36 lines · Dinh Nguyen
Hi Thor
Quoted 22 lines · thor.thayer at linux.intel.com
From: Thor Thayer <[email protected]>
Add the required clocks for the new Stratix10 clock bindings to the SPI nodes.
Signed-off-by Thor Thayer <[email protected]>---
?arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi| 2 ++ ? 1 file changed, 2 insertions(+)arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi +1
-0@@ -310,6 +310,7 @@ ????????????? resets = <&rst SPIM0_RESET>; ????????????? reg-io-width = <4>; ????????????? num-cs = <4>; +??????????? clocks = <&clkmgr STRATIX10_L4_MAIN_CLK>; ????????????? status = "disabled"; ????????? };Quoted 8 lines
? @@ -322,6 +323,7 @@
????????????? resets = <&rstSPIM1_RESET>; ????????????? reg-io-width = <4>; ????????????? num-cs = <4>;
+??????????? clocks = <&clkmgrSTRATIX10_L4_MAIN_CLK>; ????????????? status = "disabled";
????????? };
?I thought you already sent a patch for this?
Good catch. I didn't see the clock addition in the
Quoted 8 lines
dinh_linux_for_next/socfpga_for_next_v4.19_fixes_v1 dinh_linux_for_next/socfpga_for_next_v4.19_dts_v1
branches so I assumed it hadn't been applied (since the num-cs change from the patchset is there).
This is a simpler patch since the
STRATIX10_SPI_M_CLKisn't needed.
Ok...will apply this patch.
Dinh