* [PATCH 11/25 v7][RFC] arm64: renesas: r8a7795: add mstp7 node and enable HSUSB clock
@ 2015-08-24 2:28 Kuninori Morimoto
2015-08-24 9:30 ` Geert Uytterhoeven
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Kuninori Morimoto @ 2015-08-24 2:28 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 | 1 +
2 files changed, 11 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
index c3421b3..77cfcea 100644
--- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
@@ -100,6 +100,16 @@
renesas,clock-indices = <R8A7795_CLK_SCIF2>;
clock-output-names = "scif2";
};
+
+ mstp7_clks: mstp7_clks@e615014c {
+ compatible = "renesas,r8a7795-mstp-clocks",
+ "renesas,cpg-mstp-clocks";
+ reg = <0 0xe615014c 0 4>, <0 0xe61501c4 0 4>;
+ clocks = <&s3d4_clk>;
+ #clock-cells = <1>;
+ renesas,clock-indices = <R8A7795_CLK_HSUSB>;
+ clock-output-names = "hsusb";
+ };
};
};
diff --git a/include/dt-bindings/clock/r8a7795-clock.h b/include/dt-bindings/clock/r8a7795-clock.h
index 27b3a29..ffb0b5b 100644
--- a/include/dt-bindings/clock/r8a7795-clock.h
+++ b/include/dt-bindings/clock/r8a7795-clock.h
@@ -29,6 +29,7 @@
/* MSTP5 */
/* MSTP7 */
+#define R8A7795_CLK_HSUSB 4
/* MSTP8 */
--
1.9.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 11/25 v7][RFC] arm64: renesas: r8a7795: add mstp7 node and enable HSUSB clock
2015-08-24 2:28 [PATCH 11/25 v7][RFC] arm64: renesas: r8a7795: add mstp7 node and enable HSUSB clock Kuninori Morimoto
@ 2015-08-24 9:30 ` Geert Uytterhoeven
2015-08-24 11:08 ` Yoshihiro Shimoda
2015-09-04 21:45 ` Laurent Pinchart
2 siblings, 0 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2015-08-24 9:30 UTC (permalink / raw)
To: linux-sh
Hi Morimoto-san, Shimoda-san,
On Mon, Aug 24, 2015 at 4:28 AM, Kuninori Morimoto
<kuninori.morimoto.gx@renesas.com> wrote:
> --- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi
> +++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
> @@ -100,6 +100,16 @@
> renesas,clock-indices = <R8A7795_CLK_SCIF2>;
> clock-output-names = "scif2";
> };
> +
> + mstp7_clks: mstp7_clks@e615014c {
> + compatible = "renesas,r8a7795-mstp-clocks",
> + "renesas,cpg-mstp-clocks";
> + reg = <0 0xe615014c 0 4>, <0 0xe61501c4 0 4>;
> + clocks = <&s3d4_clk>;
Shouldn't this be the "s3d2" clock?
> + #clock-cells = <1>;
> + renesas,clock-indices = <R8A7795_CLK_HSUSB>;
> + clock-output-names = "hsusb";
> + };
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [PATCH 11/25 v7][RFC] arm64: renesas: r8a7795: add mstp7 node and enable HSUSB clock
2015-08-24 2:28 [PATCH 11/25 v7][RFC] arm64: renesas: r8a7795: add mstp7 node and enable HSUSB clock Kuninori Morimoto
2015-08-24 9:30 ` Geert Uytterhoeven
@ 2015-08-24 11:08 ` Yoshihiro Shimoda
2015-09-04 21:45 ` Laurent Pinchart
2 siblings, 0 replies; 4+ messages in thread
From: Yoshihiro Shimoda @ 2015-08-24 11:08 UTC (permalink / raw)
To: linux-sh
SGkgR2VlcnQtc2FuLA0KDQo+IFNlbnQ6IE1vbmRheSwgQXVndXN0IDI0LCAyMDE1IDY6MzEgUE0N
Cj4gDQo+IEhpIE1vcmltb3RvLXNhbiwgU2hpbW9kYS1zYW4sDQo+IA0KPiBPbiBNb24sIEF1ZyAy
NCwgMjAxNSBhdCA0OjI4IEFNLCBLdW5pbm9yaSBNb3JpbW90bw0KPiA8a3VuaW5vcmkubW9yaW1v
dG8uZ3hAcmVuZXNhcy5jb20+IHdyb3RlOg0KPiA+IC0tLSBhL2FyY2gvYXJtNjQvYm9vdC9kdHMv
cmVuZXNhcy9yOGE3Nzk1LmR0c2kNCj4gPiArKysgYi9hcmNoL2FybTY0L2Jvb3QvZHRzL3JlbmVz
YXMvcjhhNzc5NS5kdHNpDQo+ID4gQEAgLTEwMCw2ICsxMDAsMTYgQEANCj4gPiAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmVuZXNhcyxjbG9jay1pbmRpY2VzID0gPFI4
QTc3OTVfQ0xLX1NDSUYyPjsNCj4gPiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgY2xvY2stb3V0cHV0LW5hbWVzID0gInNjaWYyIjsNCj4gPiAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgIH07DQo+ID4gKw0KPiA+ICsgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgbXN0cDdfY2xrczogbXN0cDdfY2xrc0BlNjE1MDE0YyB7DQo+ID4gKyAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvbXBhdGlibGUgPSAicmVuZXNhcyxyOGE3Nzk1
LW1zdHAtY2xvY2tzIiwNCj4gPiArICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAg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29udmVyc2F0aW9ucyB3aXRo
IHRlY2huaWNhbCBwZW9wbGUsIEkgY2FsbCBteXNlbGYgYSBoYWNrZXIuIEJ1dA0KPiB3aGVuIEkn
bSB0YWxraW5nIHRvIGpvdXJuYWxpc3RzIEkganVzdCBzYXkgInByb2dyYW1tZXIiIG9yIHNvbWV0
aGluZyBsaWtlIHRoYXQuDQo+ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLS0gTGlu
dXMgVG9ydmFsZHMNCg=
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 11/25 v7][RFC] arm64: renesas: r8a7795: add mstp7 node and enable HSUSB clock
2015-08-24 2:28 [PATCH 11/25 v7][RFC] arm64: renesas: r8a7795: add mstp7 node and enable HSUSB clock Kuninori Morimoto
2015-08-24 9:30 ` Geert Uytterhoeven
2015-08-24 11:08 ` Yoshihiro Shimoda
@ 2015-09-04 21:45 ` Laurent Pinchart
2 siblings, 0 replies; 4+ messages in thread
From: Laurent Pinchart @ 2015-09-04 21:45 UTC (permalink / raw)
To: linux-sh
Hello Morimoto-san,
Thank you for the patch.
On Monday 24 August 2015 02:28:56 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 | 1 +
> 2 files changed, 11 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi
> b/arch/arm64/boot/dts/renesas/r8a7795.dtsi index c3421b3..77cfcea 100644
> --- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi
> +++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
> @@ -100,6 +100,16 @@
> renesas,clock-indices = <R8A7795_CLK_SCIF2>;
> clock-output-names = "scif2";
> };
> +
> + mstp7_clks: mstp7_clks@e615014c {
> + compatible = "renesas,r8a7795-mstp-clocks",
> + "renesas,cpg-mstp-clocks";
> + reg = <0 0xe615014c 0 4>, <0 0xe61501c4 0 4>;
> + clocks = <&s3d4_clk>;
> + #clock-cells = <1>;
> + renesas,clock-indices = <R8A7795_CLK_HSUSB>;
You should use the standard clock-indices property instead of the Renesas-
specific version.
> + clock-output-names = "hsusb";
> + };
> };
> };
>
> diff --git a/include/dt-bindings/clock/r8a7795-clock.h
> b/include/dt-bindings/clock/r8a7795-clock.h index 27b3a29..ffb0b5b 100644
> --- a/include/dt-bindings/clock/r8a7795-clock.h
> +++ b/include/dt-bindings/clock/r8a7795-clock.h
> @@ -29,6 +29,7 @@
> /* MSTP5 */
>
> /* MSTP7 */
> +#define R8A7795_CLK_HSUSB 4
>
> /* MSTP8 */
--
Regards,
Laurent Pinchart
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-09-04 21:45 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-24 2:28 [PATCH 11/25 v7][RFC] arm64: renesas: r8a7795: add mstp7 node and enable HSUSB clock Kuninori Morimoto
2015-08-24 9:30 ` Geert Uytterhoeven
2015-08-24 11:08 ` Yoshihiro Shimoda
2015-09-04 21:45 ` Laurent Pinchart
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).