linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: shmobile: r8a7790.dtsi: ficx i2c[0-3] clock reference
@ 2014-01-20 11:22 Ben Dooks
  2014-01-20 11:26 ` Laurent Pinchart
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: Ben Dooks @ 2014-01-20 11:22 UTC (permalink / raw)
  To: linux-sh

The R8A7790's dtsi file i2c0, i2c1, i2c2, and i2c3 nodes have clock
refrences that mstp3_clks clock node, however these clocks are in the
mstp8_clks node.

The error was introducted in 72197ca7a1cb1cea5 ("ARM: shmobile: r8a7790:
 Reference clocks") which is in Simon's current development tree.

This patch fixes the following error:
of_clk_src_onecell_get: invalid clock index 31
i2c-rcar e6508000.i2c: cannot get clock
i2c-rcar: probe of e6508000.i2c failed with error -2

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
---
Cc: horms+renesas@verge.net.au
Cc: laurent.pinchart+renesas@ideasonboard.com
Cc: linux-sh@vger.kernel.org
---
 arch/arm/boot/dts/r8a7790.dtsi | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi
index 3cc834b..15e2a97 100644
--- a/arch/arm/boot/dts/r8a7790.dtsi
+++ b/arch/arm/boot/dts/r8a7790.dtsi
@@ -198,7 +198,7 @@
 		reg = <0 0xe6508000 0 0x40>;
 		interrupt-parent = <&gic>;
 		interrupts = <0 287 IRQ_TYPE_LEVEL_HIGH>;
-		clocks = <&mstp3_clks R8A7790_CLK_I2C0>;
+		clocks = <&mstp9_clks R8A7790_CLK_I2C0>;
 		status = "disabled";
 	};
 
@@ -209,7 +209,7 @@
 		reg = <0 0xe6518000 0 0x40>;
 		interrupt-parent = <&gic>;
 		interrupts = <0 288 IRQ_TYPE_LEVEL_HIGH>;
-		clocks = <&mstp3_clks R8A7790_CLK_I2C1>;
+		clocks = <&mstp9_clks R8A7790_CLK_I2C1>;
 		status = "disabled";
 	};
 
@@ -220,7 +220,7 @@
 		reg = <0 0xe6530000 0 0x40>;
 		interrupt-parent = <&gic>;
 		interrupts = <0 286 IRQ_TYPE_LEVEL_HIGH>;
-		clocks = <&mstp3_clks R8A7790_CLK_I2C2>;
+		clocks = <&mstp9_clks R8A7790_CLK_I2C2>;
 		status = "disabled";
 	};
 
@@ -231,7 +231,7 @@
 		reg = <0 0xe6540000 0 0x40>;
 		interrupt-parent = <&gic>;
 		interrupts = <0 290 IRQ_TYPE_LEVEL_HIGH>;
-		clocks = <&mstp3_clks R8A7790_CLK_I2C3>;
+		clocks = <&mstp9_clks R8A7790_CLK_I2C3>;
 		status = "disabled";
 	};
 
-- 
1.8.5.2


^ permalink raw reply related	[flat|nested] 9+ messages in thread
* [GIT PULL] Second Round of Renesas ARM Based SoC DT Fixes for v3.14
@ 2014-01-24  1:14 Simon Horman
  2014-01-24  1:14 ` [PATCH] ARM: shmobile: r8a7790.dtsi: ficx i2c[0-3] clock reference Simon Horman
  0 siblings, 1 reply; 9+ messages in thread
From: Simon Horman @ 2014-01-24  1:14 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Olof, Hi Kevin, Hi Arnd,

please consider this second round of renesas ARM Based SoC DT fixes for v3.14.

This pull-request is based on the first round of such fixes,
tagged as renesas-dt-fixes-for-v3.14, which you have previously pulled.


The following changes since commit 3effae8c26f451a9d572255c08dfbe342dd1dc98:

  Revert "ARM: shmobile: r8a7791: Add SSI clocks in device tree" (2013-12-26 14:16:54 +0900)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git tags/renesas-dt-fixes2-for-v3.14

for you to fetch changes up to 2450badfc19b67340d3570665cc02a22df03dfab:

  ARM: shmobile: r8a7790.dtsi: ficx i2c[0-3] clock reference (2014-01-21 09:45:50 +0900)

----------------------------------------------------------------
Second Round of Renesas ARM Based SoC DT Fixes for v3.14

Correct i2c clock references for r8a7790 (R-Car H2) SoC

The error was introduced in 72197ca7a1cb1cea5 ("ARM: shmobile: r8a7790:
Reference clocks") which is queued up for v3.14.

----------------------------------------------------------------
Ben Dooks (1):
      ARM: shmobile: r8a7790.dtsi: ficx i2c[0-3] clock reference

 arch/arm/boot/dts/r8a7790.dtsi | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

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

end of thread, other threads:[~2014-01-24  1:14 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-20 11:22 [PATCH] ARM: shmobile: r8a7790.dtsi: ficx i2c[0-3] clock reference Ben Dooks
2014-01-20 11:26 ` Laurent Pinchart
2014-01-20 11:35 ` Ben Dooks
2014-01-20 11:42 ` Laurent Pinchart
2014-01-20 11:42 ` Ben Dooks
2014-01-20 13:01 ` Sergei Shtylyov
2014-01-20 14:50 ` Ben Dooks
2014-01-20 18:22 ` Sergei Shtylyov
  -- strict thread matches above, loose matches on Subject: below --
2014-01-24  1:14 [GIT PULL] Second Round of Renesas ARM Based SoC DT Fixes for v3.14 Simon Horman
2014-01-24  1:14 ` [PATCH] ARM: shmobile: r8a7790.dtsi: ficx i2c[0-3] clock reference Simon Horman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).