gpiolib request/free hooks
authorDavid Brownell <dbrownell@users.sourceforge.net>
Mon, 13 Oct 2008 20:00:21 +0000 (13:00 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 16 Oct 2008 21:25:11 +0000 (14:25 -0700)
commit0a7c9df7b9a1c52f80d958edf3c0dc2342489d52
tree1fd4ffe432c4794e16feeb07e2e475bad05686c7
parent6c288e1eee58b72cb76b346bbd6d4a3ac75701b6
gpiolib request/free hooks

Add a new internal mechanism to gpiolib to support low power
operations by letting gpio_chip instances see when their GPIOs
are in use.  When no GPIOs are active, chips may be able to
enter lower powered runtime states by disabling clocks and/or
power domains.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Documentation/gpio.txt
drivers/gpio/gpiolib.c
include/asm-generic/gpio.h