Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1477698

[PATCH 2/2] arm64: dts: marvell: fix clocksource for CP110 slave SPI0

From Marcin Wojtas <mw@semihalf.com>
Newsgroups linux.kernel
Subject [PATCH 2/2] arm64: dts: marvell: fix clocksource for CP110 slave SPI0
Date 2016-09-06 19:40 +0200
Message-ID <sesvM-4Z9-15@gated-at.bofh.it> (permalink)
References <sesvM-4Z9-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


I2C and SPI interfaces share common clock trees within the CP110 HW block.
It occurred that SPI0 interface has wrong clock assignment in the device
tree, which is fixed in this commit to a proper value.

Fixes: c749b8d9de32 ("arm64: dts: marvell: add description for the ...")
Signed-off-by: Marcin Wojtas <mw@semihalf.com>
---
 arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi b/arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi
index 37bff70..150675c 100644
--- a/arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi
+++ b/arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi
@@ -133,7 +133,7 @@
 				#address-cells = <0x1>;
 				#size-cells = <0x0>;
 				cell-index = <1>;
-				clocks = <&cps_syscon0 0 3>;
+				clocks = <&cps_syscon0 1 21>;
 				status = "disabled";
 			};
 
-- 
1.8.3.1

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 0/2] Armada 7k/8k SPI0 clock references fix Marcin Wojtas <mw@semihalf.com> - 2016-09-06 19:40 +0200
  [PATCH 1/2] arm64: dts: marvell: fix clocksource for CP110 master SPI0 Marcin Wojtas <mw@semihalf.com> - 2016-09-06 19:40 +0200
  [PATCH 2/2] arm64: dts: marvell: fix clocksource for CP110 slave SPI0 Marcin Wojtas <mw@semihalf.com> - 2016-09-06 19:40 +0200

csiph-web