* [PATCH 0/2] arm64: dts: renesas: r8a77995 and draak: enable PWM channels @ 2017-10-04 10:27 Yoshihiro Shimoda [not found] ` <1507112851-10042-1-git-send-email-yoshihiro.shimoda.uh-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org> 2017-10-04 10:27 ` [PATCH 2/2] arm64: dts: renesas: r8a77995: draak: enable PWM channel 0 and 1 Yoshihiro Shimoda 0 siblings, 2 replies; 7+ messages in thread From: Yoshihiro Shimoda @ 2017-10-04 10:27 UTC (permalink / raw) To: horms, magnus.damm, robh+dt, mark.rutland Cc: devicetree, linux-renesas-soc, Yoshihiro Shimoda This patch set is based on the renesas-drivers.git / renesas-drivers-2017-10-03-v4.14-rc3 tag. This patch needs the pfc of PWM patch for r8a77995: https://patchwork.kernel.org/patch/9984151/ Yoshihiro Shimoda (2): arm64: dts: renesas: r8a77995: add PWM device nodes arm64: dts: renesas: r8a77995: draak: enable PWM channel 0 and 1 arch/arm64/boot/dts/renesas/r8a77995-draak.dts | 24 ++++++++++++++++ arch/arm64/boot/dts/renesas/r8a77995.dtsi | 40 ++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) -- 1.9.1 ^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <1507112851-10042-1-git-send-email-yoshihiro.shimoda.uh-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>]
* [PATCH 1/2] arm64: dts: renesas: r8a77995: add PWM device nodes [not found] ` <1507112851-10042-1-git-send-email-yoshihiro.shimoda.uh-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org> @ 2017-10-04 10:27 ` Yoshihiro Shimoda 2017-10-04 14:02 ` Geert Uytterhoeven 0 siblings, 1 reply; 7+ messages in thread From: Yoshihiro Shimoda @ 2017-10-04 10:27 UTC (permalink / raw) To: horms-/R6kz+dDXgpPR4JQBCEnsQ, magnus.damm-Re5JQEeQqe8AvxtiuMwx3w, robh+dt-DgEjT+Ai2ygdnm+yROfE0A, mark.rutland-5wv7dgnIgG8 Cc: devicetree-u79uwXL29TY76Z2rM5mHXA, linux-renesas-soc-u79uwXL29TY76Z2rM5mHXA, Yoshihiro Shimoda This patch adds PWM device nodes for r8a77995. Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org> --- arch/arm64/boot/dts/renesas/r8a77995.dtsi | 40 +++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a77995.dtsi b/arch/arm64/boot/dts/renesas/r8a77995.dtsi index 56e4292..bcc4d13 100644 --- a/arch/arm64/boot/dts/renesas/r8a77995.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a77995.dtsi @@ -310,6 +310,46 @@ status = "disabled"; }; + pwm0: pwm@e6e30000 { + compatible = "renesas,pwm-r8a77995", "renesas,pwm-rcar"; + reg = <0 0xe6e30000 0 0x8>; + #pwm-cells = <2>; + clocks = <&cpg CPG_MOD 523>; + power-domains = <&sysc R8A77995_PD_ALWAYS_ON>; + resets = <&cpg 523>; + status = "disabled"; + }; + + pwm1: pwm@e6e31000 { + compatible = "renesas,pwm-r8a77995", "renesas,pwm-rcar"; + reg = <0 0xe6e31000 0 0x8>; + #pwm-cells = <2>; + clocks = <&cpg CPG_MOD 523>; + power-domains = <&sysc R8A77995_PD_ALWAYS_ON>; + resets = <&cpg 523>; + status = "disabled"; + }; + + pwm2: pwm@e6e32000 { + compatible = "renesas,pwm-r8a77995", "renesas,pwm-rcar"; + reg = <0 0xe6e32000 0 0x8>; + #pwm-cells = <2>; + clocks = <&cpg CPG_MOD 523>; + power-domains = <&sysc R8A77995_PD_ALWAYS_ON>; + resets = <&cpg 523>; + status = "disabled"; + }; + + pwm3: pwm@e6e33000 { + compatible = "renesas,pwm-r8a77995", "renesas,pwm-rcar"; + reg = <0 0xe6e33000 0 0x8>; + #pwm-cells = <2>; + clocks = <&cpg CPG_MOD 523>; + power-domains = <&sysc R8A77995_PD_ALWAYS_ON>; + resets = <&cpg 523>; + status = "disabled"; + }; + ehci0: usb@ee080100 { compatible = "generic-ehci"; reg = <0 0xee080100 0 0x100>; -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH 1/2] arm64: dts: renesas: r8a77995: add PWM device nodes 2017-10-04 10:27 ` [PATCH 1/2] arm64: dts: renesas: r8a77995: add PWM device nodes Yoshihiro Shimoda @ 2017-10-04 14:02 ` Geert Uytterhoeven 2017-10-05 9:08 ` Simon Horman 0 siblings, 1 reply; 7+ messages in thread From: Geert Uytterhoeven @ 2017-10-04 14:02 UTC (permalink / raw) To: Yoshihiro Shimoda Cc: Simon Horman, Magnus Damm, Rob Herring, Mark Rutland, devicetree@vger.kernel.org, Linux-Renesas On Wed, Oct 4, 2017 at 12:27 PM, Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> wrote: > This patch adds PWM device nodes for r8a77995. > > Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@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] 7+ messages in thread
* Re: [PATCH 1/2] arm64: dts: renesas: r8a77995: add PWM device nodes 2017-10-04 14:02 ` Geert Uytterhoeven @ 2017-10-05 9:08 ` Simon Horman 0 siblings, 0 replies; 7+ messages in thread From: Simon Horman @ 2017-10-05 9:08 UTC (permalink / raw) To: Geert Uytterhoeven Cc: Yoshihiro Shimoda, Magnus Damm, Rob Herring, Mark Rutland, devicetree@vger.kernel.org, Linux-Renesas On Wed, Oct 04, 2017 at 04:02:05PM +0200, Geert Uytterhoeven wrote: > On Wed, Oct 4, 2017 at 12:27 PM, Yoshihiro Shimoda > <yoshihiro.shimoda.uh@renesas.com> wrote: > > This patch adds PWM device nodes for r8a77995. > > > > Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> > > Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Thanks, applied. ^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 2/2] arm64: dts: renesas: r8a77995: draak: enable PWM channel 0 and 1 2017-10-04 10:27 [PATCH 0/2] arm64: dts: renesas: r8a77995 and draak: enable PWM channels Yoshihiro Shimoda [not found] ` <1507112851-10042-1-git-send-email-yoshihiro.shimoda.uh-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org> @ 2017-10-04 10:27 ` Yoshihiro Shimoda [not found] ` <1507112851-10042-3-git-send-email-yoshihiro.shimoda.uh-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org> 1 sibling, 1 reply; 7+ messages in thread From: Yoshihiro Shimoda @ 2017-10-04 10:27 UTC (permalink / raw) To: horms, magnus.damm, robh+dt, mark.rutland Cc: devicetree, linux-renesas-soc, Yoshihiro Shimoda This patch enables PWM channel 0 and 1 on the draak. Each channel connects to LTC2644 for brightness control. Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> --- arch/arm64/boot/dts/renesas/r8a77995-draak.dts | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a77995-draak.dts b/arch/arm64/boot/dts/renesas/r8a77995-draak.dts index 96b7ff5..ebd472d 100644 --- a/arch/arm64/boot/dts/renesas/r8a77995-draak.dts +++ b/arch/arm64/boot/dts/renesas/r8a77995-draak.dts @@ -47,6 +47,16 @@ }; }; + pwm0_pins: pwm0 { + groups = "pwm0_c"; + function = "pwm0"; + }; + + pwm1_pins: pwm1 { + groups = "pwm1_c"; + function = "pwm1"; + }; + scif2_pins: scif2 { groups = "scif2_data"; function = "scif2"; @@ -95,6 +105,20 @@ status = "okay"; }; +&pwm0 { + pinctrl-0 = <&pwm0_pins>; + pinctrl-names = "default"; + + status = "okay"; +}; + +&pwm1 { + pinctrl-0 = <&pwm1_pins>; + pinctrl-names = "default"; + + status = "okay"; +}; + &rwdt { timeout-sec = <60>; status = "okay"; -- 1.9.1 ^ permalink raw reply related [flat|nested] 7+ messages in thread
[parent not found: <1507112851-10042-3-git-send-email-yoshihiro.shimoda.uh-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>]
* Re: [PATCH 2/2] arm64: dts: renesas: r8a77995: draak: enable PWM channel 0 and 1 [not found] ` <1507112851-10042-3-git-send-email-yoshihiro.shimoda.uh-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org> @ 2017-10-04 14:38 ` Geert Uytterhoeven [not found] ` <CAMuHMdX8+jOYuhMFXoPX93VrRWiBUvwDjaL+4ZaFPenSV8i6vw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 0 siblings, 1 reply; 7+ messages in thread From: Geert Uytterhoeven @ 2017-10-04 14:38 UTC (permalink / raw) To: Yoshihiro Shimoda Cc: Simon Horman, Magnus Damm, Rob Herring, Mark Rutland, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Linux-Renesas On Wed, Oct 4, 2017 at 12:27 PM, Yoshihiro Shimoda <yoshihiro.shimoda.uh-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org> wrote: > This patch enables PWM channel 0 and 1 on the draak. Each channel > connects to LTC2644 for brightness control. > > Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org> Reviewed-by: Geert Uytterhoeven <geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org> Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.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 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <CAMuHMdX8+jOYuhMFXoPX93VrRWiBUvwDjaL+4ZaFPenSV8i6vw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: [PATCH 2/2] arm64: dts: renesas: r8a77995: draak: enable PWM channel 0 and 1 [not found] ` <CAMuHMdX8+jOYuhMFXoPX93VrRWiBUvwDjaL+4ZaFPenSV8i6vw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2017-10-05 9:10 ` Simon Horman 0 siblings, 0 replies; 7+ messages in thread From: Simon Horman @ 2017-10-05 9:10 UTC (permalink / raw) To: Geert Uytterhoeven Cc: Yoshihiro Shimoda, Magnus Damm, Rob Herring, Mark Rutland, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Linux-Renesas On Wed, Oct 04, 2017 at 04:38:08PM +0200, Geert Uytterhoeven wrote: > On Wed, Oct 4, 2017 at 12:27 PM, Yoshihiro Shimoda > <yoshihiro.shimoda.uh-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org> wrote: > > This patch enables PWM channel 0 and 1 on the draak. Each channel > > connects to LTC2644 for brightness control. > > > > Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org> > > Reviewed-by: Geert Uytterhoeven <geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org> Thanks, applied. -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2017-10-05 9:10 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2017-10-04 10:27 [PATCH 0/2] arm64: dts: renesas: r8a77995 and draak: enable PWM channels Yoshihiro Shimoda [not found] ` <1507112851-10042-1-git-send-email-yoshihiro.shimoda.uh-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org> 2017-10-04 10:27 ` [PATCH 1/2] arm64: dts: renesas: r8a77995: add PWM device nodes Yoshihiro Shimoda 2017-10-04 14:02 ` Geert Uytterhoeven 2017-10-05 9:08 ` Simon Horman 2017-10-04 10:27 ` [PATCH 2/2] arm64: dts: renesas: r8a77995: draak: enable PWM channel 0 and 1 Yoshihiro Shimoda [not found] ` <1507112851-10042-3-git-send-email-yoshihiro.shimoda.uh-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org> 2017-10-04 14:38 ` Geert Uytterhoeven [not found] ` <CAMuHMdX8+jOYuhMFXoPX93VrRWiBUvwDjaL+4ZaFPenSV8i6vw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2017-10-05 9:10 ` Simon Horman
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).