Thread (1 message) 1 message, 1 author, 2012-11-15

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

From: Grant Likely <hidden>
Date: 2012-11-15 18:21:20
Also in: linux-devicetree

On Thu, Nov 15, 2012 at 6:11 PM, Jamie Lentin [off-list ref] wrote:
On Thu, 15 Nov 2012, Grant Likely wrote:
quoted
On Sun, 11 Nov 2012 17:21:29 +0100, Andrew Lunn [off-list ref] wrote:
quoted
From: Jamie Lentin <redacted>

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 <redacted>
Signed-off-by: Andrew Lunn <andrew@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

There's a v2 which puts it in drivers/power/reset/gpio-poweroff.c
Okay, thanks.

g.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help