2020-08-25 10:46:36

by Prabhakar Mahadev Lad

[permalink] [raw]
Subject: [PATCH 2/2] arm64: dts: renesas: r8a774e1: Add PWM device nodes

From: Marian-Cristian Rotariu <[email protected]>

This patch adds PWM[0123456] device nodes to the RZ/G2H (a.k.a R8A774E1)
device tree.

Signed-off-by: Marian-Cristian Rotariu <[email protected]>
Signed-off-by: Lad Prabhakar <[email protected]>
---
arch/arm64/boot/dts/renesas/r8a774e1.dtsi | 64 ++++++++++++++++++++++-
1 file changed, 63 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/renesas/r8a774e1.dtsi b/arch/arm64/boot/dts/renesas/r8a774e1.dtsi
index da34ded1dff5..f2216df48671 100644
--- a/arch/arm64/boot/dts/renesas/r8a774e1.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a774e1.dtsi
@@ -1276,11 +1276,73 @@
};

pwm0: pwm@e6e30000 {
+ compatible = "renesas,pwm-r8a774e1", "renesas,pwm-rcar";
reg = <0 0xe6e30000 0 0x8>;
+ clocks = <&cpg CPG_MOD 523>;
+ power-domains = <&sysc R8A774E1_PD_ALWAYS_ON>;
+ resets = <&cpg 523>;
+ #pwm-cells = <2>;
+ status = "disabled";
+ };
+
+ pwm1: pwm@e6e31000 {
+ compatible = "renesas,pwm-r8a774e1", "renesas,pwm-rcar";
+ reg = <0 0xe6e31000 0 0x8>;
+ clocks = <&cpg CPG_MOD 523>;
+ power-domains = <&sysc R8A774E1_PD_ALWAYS_ON>;
+ resets = <&cpg 523>;
+ #pwm-cells = <2>;
+ status = "disabled";
+ };
+
+ pwm2: pwm@e6e32000 {
+ compatible = "renesas,pwm-r8a774e1", "renesas,pwm-rcar";
+ reg = <0 0xe6e32000 0 0x8>;
+ clocks = <&cpg CPG_MOD 523>;
+ power-domains = <&sysc R8A774E1_PD_ALWAYS_ON>;
+ resets = <&cpg 523>;
+ #pwm-cells = <2>;
+ status = "disabled";
+ };
+
+ pwm3: pwm@e6e33000 {
+ compatible = "renesas,pwm-r8a774e1", "renesas,pwm-rcar";
+ reg = <0 0xe6e33000 0 0x8>;
+ clocks = <&cpg CPG_MOD 523>;
+ power-domains = <&sysc R8A774E1_PD_ALWAYS_ON>;
+ resets = <&cpg 523>;
+ #pwm-cells = <2>;
+ status = "disabled";
+ };
+
+ pwm4: pwm@e6e34000 {
+ compatible = "renesas,pwm-r8a774e1", "renesas,pwm-rcar";
+ reg = <0 0xe6e34000 0 0x8>;
+ clocks = <&cpg CPG_MOD 523>;
+ power-domains = <&sysc R8A774E1_PD_ALWAYS_ON>;
+ resets = <&cpg 523>;
#pwm-cells = <2>;
status = "disabled";
+ };

- /* placeholder */
+ pwm5: pwm@e6e35000 {
+ compatible = "renesas,pwm-r8a774e1", "renesas,pwm-rcar";
+ reg = <0 0xe6e35000 0 0x8>;
+ clocks = <&cpg CPG_MOD 523>;
+ power-domains = <&sysc R8A774E1_PD_ALWAYS_ON>;
+ resets = <&cpg 523>;
+ #pwm-cells = <2>;
+ status = "disabled";
+ };
+
+ pwm6: pwm@e6e36000 {
+ compatible = "renesas,pwm-r8a774e1", "renesas,pwm-rcar";
+ reg = <0 0xe6e36000 0 0x8>;
+ clocks = <&cpg CPG_MOD 523>;
+ power-domains = <&sysc R8A774E1_PD_ALWAYS_ON>;
+ resets = <&cpg 523>;
+ #pwm-cells = <2>;
+ status = "disabled";
};

