Thread (11 messages) 11 messages, 6 authors, 2018-08-02

Re: [PATCH] QE GPIO: Add qe_gpio_set_multiple

From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2018-06-26 13:41:26

Joakim Tjernlund [off-list ref] writes:
On Thu, 2018-06-21 at 02:38 +0000, Qiang Zhao wrote:
quoted
On 06/19/2018 09:22 AM, Joakim Tjernlund wrote:
-----Original Message-----
From: Linuxppc-dev [mailto:linuxppc-dev-bounces+qiang.zhao=3Dnxp.com@lis=
ts.ozlabs.org] On Behalf Of Joakim Tjernlund
quoted
Sent: 2018=E5=B9=B46=E6=9C=8820=E6=97=A5 0:22
To: York Sun <redacted>; linuxppc-dev <linuxppc-dev@lists.ozlabs=
.org>
quoted
Subject: [PATCH] QE GPIO: Add qe_gpio_set_multiple
=20
This cousin to gpio-mpc8xxx was lacking a multiple pins method, add one.
=20
Signed-off-by: Joakim Tjernlund <redacted>
---
 drivers/soc/fsl/qe/gpio.c | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
...
quoted
 static int qe_gpio_dir_in(struct gpio_chip *gc, unsigned int gpio)  {
        struct of_mm_gpio_chip *mm_gc =3D to_of_mm_gpio_chip(gc); @@ -29=
8,6 +325,7 @@ static int __init qe_add_gpiochips(void)
quoted
                gc->direction_output =3D qe_gpio_dir_out;
                gc->get =3D qe_gpio_get;
                gc->set =3D qe_gpio_set;
+               gc->set_multiple =3D qe_gpio_set_multiple;
=20
                ret =3D of_mm_gpiochip_add_data(np, mm_gc, qe_gc);
                if (ret)
=20
Reviewed-by: Qiang Zhao <qiang.zhao@nxp.com>
=20
Who picks up this patch ? Is it queued somewhere already?
Not me.

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help