Re: [PATCH v3 1/1] pinctrl: add Intel BayTrail GPIO/pinctrl support

From: Linus Walleij
Date: Thu Apr 24 2014 - 09:29:20 EST


On Thu, Apr 24, 2014 at 1:58 PM, Westerberg, Mika
<mika.westerberg@xxxxxxxxx> wrote:
> On Thu, Apr 24, 2014 at 06:18:38AM -0500, Timur Tabi wrote:

>> I'm wondering why a pinctrl driver for an
>> ACPI platform should be defining pinmux function groups. I haven't
>> gotten a straight answer to that question.
>
> Are you asking why pinctrl-baytrail.c uses pinctrl_gpio_ranges even if it
> is a pretty much standard GPIO driver? Mathias probably can answer that
> question better than me.

That was done on my request since any other approach obviously
would lead to code duplication of exactly what GPIO ranges does.

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/