linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] ARM: shmobile: r8a7790: Fix HSUSB clock to hp_clk from mp_clk
@ 2015-02-19 15:42 Simon Horman
  2015-02-19 17:39 ` Sergei Shtylyov
  2015-02-25 23:31 ` Simon Horman
  0 siblings, 2 replies; 4+ messages in thread
From: Simon Horman @ 2015-02-19 15:42 UTC (permalink / raw)
  To: linux-arm-kernel

From: Kazuya Mizuguchi <kazuya.mizuguchi.ks@renesas.com>

HSUSB uses hp_clk rather than mp_clk for H/W register access.

Signed-off-by: Kazuya Mizuguchi <kazuya.mizuguchi.ks@renesas.com>
Signed-off-by: Yoshihiro Kaneko <ykaneko0929@gmail.com>
[horms: updated changelog]
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>

---
v2 [Simon Horman]
- Updated changelog to remove information about USB-DMAC clock which
  did not relate to the patch. I will follow up on weather the
  USB-DMAC clock should be mp_clk as the deleted portion of the
  changelog stated.
---
 arch/arm/boot/dts/r8a7790.dtsi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi
index 24de994..113edf2 100644
--- a/arch/arm/boot/dts/r8a7790.dtsi
+++ b/arch/arm/boot/dts/r8a7790.dtsi
@@ -1,6 +1,7 @@
 /*
  * Device Tree Source for the r8a7790 SoC
  *
+ * Copyright (C) 2015 Renesas Electronics Corporation
  * Copyright (C) 2013-2014 Renesas Solutions Corp.
  * Copyright (C) 2014 Cogent Embedded Inc.
  *
@@ -1132,7 +1133,7 @@
 		mstp7_clks: mstp7_clks at e615014c {
 			compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
 			reg = <0 0xe615014c 0 4>, <0 0xe61501c4 0 4>;
-			clocks = <&mp_clk>, <&mp_clk>, <&zs_clk>, <&zs_clk>, <&p_clk>,
+			clocks = <&mp_clk>, <&hp_clk>, <&zs_clk>, <&zs_clk>, <&p_clk>,
 				 <&p_clk>, <&zx_clk>, <&zx_clk>, <&zx_clk>, <&zx_clk>,
 				 <&zx_clk>;
 			#clock-cells = <1>;
-- 
2.1.4

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

* [PATCH v2] ARM: shmobile: r8a7790: Fix HSUSB clock to hp_clk from mp_clk
  2015-02-19 15:42 [PATCH v2] ARM: shmobile: r8a7790: Fix HSUSB clock to hp_clk from mp_clk Simon Horman
@ 2015-02-19 17:39 ` Sergei Shtylyov
  2015-02-19 17:58   ` Simon Horman
  2015-02-25 23:31 ` Simon Horman
  1 sibling, 1 reply; 4+ messages in thread
From: Sergei Shtylyov @ 2015-02-19 17:39 UTC (permalink / raw)
  To: linux-arm-kernel

Hello.

On 02/19/2015 06:42 PM, Simon Horman wrote:

> From: Kazuya Mizuguchi <kazuya.mizuguchi.ks@renesas.com>

> HSUSB uses hp_clk rather than mp_clk for H/W register access.

> Signed-off-by: Kazuya Mizuguchi <kazuya.mizuguchi.ks@renesas.com>
> Signed-off-by: Yoshihiro Kaneko <ykaneko0929@gmail.com>
> [horms: updated changelog]
> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>

> ---
> v2 [Simon Horman]
> - Updated changelog to remove information about USB-DMAC clock which
>    did not relate to the patch. I will follow up on weather the

    s/weather/whether/.

>    USB-DMAC clock should be mp_clk as the deleted portion of the
>    changelog stated.
> ---
>   arch/arm/boot/dts/r8a7790.dtsi | 3 ++-
>   1 file changed, 2 insertions(+), 1 deletion(-)

> diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi
> index 24de994..113edf2 100644
> --- a/arch/arm/boot/dts/r8a7790.dtsi
> +++ b/arch/arm/boot/dts/r8a7790.dtsi
> @@ -1,6 +1,7 @@
>   /*
>    * Device Tree Source for the r8a7790 SoC
>    *
> + * Copyright (C) 2015 Renesas Electronics Corporation

    One-liner is hardly enough for the copyright claim. Greg KH even used to 
say that roughly a third part of a file changed was worth it, IIRC.

>    * Copyright (C) 2013-2014 Renesas Solutions Corp.
>    * Copyright (C) 2014 Cogent Embedded Inc.
>    *
> @@ -1132,7 +1133,7 @@
>   		mstp7_clks: mstp7_clks at e615014c {
>   			compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
>   			reg = <0 0xe615014c 0 4>, <0 0xe61501c4 0 4>;
> -			clocks = <&mp_clk>, <&mp_clk>, <&zs_clk>, <&zs_clk>, <&p_clk>,
> +			clocks = <&mp_clk>, <&hp_clk>, <&zs_clk>, <&zs_clk>, <&p_clk>,
>   				 <&p_clk>, <&zx_clk>, <&zx_clk>, <&zx_clk>, <&zx_clk>,
>   				 <&zx_clk>;
>   			#clock-cells = <1>;

WBR, Sergei

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

* [PATCH v2] ARM: shmobile: r8a7790: Fix HSUSB clock to hp_clk from mp_clk
  2015-02-19 17:39 ` Sergei Shtylyov
@ 2015-02-19 17:58   ` Simon Horman
  0 siblings, 0 replies; 4+ messages in thread
From: Simon Horman @ 2015-02-19 17:58 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Feb 19, 2015 at 08:39:41PM +0300, Sergei Shtylyov wrote:
> Hello.
> 
> On 02/19/2015 06:42 PM, Simon Horman wrote:
> 
> >From: Kazuya Mizuguchi <kazuya.mizuguchi.ks@renesas.com>
> 
> >HSUSB uses hp_clk rather than mp_clk for H/W register access.
> 
> >Signed-off-by: Kazuya Mizuguchi <kazuya.mizuguchi.ks@renesas.com>
> >Signed-off-by: Yoshihiro Kaneko <ykaneko0929@gmail.com>
> >[horms: updated changelog]
> >Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
> 
> >---
> >v2 [Simon Horman]
> >- Updated changelog to remove information about USB-DMAC clock which
> >   did not relate to the patch. I will follow up on weather the
> 
>    s/weather/whether/.
> 
> >   USB-DMAC clock should be mp_clk as the deleted portion of the
> >   changelog stated.
> >---
> >  arch/arm/boot/dts/r8a7790.dtsi | 3 ++-
> >  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> >diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi
> >index 24de994..113edf2 100644
> >--- a/arch/arm/boot/dts/r8a7790.dtsi
> >+++ b/arch/arm/boot/dts/r8a7790.dtsi
> >@@ -1,6 +1,7 @@
> >  /*
> >   * Device Tree Source for the r8a7790 SoC
> >   *
> >+ * Copyright (C) 2015 Renesas Electronics Corporation
> 
>    One-liner is hardly enough for the copyright claim. Greg KH even used to
> say that roughly a third part of a file changed was worth it, IIRC.

I don't want to split hairs but I'm pretty sure the copyright claim extends
to more than the one line change below.

> >   * Copyright (C) 2013-2014 Renesas Solutions Corp.
> >   * Copyright (C) 2014 Cogent Embedded Inc.
> >   *
> >@@ -1132,7 +1133,7 @@
> >  		mstp7_clks: mstp7_clks at e615014c {
> >  			compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
> >  			reg = <0 0xe615014c 0 4>, <0 0xe61501c4 0 4>;
> >-			clocks = <&mp_clk>, <&mp_clk>, <&zs_clk>, <&zs_clk>, <&p_clk>,
> >+			clocks = <&mp_clk>, <&hp_clk>, <&zs_clk>, <&zs_clk>, <&p_clk>,
> >  				 <&p_clk>, <&zx_clk>, <&zx_clk>, <&zx_clk>, <&zx_clk>,
> >  				 <&zx_clk>;
> >  			#clock-cells = <1>;
> 
> WBR, Sergei
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-sh" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

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

* [PATCH v2] ARM: shmobile: r8a7790: Fix HSUSB clock to hp_clk from mp_clk
  2015-02-19 15:42 [PATCH v2] ARM: shmobile: r8a7790: Fix HSUSB clock to hp_clk from mp_clk Simon Horman
  2015-02-19 17:39 ` Sergei Shtylyov
@ 2015-02-25 23:31 ` Simon Horman
  1 sibling, 0 replies; 4+ messages in thread
From: Simon Horman @ 2015-02-25 23:31 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Feb 19, 2015 at 10:42:55AM -0500, Simon Horman wrote:
> From: Kazuya Mizuguchi <kazuya.mizuguchi.ks@renesas.com>
> 
> HSUSB uses hp_clk rather than mp_clk for H/W register access.
> 
> Signed-off-by: Kazuya Mizuguchi <kazuya.mizuguchi.ks@renesas.com>
> Signed-off-by: Yoshihiro Kaneko <ykaneko0929@gmail.com>
> [horms: updated changelog]
> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>

I have queued this up.

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

end of thread, other threads:[~2015-02-25 23:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-19 15:42 [PATCH v2] ARM: shmobile: r8a7790: Fix HSUSB clock to hp_clk from mp_clk Simon Horman
2015-02-19 17:39 ` Sergei Shtylyov
2015-02-19 17:58   ` Simon Horman
2015-02-25 23:31 ` 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).