Re: [PATCH v6] pinctrl: add a pin config interface
From: Linus Walleij
Date: Thu Jan 19 2012 - 11:58:47 EST
On Wed, Jan 18, 2012 at 8:16 AM, Thomas Abraham
<thomas.abraham@xxxxxxxxxx> wrote:
> In case of runtime pinmuxing, the pin configuration would also be
> required to be setup in some cases. pin_config_set() is suitable to be
> called from the platform code. In case of runtime pinmuxing in driver
> code, is there any way to set the pin config also at runtime in driver
> code?
Yes that is already possible today with the pin_config_set() and
pin_config_group_set() calls already merged for 3.3.
However there is no relation between the struct device and these
config settings so I feel that this is a bit hack-ish, but it was
atleast something we could agree upon.
Thanks,
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/