Message ID | 1457542562-7880-5-git-send-email-ulrich.hecht+renesas@gmail.com (mailing list archive) |
---|---|
State | Deferred |
Delegated to: | Simon Horman |
Headers | show |
On Wed, Mar 9, 2016 at 5:56 PM, Ulrich Hecht <ulrich.hecht+renesas@gmail.com> wrote: > Enables PWM1 (brightness control) and PWM2 (PMIC switching frequency > synchronization). > > Signed-off-by: Ulrich Hecht <ulrich.hecht+renesas@gmail.com> Acked-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
diff --git a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts index 507d6a4..5525637 100644 --- a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts +++ b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts @@ -189,6 +189,15 @@ pinctrl-0 = <&scif_clk_pins>; pinctrl-names = "default"; + pwm1_pins: pwm1 { + renesas,groups = "pwm1_a"; + renesas,function = "pwm1"; + }; + pwm2_pins: pwm2 { + renesas,groups = "pwm2_a"; + renesas,function = "pwm2"; + }; + scif1_pins: scif1 { renesas,groups = "scif1_data_a", "scif1_ctrl"; renesas,function = "scif1"; @@ -299,6 +308,20 @@ }; }; +&pwm1 { + /* brightness control */ + pinctrl-0 = <&pwm1_pins>; + pinctrl-names = "default"; + status = "okay"; +}; + +&pwm2 { + /* PMIC DC/DC switching frequency synchronization */ + pinctrl-0 = <&pwm2_pins>; + pinctrl-names = "default"; + status = "okay"; +}; + &rcar_sound { pinctrl-0 = <&sound_pins &sound_clk_pins>; pinctrl-names = "default";
Enables PWM1 (brightness control) and PWM2 (PMIC switching frequency synchronization). Signed-off-by: Ulrich Hecht <ulrich.hecht+renesas@gmail.com> --- arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+)