linux/Documentation/devicetree/bindings/pinctrl
Shawn Guo e16415313c pinctrl: imx: move hard-coding data into device tree
Currently, all imx pinctrl drivers maintain a big array of struct
imx_pin_reg which hard-codes data like register offset and mux mode
setting for each pin function.  Every time a new imx SoC support is
added, we need to add such a big mount of data.  With moving to single
kernel build, it's only matter of time to be blamed on memory consuming.

With DTC pre-processor support in place, the patch moves all these data
into device tree by redefining the PIN_FUNC_ID in imxXX-pinfunc.h and
changing the PIN_FUNC_ID parsing code a little bit.

The pin id gets re-numbered based on mux register offset, or config
register offset if the pin has no mux register, so that kernel can
identify the pin id from register offsets provided by device tree.

As a bonus point of the change, those arbitrary magic numbers standing
for particular PIN_FUNC_ID in device tree sources are now replaced by
macros to improve the readability of dts files.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Dong Aisheng <dong.aisheng@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
2013-04-09 22:52:50 +08:00
..
allwinner,sunxi-pinctrl.txt ARM: sunxi: Add pinctrl driver for Allwinner SoCs 2013-01-22 13:51:15 +01:00
atmel,at91-pinctrl.txt ARM: at91/at91-pinctrl documentation: fix typo and add some details 2013-01-23 10:30:44 +01:00
brcm,bcm2835-gpio.txt pinctrl: add bcm2835 driver 2012-10-01 08:05:22 +02:00
fsl,imx6q-pinctrl.txt pinctrl: imx: move hard-coding data into device tree 2013-04-09 22:52:50 +08:00
fsl,imx35-pinctrl.txt pinctrl: imx: move hard-coding data into device tree 2013-04-09 22:52:50 +08:00
fsl,imx51-pinctrl.txt pinctrl: imx: move hard-coding data into device tree 2013-04-09 22:52:50 +08:00
fsl,imx53-pinctrl.txt pinctrl: imx: move hard-coding data into device tree 2013-04-09 22:52:50 +08:00
fsl,imx-pinctrl.txt pinctrl: imx: move hard-coding data into device tree 2013-04-09 22:52:50 +08:00
fsl,mxs-pinctrl.txt
lantiq,falcon-pinumx.txt Document: devicetree: add OF documents for lantiq falcon pinctrl 2012-09-13 10:30:59 +02:00
lantiq,xway-pinumx.txt Document: devicetree: add OF documents for lantiq xway pinctrl 2012-09-13 10:30:59 +02:00
marvell,armada-370-pinctrl.txt pinctrl: mvebu: add pinctrl driver for Armada 370 2012-09-22 14:50:19 +00:00
marvell,armada-xp-pinctrl.txt pinctrl: mvebu: add pinctrl driver for Armada XP 2012-09-22 14:50:20 +00:00
marvell,dove-pinctrl.txt pinctrl: mvebu: dove pinctrl driver 2012-09-22 14:50:16 +00:00
marvell,kirkwood-pinctrl.txt ARM: Kirkwood: support 98DX412x kirkwoods with pinctrl 2012-11-24 02:58:43 +00:00
marvell,mvebu-pinctrl.txt pinctrl: mvebu: pinctrl driver core 2012-09-22 14:50:14 +00:00
nvidia,tegra20-pinmux.txt dt: Document: correct tegra20/30 pinctrl slew-rate name 2012-10-17 19:45:35 +02:00
nvidia,tegra30-pinmux.txt dt: Document: correct tegra20/30 pinctrl slew-rate name 2012-10-17 19:45:35 +02:00
nvidia,tegra114-pinmux.txt pinctrl: tegra114: add pinctrl driver for NVIDIA's Tegra114 SoC 2013-01-18 16:14:54 +01:00
pinctrl_spear.txt
pinctrl-bindings.txt
pinctrl-single.txt pinctrl: pinctrl-single: Add pinctrl-single,bits type of mux 2012-09-13 09:00:10 +02:00
pinctrl-sirf.txt pinctrl: sirf: enable GPIO pullup/down configuration from dts 2012-12-26 01:59:53 +01:00
samsung-pinctrl.txt ARM: dts: fix compatible value for exynos pinctrl 2013-01-28 14:27:50 -08:00
ste,nomadik.txt pinctrl/nomadik: add device tree support 2013-01-11 21:49:21 +01:00