linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] Power off drivers for QNAP and LSXL.
@ 2012-12-28 12:25 Andrew Lunn
  2012-12-28 12:25 ` [PATCH 1/4] Power: Reset: Driver to turn QNAP board power off Andrew Lunn
                   ` (4 more replies)
  0 siblings, 5 replies; 26+ messages in thread
From: Andrew Lunn @ 2012-12-28 12:25 UTC (permalink / raw)
  To: linux-arm-kernel

This patchset contains two power off driver, moving existing code
out of mach-kirkwood into drivers/power/reset.

QNAP NAS boards have a microcontroller connected to a UART. Sending
the command to it turns the power off. There are Orion5x QNAP boards
which can later use this driver, once they are converted to DT.

Kirkwood Buffalo Linkstation LSXL devices power off by restarting and
letting the boot loader idle until the user hits a switch. There are
again Orion5x devices which could use this driver in the future, once
they are converted to DT. It also looks like some PXA devices could
use it.

Patches #1 and #3 are the drivers, and #2 and #4 make use of the
driver, removing C code and adding DT nodes.

The QNAP driver has been tested on a QNAP TS119+. The LSXL driver is
currently untested.

git://github.com/lunn/linux.git v3.8-rc1-qnap-poweroff

Andrew Lunn (4):
  Power: Reset: Driver to turn QNAP board power off.
  ARM: Kirkwood: Make use of the QNAP Power off driver.
  Power: Reset: Power off by restarting
  ARM: Kirkwood: Convert LSXL to restart-poweroff driver.

 .../bindings/power_supply/qnap-poweroff.txt        |   14 +++
 .../bindings/power_supply/restart-poweroff.txt     |    9 ++
 arch/arm/boot/dts/kirkwood-lsxl.dtsi               |    4 +
 arch/arm/boot/dts/kirkwood-ts219.dtsi              |    5 +
 arch/arm/mach-kirkwood/Kconfig                     |    2 +
 arch/arm/mach-kirkwood/board-lsxl.c                |   16 ---
 arch/arm/mach-kirkwood/board-ts219.c               |    3 -
 drivers/power/reset/Kconfig                        |   17 +++
 drivers/power/reset/Makefile                       |    2 +
 drivers/power/reset/qnap-poweroff.c                |  124 ++++++++++++++++++++
 drivers/power/reset/restart-poweroff.c             |   67 +++++++++++
 11 files changed, 244 insertions(+), 19 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/power_supply/qnap-poweroff.txt
 create mode 100644 Documentation/devicetree/bindings/power_supply/restart-poweroff.txt
 create mode 100644 drivers/power/reset/qnap-poweroff.c
 create mode 100644 drivers/power/reset/restart-poweroff.c

-- 
1.7.10.4

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2013-05-26  1:19 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-28 12:25 [PATCH 0/4] Power off drivers for QNAP and LSXL Andrew Lunn
2012-12-28 12:25 ` [PATCH 1/4] Power: Reset: Driver to turn QNAP board power off Andrew Lunn
2013-01-06 21:55   ` Anton Vorontsov
2013-01-08 18:15     ` [PATCH] power: reset: qnap-poweroff: Fix License String Andrew Lunn
2013-01-20  2:05       ` Anton Vorontsov
2013-01-20 20:13       ` Uwe Kleine-König
2013-01-20 20:47         ` Anton Vorontsov
2013-01-21  8:11           ` Uwe Kleine-König
2012-12-28 12:25 ` [PATCH 2/4] ARM: Kirkwood: Make use of the QNAP Power off driver Andrew Lunn
2012-12-28 12:25 ` [PATCH 3/4] Power: Reset: Power off by restarting Andrew Lunn
2012-12-28 18:59   ` Michael Walle
2013-01-06 22:04     ` Anton Vorontsov
2013-01-07  6:42       ` Andrew Lunn
2013-01-07  7:00         ` Anton Vorontsov
2013-01-07 11:27       ` Jason Cooper
2013-01-31 18:54       ` [PATCH] power/reset: restart: remove __dev{init,exit} Jason Cooper
2013-01-31 18:57         ` Jason Cooper
2013-01-31 20:02         ` Andrew Lunn
2013-01-31 20:20           ` Jason Cooper
2013-02-03  3:43             ` Anton Vorontsov
2012-12-28 12:25 ` [PATCH 4/4] ARM: Kirkwood: Convert LSXL to restart-poweroff driver Andrew Lunn
2012-12-28 19:16   ` Michael Walle
2012-12-28 19:39     ` Andrew Lunn
2012-12-28 23:11       ` Michael Walle
2013-01-23 12:53 ` [PATCH 0/4] Power off drivers for QNAP and LSXL Jason Cooper
2013-05-26  1:19   ` Jason Cooper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).