2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-24 05:04:00 +08:00
linux-next/include/linux/pinctrl
Linus Walleij 14005ee270 drivers: pinctrl sleep and idle states in the core
If a device have sleep and idle states in addition to the
default state, look up these in the core and stash them in
the pinctrl state container.

Add accessor functions for pinctrl consumers to put the pins
into "default", "sleep" and "idle" states passing nothing but
the struct device * affected.

Solution suggested by Kevin Hilman, Mark Brown and Dmitry
Torokhov in response to a patch series from Hebbar
Gururaja.

Cc: Hebbar Gururaja <gururaja.hebbar@ti.com>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Acked-by: Wolfram Sang <wsa@the-dreams.de>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Kevin Hilman <khilman@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2013-06-16 11:56:52 +02:00
..
consumer.h drivers: pinctrl sleep and idle states in the core 2013-06-16 11:56:52 +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: add pinconf-generic define for a pin-default pull 2013-06-16 11:56:51 +02:00
pinconf.h pinctrl/pinconfig: add debug interface 2013-04-19 15:45:05 +02:00
pinctrl-state.h pinctrl: clarify idle vs sleep states 2012-10-01 08:04:52 +02:00
pinctrl.h pinctrl: Declare operation structures as const 2013-03-07 05:27:29 +01:00
pinmux.h UAPI: (Scripted) Convert #include "..." to #include <path/...> in kernel system headers 2012-10-02 18:01:25 +01:00