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

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

From: Linus Walleij <hidden>
Date: 2012-11-12 01:00:31
Also in: linux-devicetree

On Sun, Nov 11, 2012 at 5:21 PM, Andrew Lunn [off-list ref] wrote:
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>
So this is just a GPIO client like any such thing right?

I mean this thing has nothing more to do with the GPIO subsystem
than say, drivers/input/keyboard/gpio_keys.c?

So from the GPIO subsystem point of view controlling power is
an alien concept.

But I suspect Anton may be ready to welcome a driver like this
under drivers/power/* which I think is where it belongs.

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help