Skip to contentSkip to conversation

power: reset: Couple of POWER_RESET_BRCMSTB Kconfig changes

PATCH In review Florian Fainelli 2 participants 5 messages May 31, 2017 – Jun 7, 2017 System reset/shutdown drivers

lore
Share & tools
lore
#1 lore raw

PATCH 1/2 power: reset: Allow selecting POWER_RESET_BRCMSTB on ARM64

In reply to Florian Fainelli

Since commit 37eb56dc79a8 ("arm64: Add Broadcom Set Top Box Kconfig entry point") we have ARCH_BRCMSTB also visible on ARM64 platform, yet this reboot driver was not selectable, so fix that.

---
 drivers/power/reset/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/power/reset/Kconfig +1 -1
index 13f1714cf6f7..fdad987bed89 100644
@@ -58,7 +58,7 @@ config POWER_RESET_BRCMKONA
 
 config POWER_RESET_BRCMSTB
 	bool "Broadcom STB reset driver"
-	depends on ARM || MIPS || COMPILE_TEST
+	depends on ARM || ARM64 || MIPS || COMPILE_TEST
 	depends on MFD_SYSCON
 	default ARCH_BRCMSTB
 	help
Signature · 1 line
2.9.3
#2 lore raw

PATCH 2/2 power: reset: Default POWER_RESET_BRCMSTB to BMIPS_GENERIC

In reply to Florian Fainelli

On Broadcom MIPS STB platforms, BMIPS_GENERIC is the Kconfig symbol that is used, make this reboot driver default to that value to make sure we can reboot a system properly.

---
 drivers/power/reset/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/power/reset/Kconfig +1 -1
index fdad987bed89..ca0de1a78e85 100644
@@ -60,7 +60,7 @@ config POWER_RESET_BRCMSTB
 	bool "Broadcom STB reset driver"
 	depends on ARM || ARM64 || MIPS || COMPILE_TEST
 	depends on MFD_SYSCON
-	default ARCH_BRCMSTB
+	default ARCH_BRCMSTB || BMIPS_GENERIC
 	help
 	  This driver provides restart support for Broadcom STB boards.
 
Signature · 1 line
2.9.3
#0 lore raw

cover power: reset: Couple of POWER_RESET_BRCMSTB Kconfig changes

Hi Sebastian,

Here are two small tweaks to the POWER_RESET_BRCMSTB Kconfig selection to allow the driver on ARM64 and make it default to BMIPS_GENERIC on MIPS platforms.

Based on your "for-next" branch.

Thanks

Florian Fainelli (2):
power: reset: Allow selecting POWER_RESET_BRCMSTB on ARM64
power: reset: Default POWER_RESET_BRCMSTB to BMIPS_GENERIC

 drivers/power/reset/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
2.9.3
#3 lore raw
Quoted 6 lines · Florian Fainelli

Hi Sebastian,

Here are two small tweaks to the POWER_RESET_BRCMSTB Kconfig selection to allow the driver on ARM64 and make it default to BMIPS_GENERIC on MIPS platforms.

Based on your "for-next" branch.

Sebastian, are these changes okay with you?

Quoted 10 lines

Thanks

Florian Fainelli (2):
power: reset: Allow selecting POWER_RESET_BRCMSTB on ARM64
power: reset: Default POWER_RESET_BRCMSTB to BMIPS_GENERIC

 drivers/power/reset/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
Florian
#4 lore raw
In reply to Florian Fainelli

Hi Florian,

Quoted 4 lines · Florian Fainelli

Here are two small tweaks to the POWER_RESET_BRCMSTB Kconfig selection to allow the driver on ARM64 and make it default to BMIPS_GENERIC on MIPS platforms.

Based on your "for-next" branch.

Thanks, both queued.

-- Sebastian

Quoted 6 lines

Florian Fainelli (2):
power: reset: Allow selecting POWER_RESET_BRCMSTB on ARM64
power: reset: Default POWER_RESET_BRCMSTB to BMIPS_GENERIC

 drivers/power/reset/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- Sebastian