* [PATCH 0/2] r8a774e1 add PWM support @ 2020-08-25 10:44 Lad Prabhakar 2020-08-25 10:44 ` [PATCH 1/2] dt-bindings: pwm: renesas,pwm-rcar: Add r8a774e1 support Lad Prabhakar 2020-08-25 10:44 ` [PATCH 2/2] arm64: dts: renesas: r8a774e1: Add PWM device nodes Lad Prabhakar 0 siblings, 2 replies; 10+ messages in thread From: Lad Prabhakar @ 2020-08-25 10:44 UTC (permalink / raw) To: Geert Uytterhoeven, Thierry Reding, Uwe Kleine-König, Lee Jones, Rob Herring, Magnus Damm, Yoshihiro Shimoda, linux-pwm Cc: devicetree, linux-kernel, linux-renesas-soc, Prabhakar Hi All, This patch series adds PWM support to R8A774E1 (RZ/G2H) SoC. Patches apply on top of [1]. [1] https://git.kernel.org/pub/scm/linux/kernel/git/geert/ renesas-devel.git/log/?h=renesas-arm-dt-for-v5.10 Cheers, Prabhakar Marian-Cristian Rotariu (2): dt-bindings: pwm: renesas,pwm-rcar: Add r8a774e1 support arm64: dts: renesas: r8a774e1: Add PWM device nodes .../bindings/pwm/renesas,pwm-rcar.yaml | 1 + arch/arm64/boot/dts/renesas/r8a774e1.dtsi | 64 ++++++++++++++++++- 2 files changed, 64 insertions(+), 1 deletion(-) -- 2.17.1 ^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH 1/2] dt-bindings: pwm: renesas,pwm-rcar: Add r8a774e1 support 2020-08-25 10:44 [PATCH 0/2] r8a774e1 add PWM support Lad Prabhakar @ 2020-08-25 10:44 ` Lad Prabhakar 2020-08-25 13:29 ` Geert Uytterhoeven ` (2 more replies) 2020-08-25 10:44 ` [PATCH 2/2] arm64: dts: renesas: r8a774e1: Add PWM device nodes Lad Prabhakar 1 sibling, 3 replies; 10+ messages in thread From: Lad Prabhakar @ 2020-08-25 10:44 UTC (permalink / raw) To: Geert Uytterhoeven, Thierry Reding, Uwe Kleine-König, Lee Jones, Rob Herring, Magnus Damm, Yoshihiro Shimoda, linux-pwm Cc: devicetree, linux-kernel, linux-renesas-soc, Prabhakar From: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com> Document RZ/G2H (R8A774E1) SoC bindings. No driver change is needed due to the fallback compatible value "renesas,pwm-rcar". Signed-off-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> --- Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.yaml b/Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.yaml index daadde9ff9c4..5407c11e92a4 100644 --- a/Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.yaml +++ b/Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.yaml @@ -20,6 +20,7 @@ properties: - renesas,pwm-r8a774a1 # RZ/G2M - renesas,pwm-r8a774b1 # RZ/G2N - renesas,pwm-r8a774c0 # RZ/G2E + - renesas,pwm-r8a774e1 # RZ/G2H - renesas,pwm-r8a7778 # R-Car M1A - renesas,pwm-r8a7779 # R-Car H1 - renesas,pwm-r8a7790 # R-Car H2 -- 2.17.1 ^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [PATCH 1/2] dt-bindings: pwm: renesas,pwm-rcar: Add r8a774e1 support 2020-08-25 10:44 ` [PATCH 1/2] dt-bindings: pwm: renesas,pwm-rcar: Add r8a774e1 support Lad Prabhakar @ 2020-08-25 13:29 ` Geert Uytterhoeven 2020-08-28 4:23 ` Yoshihiro Shimoda 2020-09-08 22:38 ` Rob Herring 2 siblings, 0 replies; 10+ messages in thread From: Geert Uytterhoeven @ 2020-08-25 13:29 UTC (permalink / raw) To: Lad Prabhakar Cc: Thierry Reding, Uwe Kleine-König, Lee Jones, Rob Herring, Magnus Damm, Yoshihiro Shimoda, Linux PWM List, open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS, Linux Kernel Mailing List, Linux-Renesas, Prabhakar On Tue, Aug 25, 2020 at 12:45 PM Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> wrote: > From: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com> > > Document RZ/G2H (R8A774E1) SoC bindings. > > No driver change is needed due to the fallback compatible value > "renesas,pwm-rcar". > > Signed-off-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com> > Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> 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] 10+ messages in thread
* RE: [PATCH 1/2] dt-bindings: pwm: renesas,pwm-rcar: Add r8a774e1 support 2020-08-25 10:44 ` [PATCH 1/2] dt-bindings: pwm: renesas,pwm-rcar: Add r8a774e1 support Lad Prabhakar 2020-08-25 13:29 ` Geert Uytterhoeven @ 2020-08-28 4:23 ` Yoshihiro Shimoda 2020-09-08 22:38 ` Rob Herring 2 siblings, 0 replies; 10+ messages in thread From: Yoshihiro Shimoda @ 2020-08-28 4:23 UTC (permalink / raw) To: Prabhakar Mahadev Lad, Geert Uytterhoeven, Thierry Reding, Uwe Kleine-König, Lee Jones, Rob Herring, Magnus Damm, linux-pwm Cc: devicetree, linux-kernel, linux-renesas-soc, Prabhakar Hi Lad-san, > From: Lad Prabhakar, Sent: Tuesday, August 25, 2020 7:45 PM > > From: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com> > > Document RZ/G2H (R8A774E1) SoC bindings. > > No driver change is needed due to the fallback compatible value > "renesas,pwm-rcar". > > Signed-off-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com> > Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> > --- Thank you for the patch! Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Best regards, Yoshihiro Shimoda > Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.yaml | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.yaml > b/Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.yaml > index daadde9ff9c4..5407c11e92a4 100644 > --- a/Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.yaml > +++ b/Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.yaml > @@ -20,6 +20,7 @@ properties: > - renesas,pwm-r8a774a1 # RZ/G2M > - renesas,pwm-r8a774b1 # RZ/G2N > - renesas,pwm-r8a774c0 # RZ/G2E > + - renesas,pwm-r8a774e1 # RZ/G2H > - renesas,pwm-r8a7778 # R-Car M1A > - renesas,pwm-r8a7779 # R-Car H1 > - renesas,pwm-r8a7790 # R-Car H2 > -- > 2.17.1 ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 1/2] dt-bindings: pwm: renesas,pwm-rcar: Add r8a774e1 support 2020-08-25 10:44 ` [PATCH 1/2] dt-bindings: pwm: renesas,pwm-rcar: Add r8a774e1 support Lad Prabhakar 2020-08-25 13:29 ` Geert Uytterhoeven 2020-08-28 4:23 ` Yoshihiro Shimoda @ 2020-09-08 22:38 ` Rob Herring 2 siblings, 0 replies; 10+ messages in thread From: Rob Herring @ 2020-09-08 22:38 UTC (permalink / raw) To: Lad Prabhakar Cc: Rob Herring, linux-renesas-soc, Thierry Reding, Prabhakar, Uwe Kleine-König, Geert Uytterhoeven, linux-kernel, Yoshihiro Shimoda, linux-pwm, Lee Jones, Magnus Damm, devicetree On Tue, 25 Aug 2020 11:44:54 +0100, Lad Prabhakar wrote: > From: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com> > > Document RZ/G2H (R8A774E1) SoC bindings. > > No driver change is needed due to the fallback compatible value > "renesas,pwm-rcar". > > Signed-off-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com> > Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> > --- > Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.yaml | 1 + > 1 file changed, 1 insertion(+) > Acked-by: Rob Herring <robh@kernel.org> ^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH 2/2] arm64: dts: renesas: r8a774e1: Add PWM device nodes 2020-08-25 10:44 [PATCH 0/2] r8a774e1 add PWM support Lad Prabhakar 2020-08-25 10:44 ` [PATCH 1/2] dt-bindings: pwm: renesas,pwm-rcar: Add r8a774e1 support Lad Prabhakar @ 2020-08-25 10:44 ` Lad Prabhakar 2020-08-25 13:32 ` Geert Uytterhoeven 1 sibling, 1 reply; 10+ messages in thread From: Lad Prabhakar @ 2020-08-25 10:44 UTC (permalink / raw) To: Geert Uytterhoeven, Thierry Reding, Uwe Kleine-König, Lee Jones, Rob Herring, Magnus Damm, Yoshihiro Shimoda, linux-pwm Cc: devicetree, linux-kernel, linux-renesas-soc, Prabhakar From: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com> This patch adds PWM[0123456] device nodes to the RZ/G2H (a.k.a R8A774E1) device tree. Signed-off-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> --- 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 ^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [PATCH 2/2] arm64: dts: renesas: r8a774e1: Add PWM device nodes 2020-08-25 10:44 ` [PATCH 2/2] arm64: dts: renesas: r8a774e1: Add PWM device nodes Lad Prabhakar @ 2020-08-25 13:32 ` Geert Uytterhoeven 2020-09-23 12:14 ` Thierry Reding 0 siblings, 1 reply; 10+ messages in thread From: Geert Uytterhoeven @ 2020-08-25 13:32 UTC (permalink / raw) To: Lad Prabhakar Cc: Thierry Reding, Uwe Kleine-König, Lee Jones, Rob Herring, Magnus Damm, Yoshihiro Shimoda, Linux PWM List, open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS, Linux Kernel Mailing List, Linux-Renesas, Prabhakar On Tue, Aug 25, 2020 at 12:45 PM Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> wrote: > From: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com> > > This patch adds PWM[0123456] device nodes to the RZ/G2H (a.k.a R8A774E1) > device tree. > > Signed-off-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com> > Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> i.e. will queue in renesas-devel for v5.10. 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] 10+ messages in thread
* Re: [PATCH 2/2] arm64: dts: renesas: r8a774e1: Add PWM device nodes 2020-08-25 13:32 ` Geert Uytterhoeven @ 2020-09-23 12:14 ` Thierry Reding 2020-09-23 13:29 ` Geert Uytterhoeven 0 siblings, 1 reply; 10+ messages in thread From: Thierry Reding @ 2020-09-23 12:14 UTC (permalink / raw) To: Geert Uytterhoeven Cc: Lad Prabhakar, Uwe Kleine-König, Lee Jones, Rob Herring, Magnus Damm, Yoshihiro Shimoda, Linux PWM List, open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS, Linux Kernel Mailing List, Linux-Renesas, Prabhakar [-- Attachment #1: Type: text/plain, Size: 706 bytes --] On Tue, Aug 25, 2020 at 03:32:08PM +0200, Geert Uytterhoeven wrote: > On Tue, Aug 25, 2020 at 12:45 PM Lad Prabhakar > <prabhakar.mahadev-lad.rj@bp.renesas.com> wrote: > > From: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com> > > > > This patch adds PWM[0123456] device nodes to the RZ/G2H (a.k.a R8A774E1) > > device tree. > > > > Signed-off-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com> > > Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> > > Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> > i.e. will queue in renesas-devel for v5.10. Hi Geert, did you also pick up patch 1/2 in this series? Thierry [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 833 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 2/2] arm64: dts: renesas: r8a774e1: Add PWM device nodes 2020-09-23 12:14 ` Thierry Reding @ 2020-09-23 13:29 ` Geert Uytterhoeven 2020-09-23 14:11 ` Thierry Reding 0 siblings, 1 reply; 10+ messages in thread From: Geert Uytterhoeven @ 2020-09-23 13:29 UTC (permalink / raw) To: Thierry Reding Cc: Lad Prabhakar, Uwe Kleine-König, Lee Jones, Rob Herring, Magnus Damm, Yoshihiro Shimoda, Linux PWM List, open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS, Linux Kernel Mailing List, Linux-Renesas, Prabhakar Hi Thierry, On Wed, Sep 23, 2020 at 2:14 PM Thierry Reding <thierry.reding@gmail.com> 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 > > <prabhakar.mahadev-lad.rj@bp.renesas.com> wrote: > > > From: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com> > > > > > > This patch adds PWM[0123456] device nodes to the RZ/G2H (a.k.a R8A774E1) > > > device tree. > > > > > > Signed-off-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com> > > > Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> > > > > Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> > > 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 -- 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] 10+ messages in thread
* Re: [PATCH 2/2] arm64: dts: renesas: r8a774e1: Add PWM device nodes 2020-09-23 13:29 ` Geert Uytterhoeven @ 2020-09-23 14:11 ` Thierry Reding 0 siblings, 0 replies; 10+ messages in thread From: Thierry Reding @ 2020-09-23 14:11 UTC (permalink / raw) To: Geert Uytterhoeven Cc: Lad Prabhakar, Uwe Kleine-König, Lee Jones, Rob Herring, Magnus Damm, Yoshihiro Shimoda, Linux PWM List, open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS, Linux Kernel Mailing List, Linux-Renesas, Prabhakar [-- Attachment #1: Type: text/plain, Size: 1060 bytes --] 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 <thierry.reding@gmail.com> 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 > > > <prabhakar.mahadev-lad.rj@bp.renesas.com> wrote: > > > > From: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com> > > > > > > > > This patch adds PWM[0123456] device nodes to the RZ/G2H (a.k.a R8A774E1) > > > > device tree. > > > > > > > > Signed-off-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com> > > > > Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> > > > > > > Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> > > > 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 [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 833 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2020-09-23 14:11 UTC | newest] Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2020-08-25 10:44 [PATCH 0/2] r8a774e1 add PWM support Lad Prabhakar 2020-08-25 10:44 ` [PATCH 1/2] dt-bindings: pwm: renesas,pwm-rcar: Add r8a774e1 support Lad Prabhakar 2020-08-25 13:29 ` Geert Uytterhoeven 2020-08-28 4:23 ` Yoshihiro Shimoda 2020-09-08 22:38 ` Rob Herring 2020-08-25 10:44 ` [PATCH 2/2] arm64: dts: renesas: r8a774e1: Add PWM device nodes Lad Prabhakar 2020-08-25 13:32 ` Geert Uytterhoeven 2020-09-23 12:14 ` Thierry Reding 2020-09-23 13:29 ` Geert Uytterhoeven 2020-09-23 14:11 ` Thierry Reding
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).