[RFC 1/3] pinctrl: add a driver for the OMAP pinmux

Linus Walleij linus.walleij at linaro.org
Fri Nov 25 19:53:45 EST 2011


On Thu, Nov 24, 2011 at 8:54 PM, Tony Lindgren <tony at atomide.com> wrote:

> We should probably pass over
> the static board specific mapping as platform_data to the pinmux device
> and make it be part of struct pinctrl_dev. Then new driver instances
> can have their own pctldev->mapping and we can support both platform_data
> and device tree based drivers on the same system.

That sounds like a real good idea and I think it'll work fine.

You can use the map in mach-u300/core.c as guinea pig for refactoring if you
like. I think that's the only map that's in-tree ftm.

Thanks,
Linus Walleij


More information about the devicetree-discuss mailing list