Linux Power Management development
 help / color / mirror / Atom feed
* [PATCH 0/2] power: reset: Couple of POWER_RESET_BRCMSTB Kconfig changes
@ 2017-05-31 20:39 Florian Fainelli
  2017-05-31 20:39 ` [PATCH 1/2] power: reset: Allow selecting POWER_RESET_BRCMSTB on ARM64 Florian Fainelli
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Florian Fainelli @ 2017-05-31 20:39 UTC (permalink / raw)
  To: linux-kernel; +Cc: sre, linux-pm, bcm-kernel-feedback-list, 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.

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(-)

-- 
2.9.3

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 1/2] power: reset: Allow selecting POWER_RESET_BRCMSTB on ARM64
  2017-05-31 20:39 [PATCH 0/2] power: reset: Couple of POWER_RESET_BRCMSTB Kconfig changes Florian Fainelli
@ 2017-05-31 20:39 ` Florian Fainelli
  2017-05-31 20:39 ` [PATCH 2/2] power: reset: Default POWER_RESET_BRCMSTB to BMIPS_GENERIC Florian Fainelli
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Florian Fainelli @ 2017-05-31 20:39 UTC (permalink / raw)
  To: linux-kernel; +Cc: sre, linux-pm, bcm-kernel-feedback-list, 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.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
---
 drivers/power/reset/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/power/reset/Kconfig b/drivers/power/reset/Kconfig
index 13f1714cf6f7..fdad987bed89 100644
--- a/drivers/power/reset/Kconfig
+++ b/drivers/power/reset/Kconfig
@@ -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
-- 
2.9.3

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 2/2] power: reset: Default POWER_RESET_BRCMSTB to BMIPS_GENERIC
  2017-05-31 20:39 [PATCH 0/2] power: reset: Couple of POWER_RESET_BRCMSTB Kconfig changes Florian Fainelli
  2017-05-31 20:39 ` [PATCH 1/2] power: reset: Allow selecting POWER_RESET_BRCMSTB on ARM64 Florian Fainelli
@ 2017-05-31 20:39 ` Florian Fainelli
  2017-06-07 16:59 ` [PATCH 0/2] power: reset: Couple of POWER_RESET_BRCMSTB Kconfig changes Florian Fainelli
  2017-06-07 20:52 ` Sebastian Reichel
  3 siblings, 0 replies; 5+ messages in thread
From: Florian Fainelli @ 2017-05-31 20:39 UTC (permalink / raw)
  To: linux-kernel; +Cc: sre, linux-pm, bcm-kernel-feedback-list, 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.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
---
 drivers/power/reset/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/power/reset/Kconfig b/drivers/power/reset/Kconfig
index fdad987bed89..ca0de1a78e85 100644
--- a/drivers/power/reset/Kconfig
+++ b/drivers/power/reset/Kconfig
@@ -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.
 
-- 
2.9.3

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH 0/2] power: reset: Couple of POWER_RESET_BRCMSTB Kconfig changes
  2017-05-31 20:39 [PATCH 0/2] power: reset: Couple of POWER_RESET_BRCMSTB Kconfig changes Florian Fainelli
  2017-05-31 20:39 ` [PATCH 1/2] power: reset: Allow selecting POWER_RESET_BRCMSTB on ARM64 Florian Fainelli
  2017-05-31 20:39 ` [PATCH 2/2] power: reset: Default POWER_RESET_BRCMSTB to BMIPS_GENERIC Florian Fainelli
@ 2017-06-07 16:59 ` Florian Fainelli
  2017-06-07 20:52 ` Sebastian Reichel
  3 siblings, 0 replies; 5+ messages in thread
From: Florian Fainelli @ 2017-06-07 16:59 UTC (permalink / raw)
  To: linux-kernel, sre; +Cc: linux-pm, bcm-kernel-feedback-list

On 05/31/2017 01:39 PM, Florian Fainelli wrote:
> 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?

> 
> 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(-)
> 


-- 
Florian

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 0/2] power: reset: Couple of POWER_RESET_BRCMSTB Kconfig changes
  2017-05-31 20:39 [PATCH 0/2] power: reset: Couple of POWER_RESET_BRCMSTB Kconfig changes Florian Fainelli
                   ` (2 preceding siblings ...)
  2017-06-07 16:59 ` [PATCH 0/2] power: reset: Couple of POWER_RESET_BRCMSTB Kconfig changes Florian Fainelli
@ 2017-06-07 20:52 ` Sebastian Reichel
  3 siblings, 0 replies; 5+ messages in thread
From: Sebastian Reichel @ 2017-06-07 20:52 UTC (permalink / raw)
  To: Florian Fainelli; +Cc: linux-kernel, linux-pm, bcm-kernel-feedback-list

[-- Attachment #1: Type: text/plain, Size: 592 bytes --]

Hi Florian,

On Wed, May 31, 2017 at 01:39:44PM -0700, Florian Fainelli wrote:
> 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

> 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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-06-07 20:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-31 20:39 [PATCH 0/2] power: reset: Couple of POWER_RESET_BRCMSTB Kconfig changes Florian Fainelli
2017-05-31 20:39 ` [PATCH 1/2] power: reset: Allow selecting POWER_RESET_BRCMSTB on ARM64 Florian Fainelli
2017-05-31 20:39 ` [PATCH 2/2] power: reset: Default POWER_RESET_BRCMSTB to BMIPS_GENERIC Florian Fainelli
2017-06-07 16:59 ` [PATCH 0/2] power: reset: Couple of POWER_RESET_BRCMSTB Kconfig changes Florian Fainelli
2017-06-07 20:52 ` Sebastian Reichel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox