Messages in this thread | | | Date | Wed, 14 Dec 2011 18:40:51 +0100 | Subject | Re: [RFC PATCH v2 0/4] pinctrl: imx: add pinnmux support | From | Linus Walleij <> |
| |
On Wed, Dec 14, 2011 at 5:03 PM, Dong Aisheng <b29396@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
| |