linux/drivers/pinctrl/sh-pfc
Sherman Yin 03b054e969 pinctrl: Pass all configs to driver on pin_config_set()
When setting pin configuration in the pinctrl framework, pin_config_set() or
pin_config_group_set() is called in a loop to set one configuration at a time
for the specified pin or group.

This patch 1) removes the loop and 2) changes the API to pass the whole pin
config array to the driver.  It is now up to the driver to loop through the
configs.  This allows the driver to potentially combine configs and reduce the
number of writes to pin config registers.

All c files changed have been build-tested to verify the change compiles and
that the corresponding .o is successfully generated.

Signed-off-by: Sherman Yin <syin@broadcom.com>
Reviewed-by: Christian Daudt <csd@broadcom.com>
Reviewed-by: Matt Porter <matt.porter@linaro.org>
Tested-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2013-08-28 13:34:41 +02:00
..
core.c sh-pfc: Support pins not associated with a GPIO port 2013-07-29 15:17:49 +02:00
core.h sh-pfc: Compute pin ranges automatically 2013-07-29 15:17:48 +02:00
gpio.c sh-pfc: Support pins not associated with a GPIO port 2013-07-29 15:17:49 +02:00
Kconfig sh-pfc: sh73a0: Add VCCQ MC0 regulator 2013-06-05 17:17:14 +09:00
Makefile sh-pfc: Add r8a7778 pinmux support 2013-06-04 21:04:02 +09:00
pfc-r8a73a4.c Merge branch 'pinmux/next/fixes' of git://linuxtv.org/pinchartl/fbdev into devel 2013-07-29 16:33:57 +02:00
pfc-r8a7740.c Merge branch 'pinmux/next/fixes' of git://linuxtv.org/pinchartl/fbdev into devel 2013-07-29 16:33:57 +02:00
pfc-r8a7778.c sh-pfc: Support pins not associated with a GPIO port 2013-07-29 15:17:49 +02:00
pfc-r8a7779.c Merge branch 'pinmux/next/fixes' of git://linuxtv.org/pinchartl/fbdev into devel 2013-07-29 16:33:57 +02:00
pfc-r8a7790.c sh-pfc: r8a7790: Add DU pin groups and functions 2013-08-14 22:49:22 +02:00
pfc-sh73a0.c Merge branch 'pinmux/next/fixes' of git://linuxtv.org/pinchartl/fbdev into devel 2013-07-29 16:33:57 +02:00
pfc-sh7203.c sh-pfc: Don't duplicate argument to PINMUX_GPIO macro 2013-07-29 15:17:45 +02:00
pfc-sh7264.c sh-pfc: Don't duplicate argument to PINMUX_GPIO macro 2013-07-29 15:17:45 +02:00
pfc-sh7269.c sh-pfc: Don't duplicate argument to PINMUX_GPIO macro 2013-07-29 15:17:45 +02:00
pfc-sh7372.c Merge branch 'pinmux/next/fixes' of git://linuxtv.org/pinchartl/fbdev into devel 2013-07-29 16:33:57 +02:00
pfc-sh7720.c sh-pfc: Don't duplicate argument to PINMUX_GPIO macro 2013-07-29 15:17:45 +02:00
pfc-sh7722.c sh-pfc: Don't duplicate argument to PINMUX_GPIO macro 2013-07-29 15:17:45 +02:00
pfc-sh7723.c sh-pfc: Don't duplicate argument to PINMUX_GPIO macro 2013-07-29 15:17:45 +02:00
pfc-sh7724.c sh-pfc: Don't duplicate argument to PINMUX_GPIO macro 2013-07-29 15:17:45 +02:00
pfc-sh7734.c sh-pfc: sh7734: Use the common GP port style macros 2013-07-29 15:17:44 +02:00
pfc-sh7757.c sh-pfc: Don't duplicate argument to PINMUX_GPIO macro 2013-07-29 15:17:45 +02:00
pfc-sh7785.c sh-pfc: Don't duplicate argument to PINMUX_GPIO macro 2013-07-29 15:17:45 +02:00
pfc-sh7786.c sh-pfc: Don't duplicate argument to PINMUX_GPIO macro 2013-07-29 15:17:45 +02:00
pfc-shx3.c sh-pfc: Don't duplicate argument to PINMUX_GPIO macro 2013-07-29 15:17:45 +02:00
pinctrl.c pinctrl: Pass all configs to driver on pin_config_set() 2013-08-28 13:34:41 +02:00
sh_pfc.h sh-pfc: Support pins not associated with a GPIO port 2013-07-29 15:17:49 +02:00