Skip to contentSkip to conversation

power: reset: Add reboot driver for brcmstb

PATCH Applied Brian Norris 2 participants 2 messages Jul 22, 2014 – Jul 23, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v9 1/1 power: reset: Add reboot driver for brcmstb

From: Marc Carino <[email protected]>

Add support for reboot functionality on boards with ARM-based Broadcom STB chipsets. Make it built-in by default for ARCH_BRCMSTB, but allow it to be configurable under COMPILE_TEST.

Cc Sebastian Reichel <[email protected]>
Cc Dmitry Eremin-Solenikov <[email protected]>
Cc David Woodhouse <[email protected]>

---
Hi Sebastian, can you merge this, or else defer this to Matt?

This driver is mostly unchanged for a while, but it hasn't gotten an Ack from any PM guys. It is now separated from the rest of its accompanying series:

https://lkml.org/lkml/2014/7/21/647
https://lkml.org/lkml/2014/7/21/801

The DT bindings have gotten review somewhere in the course of 8 versions.

 drivers/power/reset/Kconfig          |  11 ++++
 drivers/power/reset/Makefile         |   1 +
 drivers/power/reset/brcmstb-reboot.c | 120 +++++++++++++++++++++++++++++++++++
 3 files changed, 132 insertions(+)
 create mode 100644 drivers/power/reset/brcmstb-reboot.c
drivers/power/reset/Kconfig +11 -0
index bdcf5173e377..f2ac54df496f 100644
@@ -20,6 +20,17 @@ config POWER_RESET_AXXIA
 
 	  Say Y if you have an Axxia family SoC.
 
+config POWER_RESET_BRCMSTB
+	bool "Broadcom STB reset driver" if COMPILE_TEST
+	depends on POWER_RESET && ARM
+	default ARCH_BRCMSTB
+	help
+	  This driver provides restart support for ARM-based Broadcom STB
+	  boards.
+
+	  Say Y here if you have an ARM-based Broadcom STB board and you wish
+	  to have restart support.
+
 config POWER_RESET_GPIO
 	bool "GPIO power-off driver"
 	depends on OF_GPIO && POWER_RESET
drivers/power/reset/Makefile +1 -0
index dde2e8bbac53..7379818ca69d 100644
@@ -1,5 +1,6 @@
 obj-$(CONFIG_POWER_RESET_AS3722) += as3722-poweroff.o
 obj-$(CONFIG_POWER_RESET_AXXIA) += axxia-reset.o
+obj-$(CONFIG_POWER_RESET_BRCMSTB) += brcmstb-reboot.o
 obj-$(CONFIG_POWER_RESET_GPIO) += gpio-poweroff.o
 obj-$(CONFIG_POWER_RESET_MSM) += msm-poweroff.o
 obj-$(CONFIG_POWER_RESET_QNAP) += qnap-poweroff.o
drivers/power/reset/brcmstb-reboot.c new file +120 -0

120 lines not on this page · raw message

Signature · 1 line
1.9.1
maintainer Applied
#1 lore raw

Hi Brian,

Quoted 14 lines · Brian Norris

Add support for reboot functionality on boards with ARM-based Broadcom STB chipsets. Make it built-in by default for ARCH_BRCMSTB, but allow it to be configurable under COMPILE_TEST.

Cc Sebastian Reichel <[email protected]>
Cc Dmitry Eremin-Solenikov <[email protected]>
Cc David Woodhouse <[email protected]>

---
Hi Sebastian, can you merge this, or else defer this to Matt?

Quoted 8 lines

This driver is mostly unchanged for a while, but it hasn't gotten an Ack from any PM guys. It is now separated from the rest of its accompanying series:

https://lkml.org/lkml/2014/7/21/647
https://lkml.org/lkml/2014/7/21/801

The DT bindings have gotten review somewhere in the course of 8 versions.

applied to battery-2.6.git:

http://git.infradead.org/battery-2.6.git/commit/030494e75064cb4fcbeb609d845ae0c9ceade2b9

-- Sebastian