[RFC PATCH v2 0/4] pinctrl: imx: add pinnmux support

Linus Walleij linus.walleij at linaro.org
Wed Dec 14 12:40:51 EST 2011


On Wed, Dec 14, 2011 at 5:03 PM, Dong Aisheng <b29396 at freescale.com> wrote:

> For DT support, there's still one issue that for pinmux_map,
> since it's board specific, i wonder if it can be parsed by pinctrl
> subsystem via dt rather than by each driver.

That is definately how it should be done. Seems like a good
idea to me.

> but pinctrl still does not supported that, i still only called
> it in mach-imx6q.c which seems not a correct place.

Don't worry that pinctrl does not support it - patch pinctrl core!

Just make a separate patch which patches drivers/pinctrl/pinmux.c
to ass the device tree parsing you need from the core, and we'll
review it.

I am by far too incompetent in device tree mechanisms to do
that myself, I have never worked much on device tree.

Thanks,
Linus Walleij



More information about the linux-arm-kernel mailing list