linux/drivers/pinctrl/sh-pfc
Laurent Pinchart 63d573835f sh-pfc: Add support for sparse pin numbers
The PFC driver assumes that the value of the GPIO_PORTxxx enumeration
names are equal to the port number. This isn't true when the port number
space is sparse, as with the SH73A0.

Fix the issue by adding support for pin numbers ranges specified through
SoC data. When no range is specified the driver considers that the PFC
implements a single contiguous range for all pins.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
2013-03-15 13:33:39 +01:00
..
Kconfig sh-pfc: Add shx3 pinmux support 2013-01-25 09:24:28 +09:00
Makefile sh-pfc: Add shx3 pinmux support 2013-01-25 09:24:28 +09:00
core.c sh-pfc: Add support for sparse pin numbers 2013-03-15 13:33:39 +01:00
core.h sh-pfc: Add support for sparse pin numbers 2013-03-15 13:33:39 +01:00
gpio.c sh-pfc: Add support for sparse pin numbers 2013-03-15 13:33:39 +01:00
pfc-r8a7740.c sh-pfc: Look up IRQ table entries by GPIO number 2013-03-15 13:33:38 +01:00
pfc-r8a7779.c sh-pfc: Share the PORT_10_REV, PORT_32 and PORT_32_REV definitions 2013-03-15 13:33:38 +01:00
pfc-sh73a0.c sh-pfc: Look up IRQ table entries by GPIO number 2013-03-15 13:33:38 +01:00
pfc-sh7203.c sh-pfc: Rename struct pinmux_pin to struct sh_pfc_pin 2013-03-15 13:33:38 +01:00
pfc-sh7264.c sh-pfc: Rename struct pinmux_pin to struct sh_pfc_pin 2013-03-15 13:33:38 +01:00
pfc-sh7269.c sh-pfc: Rename struct pinmux_pin to struct sh_pfc_pin 2013-03-15 13:33:38 +01:00
pfc-sh7372.c sh-pfc: Look up IRQ table entries by GPIO number 2013-03-15 13:33:38 +01:00
pfc-sh7720.c sh-pfc: Rename struct pinmux_pin to struct sh_pfc_pin 2013-03-15 13:33:38 +01:00
pfc-sh7722.c sh-pfc: Rename struct pinmux_pin to struct sh_pfc_pin 2013-03-15 13:33:38 +01:00
pfc-sh7723.c sh-pfc: Rename struct pinmux_pin to struct sh_pfc_pin 2013-03-15 13:33:38 +01:00
pfc-sh7724.c sh-pfc: Rename struct pinmux_pin to struct sh_pfc_pin 2013-03-15 13:33:38 +01:00
pfc-sh7734.c sh-pfc: Share the PORT_10_REV, PORT_32 and PORT_32_REV definitions 2013-03-15 13:33:38 +01:00
pfc-sh7757.c sh-pfc: Rename struct pinmux_pin to struct sh_pfc_pin 2013-03-15 13:33:38 +01:00
pfc-sh7785.c sh-pfc: Rename struct pinmux_pin to struct sh_pfc_pin 2013-03-15 13:33:38 +01:00
pfc-sh7786.c sh-pfc: Rename struct pinmux_pin to struct sh_pfc_pin 2013-03-15 13:33:38 +01:00
pfc-shx3.c sh-pfc: Rename struct pinmux_pin to struct sh_pfc_pin 2013-03-15 13:33:38 +01:00
pinctrl.c sh-pfc: Add support for sparse pin numbers 2013-03-15 13:33:39 +01:00
sh_pfc.h sh-pfc: Add support for sparse pin numbers 2013-03-15 13:33:39 +01:00