Re: [PATCH] serio: PS2 gpio bit banging driver for the serio bus

From: Dmitry Torokhov
Date: Mon Aug 07 2017 - 22:49:12 EST


On Mon, Aug 07, 2017 at 11:03:53AM +0200, Linus Walleij wrote:
> On Tue, Aug 1, 2017 at 12:24 AM, Danilo Krummrich
> <danilokrummrich@xxxxxxxxxxxxx> wrote:
>
> > +config SERIO_GPIO_PS2
> > + tristate "GPIO PS/2 bit banging driver"
> > + help
> > + Say Y here if you want PS/2 bit banging support via GPIO.
> > +
> > + To compile this driver as a module, choose M here: the
> > + module will be called gpio-ps2.
> > +
> > + If you are unsure, say N.
>
> As mentioned
>
> depends on GPIOLIB
> depends on OF

I do not think this driver has to depend on OF. It should use gpiod and
generic device properties.

Thanks.

--
Dmitry