All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 12/25 v7][RFC] arm64: renesas: r8a7795: add EHCI[012] clocks
@ 2015-08-24  2:29 Kuninori Morimoto
  0 siblings, 0 replies; 2+ messages in thread
From: Kuninori Morimoto @ 2015-08-24  2:29 UTC (permalink / raw)
  To: linux-sh

From: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
---
v5 -> v7

 - based on Gen3 v7 patch-set

 arch/arm64/boot/dts/renesas/r8a7795.dtsi  | 10 +++++++---
 include/dt-bindings/clock/r8a7795-clock.h |  3 +++
 2 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
index 77cfcea..c62b57b 100644
--- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
@@ -105,10 +105,14 @@
 					compatible = "renesas,r8a7795-mstp-clocks",
 						     "renesas,cpg-mstp-clocks";
 					reg = <0 0xe615014c 0 4>, <0 0xe61501c4 0 4>;
-					clocks =  <&s3d4_clk>;
+					clocks =  <&s3d4_clk>, <&s3d4_clk>, <&s3d4_clk>,
+						  <&s3d4_clk>;
 					#clock-cells = <1>;
-					renesas,clock-indices = <R8A7795_CLK_HSUSB>;
-					clock-output-names = "hsusb";
+					renesas,clock-indices = <R8A7795_CLK_HSUSB
+								 R8A7795_CLK_EHCI0
+								 R8A7795_CLK_EHCI1
+								 R8A7795_CLK_EHCI2>;
+					clock-output-names = "hsusb", "ehci0", "ehci1", "ehci2";
 				};
 			};
 		};
diff --git a/include/dt-bindings/clock/r8a7795-clock.h b/include/dt-bindings/clock/r8a7795-clock.h
index ffb0b5b..2bd9d93 100644
--- a/include/dt-bindings/clock/r8a7795-clock.h
+++ b/include/dt-bindings/clock/r8a7795-clock.h
@@ -30,6 +30,9 @@
 
 /* MSTP7 */
 #define R8A7795_CLK_HSUSB		4
+#define R8A7795_CLK_EHCI0		3
+#define R8A7795_CLK_EHCI1		2
+#define R8A7795_CLK_EHCI2		1
 
 /* MSTP8 */
 
-- 
1.9.1


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

* Re: [PATCH 12/25 v7][RFC] arm64: renesas: r8a7795: add EHCI[012] clocks
@ 2015-09-04 21:49 Laurent Pinchart
  0 siblings, 0 replies; 2+ messages in thread
From: Laurent Pinchart @ 2015-09-04 21:49 UTC (permalink / raw)
  To: linux-sh

Hello Morimoto-san,

Thank you for the patch.

On Monday 24 August 2015 02:29:16 Kuninori Morimoto wrote:
> From: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
> 
> Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> ---
> v5 -> v7
> 
>  - based on Gen3 v7 patch-set
> 
>  arch/arm64/boot/dts/renesas/r8a7795.dtsi  | 10 +++++++---
>  include/dt-bindings/clock/r8a7795-clock.h |  3 +++
>  2 files changed, 10 insertions(+), 3 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi
> b/arch/arm64/boot/dts/renesas/r8a7795.dtsi index 77cfcea..c62b57b 100644
> --- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi
> +++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
> @@ -105,10 +105,14 @@
>  					compatible = "renesas,r8a7795-mstp-clocks",
>  						     "renesas,cpg-mstp-clocks";
>  					reg = <0 0xe615014c 0 4>, <0 0xe61501c4 0 4>;
> -					clocks =  <&s3d4_clk>;
> +					clocks =  <&s3d4_clk>, <&s3d4_clk>, <&s3d4_clk>,
> +						  <&s3d4_clk>;
>  					#clock-cells = <1>;
> -					renesas,clock-indices = <R8A7795_CLK_HSUSB>;
> -					clock-output-names = "hsusb";
> +					renesas,clock-indices = <R8A7795_CLK_HSUSB
> +								 R8A7795_CLK_EHCI0
> +								 R8A7795_CLK_EHCI1
> +								 R8A7795_CLK_EHCI2>;
> +					clock-output-names = "hsusb", "ehci0", "ehci1", "ehci2";
>  				};
>  			};
>  		};
> diff --git a/include/dt-bindings/clock/r8a7795-clock.h
> b/include/dt-bindings/clock/r8a7795-clock.h index ffb0b5b..2bd9d93 100644
> --- a/include/dt-bindings/clock/r8a7795-clock.h
> +++ b/include/dt-bindings/clock/r8a7795-clock.h
> @@ -30,6 +30,9 @@
> 
>  /* MSTP7 */
>  #define R8A7795_CLK_HSUSB		4
> +#define R8A7795_CLK_EHCI0		3
> +#define R8A7795_CLK_EHCI1		2
> +#define R8A7795_CLK_EHCI2		1

Could you please sort the clocks in ascending order as we do in all the Gen2 
clock headers ? Same comment for r8a7795.dtsi.

> 
>  /* MSTP8 */

-- 
Regards,

Laurent Pinchart


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

end of thread, other threads:[~2015-09-04 21:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-24  2:29 [PATCH 12/25 v7][RFC] arm64: renesas: r8a7795: add EHCI[012] clocks Kuninori Morimoto
2015-09-04 21:49 Laurent Pinchart

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.