On Tue, Jan 19, 2016 at 1:18 PM, Ulrich Hecht <ulrich.hecht+rene...@gmail.com> wrote: > From: Takeshi Kihara <takeshi.kihara...@renesas.com> > > This patch adds PWM[0-6] pinmux support to r8a7795 SoC. > > Signed-off-by: Takeshi Kihara <takeshi.kihara...@renesas.com> > [uli: adapted to mainline PFC driver]
Still not against mainline, though. I had to do some manual fixups. > Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> > --- > drivers/pinctrl/sh-pfc/pfc-r8a7795.c | 153 > +++++++++++++++++++++++++++++++++++ > 1 file changed, 153 insertions(+) > > diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a7795.c > b/drivers/pinctrl/sh-pfc/pfc-r8a7795.c > index 7ddb2ad..ebfc4e6 100644 > --- a/drivers/pinctrl/sh-pfc/pfc-r8a7795.c > +++ b/drivers/pinctrl/sh-pfc/pfc-r8a7795.c > @@ -1663,6 +1663,105 @@ static const unsigned int i2c6_c_mux[] = { > SDA6_C_MARK, SCL6_C_MARK, > }; > > +/* - PWM0 > --------------------------------------------------------------------*/ > +static const unsigned int pwm0_pins[] = { > + /* DEVSLP */ Bogus "DEVSLP" comment? > + RCAR_GP_PIN(2, 6), > +}; > +static const unsigned int pwm0_mux[] = { > + PWM0_MARK, > +}; Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@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