[PATCH] QE GPIO: Add qe_gpio_set_multiple

Joakim Tjernlund Joakim.Tjernlund at infinera.com
Tue Jul 3 20:30:37 AEST 2018


On Tue, 2018-06-26 at 23:41 +1000, Michael Ellerman wrote:
> 
> Joakim Tjernlund <Joakim.Tjernlund at infinera.com> writes:
> > On Thu, 2018-06-21 at 02:38 +0000, Qiang Zhao wrote:
> > > On 06/19/2018 09:22 AM, Joakim Tjernlund wrote:
> > > -----Original Message-----
> > > From: Linuxppc-dev [mailto:linuxppc-dev-bounces+qiang.zhao=nxp.com at lists.ozlabs.org] On Behalf Of Joakim Tjernlund
> > > Sent: 2018年6月20日 0:22
> > > To: York Sun <york.sun at nxp.com>; linuxppc-dev <linuxppc-dev at lists.ozlabs.org>
> > > Subject: [PATCH] QE GPIO: Add qe_gpio_set_multiple
> > > 
> > > This cousin to gpio-mpc8xxx was lacking a multiple pins method, add one.
> > > 
> > > Signed-off-by: Joakim Tjernlund <joakim.tjernlund at infinera.com>
> > > ---
> > >  drivers/soc/fsl/qe/gpio.c | 28 ++++++++++++++++++++++++++++
> > >  1 file changed, 28 insertions(+)
> 
> ...
> > >  static int qe_gpio_dir_in(struct gpio_chip *gc, unsigned int gpio)  {
> > >         struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); @@ -298,6 +325,7 @@ static int __init qe_add_gpiochips(void)
> > >                 gc->direction_output = qe_gpio_dir_out;
> > >                 gc->get = qe_gpio_get;
> > >                 gc->set = qe_gpio_set;
> > > +               gc->set_multiple = qe_gpio_set_multiple;
> > > 
> > >                 ret = of_mm_gpiochip_add_data(np, mm_gc, qe_gc);
> > >                 if (ret)
> > > 
> > > Reviewed-by: Qiang Zhao <qiang.zhao at nxp.com>
> > > 
> > 
> > Who picks up this patch ? Is it queued somewhere already?
> 
> Not me.

York? You seem to be the only one left.

 Jocke


More information about the Linuxppc-dev mailing list