From: andrew@lunn.ch (Andrew Lunn)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/4] Power off drivers for QNAP and LSXL.
Date: Fri, 28 Dec 2012 13:25:08 +0100 [thread overview]
Message-ID: <1356697512-3950-1-git-send-email-andrew@lunn.ch> (raw)
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
next reply other threads:[~2012-12-28 12:25 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-28 12:25 Andrew Lunn [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1356697512-3950-1-git-send-email-andrew@lunn.ch \
--to=andrew@lunn.ch \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).