linux_old1/include/linux/pinctrl
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
..
consumer.h pinctrl: rip out the direct pinconf API 2013-06-25 12:54:56 +02:00
devinfo.h drivers: pinctrl sleep and idle states in the core 2013-06-16 11:56:52 +02:00
machine.h UAPI: (Scripted) Convert #include "..." to #include <path/...> in kernel system headers 2012-10-02 18:01:25 +01:00
pinconf-generic.h pinctrl: utils : add support to pass config type in generic util APIs 2013-08-23 08:56:32 +02:00
pinconf.h pinctrl: Pass all configs to driver on pin_config_set() 2013-08-28 13:34:41 +02:00
pinctrl-state.h pinctrl: clarify idle vs sleep states 2012-10-01 08:04:52 +02:00
pinctrl.h Fix comment on pinctrl_gpio_range.pin_base 2013-06-17 18:18:29 +02:00
pinmux.h UAPI: (Scripted) Convert #include "..." to #include <path/...> in kernel system headers 2012-10-02 18:01:25 +01:00