Hi Linus, Tony,
This RFC series adds pinmux support for OMAP using the pinctrl framework. Though it adds a pinmux-omap.c driver file, it currently only supports OMAP4 and also has very few function/pin-groups defined.
I have also retained the existing muxing done from board files using the OMAP-mux framework since this series does not handle configuring pull up/downs for pins, and only looks at pin-muxing.
These are still early patches, but I wanted to get some feedback on if I am heading in the right direction. Hence sharing these in the current form.
regards, Rajendra
Rajendra Nayak (3): pinctrl: add a driver for the OMAP pinmux ARM: omap4: Add omap4 pinmux devices for core and wkup ARM: omap4: Add pinmux map in SDP and PANDA board files
arch/arm/mach-omap2/board-4430sdp.c | 10 + arch/arm/mach-omap2/board-omap4panda.c | 11 + arch/arm/mach-omap2/devices.c | 43 ++ drivers/pinctrl/Kconfig | 7 + drivers/pinctrl/Makefile | 1 + drivers/pinctrl/pinmux-omap.c | 735 ++++++++++++++++++++++++++++++++ 6 files changed, 807 insertions(+), 0 deletions(-) create mode 100644 drivers/pinctrl/pinmux-omap.c