[RFC PATCH v2 0/4] pinctrl: imx: add pinnmux support
From: Linus Walleij <hidden>
Date: 2011-12-14 17:40:54
Also in:
lkml
From: Linus Walleij <hidden>
Date: 2011-12-14 17:40:54
Also in:
lkml
On Wed, Dec 14, 2011 at 5:03 PM, Dong Aisheng [off-list ref] 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