All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM64: dts: marvell: armada-cp110: Add registers clock for SPI nodes
@ 2018-01-30 11:14 Gregory CLEMENT
  2018-01-30 11:21 ` Baruch Siach
  0 siblings, 1 reply; 7+ messages in thread
From: Gregory CLEMENT @ 2018-01-30 11:14 UTC (permalink / raw)
  To: linux-arm-kernel

This extra clock is needed to access the registers of the SPI controller
used on Armada 7K/8K SoCs.

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
---
 arch/arm64/boot/dts/marvell/armada-cp110.dtsi | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/marvell/armada-cp110.dtsi b/arch/arm64/boot/dts/marvell/armada-cp110.dtsi
index a8af4136dbe7..0ab921861a2f 100644
--- a/arch/arm64/boot/dts/marvell/armada-cp110.dtsi
+++ b/arch/arm64/boot/dts/marvell/armada-cp110.dtsi
@@ -257,7 +257,9 @@
 			reg = <0x700600 0x50>;
 			#address-cells = <0x1>;
 			#size-cells = <0x0>;
-			clocks = <&CP110_LABEL(clk) 1 21>;
+			clock-names = "core", "axi";
+			clocks = <&CP110_LABEL(clk) 1 21>,
+				 <&CP110_LABEL(clk) 1 17>;
 			status = "disabled";
 		};
 
@@ -266,7 +268,9 @@
 			reg = <0x700680 0x50>;
 			#address-cells = <1>;
 			#size-cells = <0>;
-			clocks = <&CP110_LABEL(clk) 1 21>;
+			clock-names = "core", "axi";
+			clocks = <&CP110_LABEL(clk) 1 21>,
+				 <&CP110_LABEL(clk) 1 17>;
 			status = "disabled";
 		};
 
-- 
2.15.1

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-01-30 13:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-30 11:14 [PATCH] ARM64: dts: marvell: armada-cp110: Add registers clock for SPI nodes Gregory CLEMENT
2018-01-30 11:21 ` Baruch Siach
2018-01-30 12:26   ` Baruch Siach
2018-01-30 12:42     ` Gregory CLEMENT
2018-01-30 12:53       ` Thomas Petazzoni
2018-01-30 13:03         ` Gregory CLEMENT
2018-01-30 13:04           ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.