scif0: serial@e6e60000 {
--
2.17.1


2020-08-25 13:39:44

by Geert Uytterhoeven

[permalink] [raw]
Subject: Re: [PATCH 2/2] arm64: dts: renesas: r8a774e1: Add PWM device nodes

On Tue, Aug 25, 2020 at 12:45 PM Lad Prabhakar
<[email protected]> wrote:
> From: Marian-Cristian Rotariu <[email protected]>
>
> This patch adds PWM[0123456] device nodes to the RZ/G2H (a.k.a R8A774E1)
> device tree.
>
> Signed-off-by: Marian-Cristian Rotariu <[email protected]>
> Signed-off-by: Lad Prabhakar <[email protected]>

Reviewed-by: Geert Uytterhoeven <[email protected]>
i.e. will queue in renesas-devel for v5.10.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

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

2020-09-23 12:18:40

by Thierry Reding

[permalink] [raw]
Subject: Re: [PATCH 2/2] arm64: dts: renesas: r8a774e1: Add PWM device nodes

On Tue, Aug 25, 2020 at 03:32:08PM +0200, Geert Uytterhoeven wrote:
> On Tue, Aug 25, 2020 at 12:45 PM Lad Prabhakar
> <[email protected]> wrote:
> > From: Marian-Cristian Rotariu <[email protected]>
> >
> > This patch adds PWM[0123456] device nodes to the RZ/G2H (a.k.a R8A774E1)
> > device tree.
> >
> > Signed-off-by: Marian-Cristian Rotariu <[email protected]>
> > Signed-off-by: Lad Prabhakar <[email protected]>
>
> Reviewed-by: Geert Uytterhoeven <[email protected]>
> i.e. will queue in renesas-devel for v5.10.

Hi Geert,

did you also pick up patch 1/2 in this series?

Thierry


Attachments:
(No filename) (706.00 B)
signature.asc (849.00 B)
Download all attachments

2020-09-23 13:31:36

by Geert Uytterhoeven

[permalink] [raw]
Subject: Re: [PATCH 2/2] arm64: dts: renesas: r8a774e1: Add PWM device nodes

Hi Thierry,

On Wed, Sep 23, 2020 at 2:14 PM Thierry Reding <[email protected]> wrote:
> On Tue, Aug 25, 2020 at 03:32:08PM +0200, Geert Uytterhoeven wrote:
> > On Tue, Aug 25, 2020 at 12:45 PM Lad Prabhakar
> > <[email protected]> wrote:
> > > From: Marian-Cristian Rotariu <[email protected]>
> > >
> > > This patch adds PWM[0123456] device nodes to the RZ/G2H (a.k.a R8A774E1)
> > > device tree.
> > >
> > > Signed-off-by: Marian-Cristian Rotariu <[email protected]>
> > > Signed-off-by: Lad Prabhakar <[email protected]>
> >
> > Reviewed-by: Geert Uytterhoeven <[email protected]>
> > i.e. will queue in renesas-devel for v5.10.
>
> Hi Geert,
>
> did you also pick up patch 1/2 in this series?

No, I typically don't take DT binding updates for non-core devices.
Can you please pick it up?

Thanks!

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

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

2020-09-23 14:13:45

by Thierry Reding

[permalink] [raw]
Subject: Re: [PATCH 2/2] arm64: dts: renesas: r8a774e1: Add PWM device nodes

On Wed, Sep 23, 2020 at 03:29:25PM +0200, Geert Uytterhoeven wrote:
> Hi Thierry,
>
> On Wed, Sep 23, 2020 at 2:14 PM Thierry Reding <[email protected]> wrote:
> > On Tue, Aug 25, 2020 at 03:32:08PM +0200, Geert Uytterhoeven wrote:
> > > On Tue, Aug 25, 2020 at 12:45 PM Lad Prabhakar
> > > <[email protected]> wrote:
> > > > From: Marian-Cristian Rotariu <[email protected]>
> > > >
> > > > This patch adds PWM[0123456] device nodes to the RZ/G2H (a.k.a R8A774E1)
> > > > device tree.
> > > >
> > > > Signed-off-by: Marian-Cristian Rotariu <[email protected]>
> > > > Signed-off-by: Lad Prabhakar <[email protected]>
> > >
> > > Reviewed-by: Geert Uytterhoeven <[email protected]>
> > > i.e. will queue in renesas-devel for v5.10.
> >
> > Hi Geert,
> >
> > did you also pick up patch 1/2 in this series?
>
> No, I typically don't take DT binding updates for non-core devices.
> Can you please pick it up?

Will do.

Thierry


Attachments:
(No filename) (1.04 kB)
signature.asc (849.00 B)
Download all attachments