[PATCH 0/4] Power off drivers for QNAP and LSXL.
Jason Cooper
jason at lakedaemon.net
Sat May 25 21:19:51 EDT 2013
On Wed, Jan 23, 2013 at 07:53:28AM -0500, Jason Cooper wrote:
> On Fri, Dec 28, 2012 at 01:25:08PM +0100, Andrew Lunn wrote:
> > 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
>
> patches 2 and 4 applied to mvebu/dt with a dependency on:
>
> git://git.infradead.org/battery-2.6.git master
>
> up to:
>
> ffd8f9a power/reset: Add a new driver implementing 'power off by restarting'
>
> in order to pull in patches 1 and 3:
>
> ffd8f9a power/reset: Add a new driver implementing 'power off by restarting'
> e8fc721 power/reset: Add a new driver to turn QNAP board power off
Yeah.... So thanks to Andrew for bringing this to my attention.
Somewhere along the line, I must've dropped patches 2 and 4.
Thankfully, patches 1 and 3 made it in, so I've just applied 2 and 4 to
mvebu/boards.
thx, and sorry for the delay.
Jason.
More information about the linux-arm-kernel
mailing list