[PATCH 1/3] gpio: Add simple poweroff-gpio driver

Grant Likely grant.likely at secretlab.ca
Fri Nov 16 05:05:57 EST 2012


On Sun, 11 Nov 2012 17:21:29 +0100, Andrew Lunn <andrew at lunn.ch> wrote:
> From: Jamie Lentin <jm at lentin.co.uk>
> 
> Given appropriate devicetree bindings, this driver registers a
> pm_power_off function to set a GPIO line high/low to power down
> your board.
> 
> Signed-off-by: Jamie Lentin <jm at lentin.co.uk>
> Signed-off-by: Andrew Lunn <andrew at lunn.ch>
> ---
>  .../devicetree/bindings/gpio/gpio-poweroff.txt     |   22 ++++
>  drivers/gpio/Kconfig                               |   10 ++
>  drivers/gpio/Makefile                              |    2 +
>  drivers/gpio/gpio-poweroff.c                       |  129 ++++++++++++++++++++

This isn't a gpio controller driver. Don't put it into drivers/gpio

g.



More information about the devicetree-discuss mailing list