linux-uconsole/include/linux/pinctrl
Mark Brown 270cfc4788 pinctrl: utils : add support to pass config type in generic util APIs
Add support to pass the config type like GROUP or PIN when using
the utils or generic pin configuration APIs. This will make the
APIs more generic.

Added additional inline APIs such that it can be use directly as
callback for the pinctrl_ops.

Changes from V1:
- Remove separate implementation for pins and group for
  pinctrl_utils_dt_free_map and improve this function
  to support both i.e. PINS and GROUPs.

[For LSK restore the original API and add a _new() variant of the
functions for external consumption instead, maintaining the existing API
-- broonie]

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Tested-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
(cherry-picked from commit 3287c24088)
Signed-off-by: Mark Brown <broonie@linaro.org>
2014-04-04 21:39:02 +01:00
..
consumer.h pinctrl: rip out the direct pinconf API 2014-04-04 16:19:04 +01:00
devinfo.h drivers/pinctrl: grab default handles from device core 2013-01-23 16:39:51 +01: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 2014-04-04 21:39:02 +01:00
pinconf.h pinctrl: Pass all configs to driver on pin_config_set() 2014-04-04 20:20:07 +01:00
pinctrl-state.h pinctrl: clarify idle vs sleep states 2012-10-01 08:04:52 +02:00
pinctrl.h pinctrl: Add void * to pinctrl_pin_desc 2014-04-04 16:18:38 +01:00
pinmux.h UAPI: (Scripted) Convert #include "..." to #include <path/...> in kernel system headers 2012-10-02 18:01:25 +01:00