Message ID | 20230502170618.55967-3-wsa+renesas@sang-engineering.com (mailing list archive) |
---|---|
State | Mainlined |
Commit | 18cbbdd846c5d74bd56fd1f229d074e1f7068fc8 |
Delegated to: | Geert Uytterhoeven |
Headers | show |
Series | r8a779a0: enable PWM | expand |
Hi Wolfram, On Tue, May 2, 2023 at 7:06 PM Wolfram Sang <wsa+renesas@sang-engineering.com> wrote: > From: Phong Hoang <phong.hoang.wz@renesas.com> > > This patch adds PWM nodes for R-Car V3U (r8a779a0) SoC. > > Signed-off-by: Phong Hoang <phong.hoang.wz@renesas.com> > [wsa: rebased] > Tested-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com> > Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> i.e. will queue in renesas-devel for v6.5. > --- a/arch/arm64/boot/dts/renesas/r8a779a0.dtsi > +++ b/arch/arm64/boot/dts/renesas/r8a779a0.dtsi > @@ -1108,6 +1108,56 @@ msiof5: spi@e6c28000 { > status = "disabled"; > }; > > + pwm0: pwm@e6e30000 { I'll move this before serial@e6e60000 while applying, to preserve sort order (by unit address). Gr{oetje,eeting}s, Geert
> > --- a/arch/arm64/boot/dts/renesas/r8a779a0.dtsi > > +++ b/arch/arm64/boot/dts/renesas/r8a779a0.dtsi > > @@ -1108,6 +1108,56 @@ msiof5: spi@e6c28000 { > > status = "disabled"; > > }; > > > > + pwm0: pwm@e6e30000 { > > I'll move this before serial@e6e60000 while applying, to preserve sort > order (by unit address). Oops, right, things have been added since I last worked on V3U. Thank you!
Quoting Geert Uytterhoeven (2023-05-03 11:14:52) > Hi Wolfram, > > On Tue, May 2, 2023 at 7:06 PM Wolfram Sang > <wsa+renesas@sang-engineering.com> wrote: > > From: Phong Hoang <phong.hoang.wz@renesas.com> > > > > This patch adds PWM nodes for R-Car V3U (r8a779a0) SoC. > > > > Signed-off-by: Phong Hoang <phong.hoang.wz@renesas.com> > > [wsa: rebased] > > Tested-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com> > > Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> > > Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> > i.e. will queue in renesas-devel for v6.5. > > > --- a/arch/arm64/boot/dts/renesas/r8a779a0.dtsi > > +++ b/arch/arm64/boot/dts/renesas/r8a779a0.dtsi > > @@ -1108,6 +1108,56 @@ msiof5: spi@e6c28000 { > > status = "disabled"; > > }; > > > > + pwm0: pwm@e6e30000 { > > I'll move this before serial@e6e60000 while applying, to preserve sort > order (by unit address). I still wonder when we can have nice tools that will sort DT and format DT files for us! Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com> > > 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
diff --git a/arch/arm64/boot/dts/renesas/r8a779a0.dtsi b/arch/arm64/boot/dts/renesas/r8a779a0.dtsi index bf587a14ec19..7c63591a138f 100644 --- a/arch/arm64/boot/dts/renesas/r8a779a0.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a779a0.dtsi @@ -1108,6 +1108,56 @@ msiof5: spi@e6c28000 { status = "disabled"; }; + pwm0: pwm@e6e30000 { + compatible = "renesas,pwm-r8a779a0", "renesas,pwm-rcar"; + reg = <0 0xe6e30000 0 0x10>; + #pwm-cells = <2>; + clocks = <&cpg CPG_MOD 628>; + power-domains = <&sysc R8A779A0_PD_ALWAYS_ON>; + resets = <&cpg 628>; + status = "disabled"; + }; + + pwm1: pwm@e6e31000 { + compatible = "renesas,pwm-r8a779a0", "renesas,pwm-rcar"; + reg = <0 0xe6e31000 0 0x10>; + #pwm-cells = <2>; + clocks = <&cpg CPG_MOD 628>; + power-domains = <&sysc R8A779A0_PD_ALWAYS_ON>; + resets = <&cpg 628>; + status = "disabled"; + }; + + pwm2: pwm@e6e32000 { + compatible = "renesas,pwm-r8a779a0", "renesas,pwm-rcar"; + reg = <0 0xe6e32000 0 0x10>; + #pwm-cells = <2>; + clocks = <&cpg CPG_MOD 628>; + power-domains = <&sysc R8A779A0_PD_ALWAYS_ON>; + resets = <&cpg 628>; + status = "disabled"; + }; + + pwm3: pwm@e6e33000 { + compatible = "renesas,pwm-r8a779a0", "renesas,pwm-rcar"; + reg = <0 0xe6e33000 0 0x10>; + #pwm-cells = <2>; + clocks = <&cpg CPG_MOD 628>; + power-domains = <&sysc R8A779A0_PD_ALWAYS_ON>; + resets = <&cpg 628>; + status = "disabled"; + }; + + pwm4: pwm@e6e34000 { + compatible = "renesas,pwm-r8a779a0", "renesas,pwm-rcar"; + reg = <0 0xe6e34000 0 0x10>; + #pwm-cells = <2>; + clocks = <&cpg CPG_MOD 628>; + power-domains = <&sysc R8A779A0_PD_ALWAYS_ON>; + resets = <&cpg 628>; + status = "disabled"; + }; + vin00: video@e6ef0000 { compatible = "renesas,vin-r8a779a0"; reg = <0 0xe6ef0000 0 0x1000>;