All of lore.kernel.org
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH] ARM: shmobile: r8a7790.dtsi: ficx i2c[0-3] clock reference
Date: Mon, 20 Jan 2014 11:26:28 +0000	[thread overview]
Message-ID: <3288411.rrSBdFQOL7@avalon> (raw)
In-Reply-To: <1390216964-12693-1-git-send-email-ben.dooks@codethink.co.uk>

Hi Ben,

Thank you for the patch.

On Monday 20 January 2014 11:22:44 Ben Dooks wrote:
> The R8A7790's dtsi file i2c0, i2c1, i2c2, and i2c3 nodes have clock
> refrences that mstp3_clks clock node,

Do you mean "a clock that references the mstp3_clks clock node," ?

> however these clocks are in the mstp8_clks node.

But the patch replaces mstp3_clks with mstp9_clks :-)

> 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";
>  	};
-- 
Regards,

Laurent Pinchart


  reply	other threads:[~2014-01-20 11:26 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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
2014-01-24  1:14   ` Simon Horman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3288411.rrSBdFQOL7@avalon \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=linux-sh@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.