Re: [PATCH v3 1/1] pinctrl: add Intel BayTrail GPIO/pinctrl support
From: Linus Walleij
Date: Wed Apr 23 2014 - 18:20:24 EST
On Wed, Apr 23, 2014 at 5:14 PM, Timur Tabi <timur@xxxxxxxxxxxxxx> wrote:
> How are the pin muxes normally configured in ACPI?
VERY good question.
> All of our GPIOs have a
> pinmux on them, and so if you want to use the pin for the non-default
> functionality, you need to configure the mux. Isn't that supposed to happen
> with the through the pinctrl driver? That is, when the kernel parses the
> ASL, and it seems a command to configure pin #3 to function #4, it calls the
> local pinctrl driver to do that?
Let's suspect this is true. That is how GPIO work after all is it not?
I guess the other option would be that all systems must come with a
tailored set-up written in ASL, specific for each board configuration.
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/