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


Groups > linux.kernel > #1477696

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

From Marcin Wojtas <mw@semihalf.com>
Newsgroups linux.kernel
Subject [PATCH 1/2] arm64: dts: marvell: fix clocksource for CP110 master SPI0
Date 2016-09-06 19:40 +0200
Message-ID <sesvM-4Z9-3@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: 728dacc7f4dd ("arm64: dts: marvell: initial DT description of ...")
Signed-off-by: Marcin Wojtas <mw@semihalf.com>
CC: <stable@vger.kernel.org> v4.7+
---
 arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

Back to linux.kernel | Previous | NextPrevious in thread | Next 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