[PATCH RESEND V9 0/6] Add generic syscon reboot driver

From: Feng Kan
Date: Tue Sep 30 2014 - 19:25:24 EST

Enable reboot driver for the X-Gene platform. Add generic syscon reboot
driver. Replace X-Gene reboot driver with the generic syscon reboot

V9 Change:
- rebase on Guenter Roeck's reset handler patch set now in linux next.
This allows for a generic reset to be call rather than the arm
specific reset handler.

V8 Change:
- change Kconfig to depend on ARM || ARM64 || COMPILE_TEST

V7 Change:
- Seem V3 on, the patches were not making in to the mailinglist.
- Fix build error produced by other ARCH while including this
driver. Set to depend on arm64 ARCH for now.

V6 Change:
- Add documentation for scu node.

V5 Change:
- Documentation update, endian and access size.

V4 Change:
- Remove old X-Gene reboot driver
- Add generic syscon reboot driver
- Add DTS and Kconfig for X-Gene reboot using syscon method

V3 Change:
- Remove the reboot driver's use of acpi resource patch.
- Change the reboot driver to use syscon to parse out
system clock register. Remove the old method of getting
register from the reboot driver directly.
- Remove documentation since its now simple.

V2 Change:
- Add support for using ACPI resource.

Feng Kan (6):
power: reset: Add generic SYSCON register mapped reset
Documentation: power: reset: Add documentation for generic SYSCON
reboot driver
Documentation: arm64: add SCU dts binding documentation to linux
arm64: dts: Add X-Gene reboot driver dts node
arm64: Select reboot driver for X-Gene platform
power: reset: Remove X-Gene reboot driver

Documentation/devicetree/bindings/arm/apm/scu.txt | 17 ++++
.../bindings/power/reset/syscon-reboot.txt | 23 +++++
arch/arm64/Kconfig | 2 +
arch/arm64/boot/dts/apm-storm.dtsi | 11 +++
drivers/power/reset/Kconfig | 11 +--
drivers/power/reset/Makefile | 2 +-
drivers/power/reset/syscon-reboot.c | 96 +++++++++++++++++++
drivers/power/reset/xgene-reboot.c | 103 ---------------------
8 files changed, 155 insertions(+), 110 deletions(-)
create mode 100644 Documentation/devicetree/bindings/arm/apm/scu.txt
create mode 100644 Documentation/devicetree/bindings/power/reset/syscon-reboot.txt
create mode 100644 drivers/power/reset/syscon-reboot.c
delete mode 100644 drivers/power/reset/xgene-reboot.c


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/