Re: [PATCH V6] gpio: New driver for LSI ZEVIO SoCs

From: Fabian Vogt
Date: Thu Feb 27 2014 - 08:43:20 EST


On Thu, Feb 24, 2014 at 10:31:59, Linux Walleij <linus.walleij@xxxxxxxxxx> wrote:
> On Mon, Feb 24, 2014 at 8:54 PM, Fabian Vogt <fabian@xxxxxxxxxxxxxx> wrote:
>
> > This driver supports the GPIO controller found in LSI ZEVIO SoCs.
> > It has been successfully tested on a TI nspire CX calculator.
> >
> > Signed-off-by: Fabian Vogt <fabian@xxxxxxxxxxxxxx>
>
> I like this version. Patch applied.
>
> Q:
>
> > +config GPIO_ZEVIO
> > + bool "LSI ZEVIO SoC memory mapped GPIOs"
> > + depends on OF
>
> So OF_GPIO is not needed for the systems using this driver?
> DT just used for probing the driver?
>
I'm using of_mm_gpiochip_add to register the gpiochip.
In the platform's Kconfig only ARCH_WANT_OPTIONAL_GPIOLIB is needed, OF_GPIO seems to be selected automatically.
If I disable it in the .config and start "make menuconfig", it's selected again.
OF_GPIO seems to have the same state as GPIOLIB in menuconfig.

Bye,
Fabian

> Yours,
> Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/