Re: [RFC PATCH v2 0/4] pinctrl: imx: add pinnmux support
From: Linus Walleij
Date: Wed Dec 14 2011 - 12:40:53 EST
On Wed, Dec 14, 2011 at 5:03 PM, Dong Aisheng <b29396@xxxxxxxxxxxxx> 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
--
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/