linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] soc: brcmstb: enable drivers for ARM64 and BMIPS
@ 2017-04-19 22:50 Markus Mayer
  2017-04-20  4:14 ` Baruch Siach
  0 siblings, 1 reply; 2+ messages in thread
From: Markus Mayer @ 2017-04-19 22:50 UTC (permalink / raw)
  To: Florian Fainelli, Arnd Bergmann
  Cc: Markus Mayer, Broadcom Kernel List, ARM Kernel List,
	Linux Kernel Mailing List

From: Markus Mayer <mmayer@broadcom.com>

We enable the BRCMSTB SoC drivers not only for ARM, but also ARM64 and
BMIPS.

Signed-off-by: Markus Mayer <mmayer@broadcom.com>
---

I used (COMPILE_TEST & OF) as condition like Raspberry Pi, since we
have of_* calls in our code, too.

Changes since v1:
  - Add BMIPS
  - Add COMPILE_TEST

 drivers/soc/bcm/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/soc/bcm/Kconfig b/drivers/soc/bcm/Kconfig
index a39b0d58ddd0..9463d6709909 100644
--- a/drivers/soc/bcm/Kconfig
+++ b/drivers/soc/bcm/Kconfig
@@ -11,7 +11,7 @@ config RASPBERRYPI_POWER
 
 config SOC_BRCMSTB
 	bool "Broadcom STB SoC drivers"
-	depends on ARM
+	depends on ARM || ARM64 || BMIPS_GENERIC || (COMPILE_TEST && OF)
 	select SOC_BUS
 	help
 	  Enables drivers for the Broadcom Set-Top Box (STB) series of chips.
-- 
2.12.0

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

* Re: [PATCH v2] soc: brcmstb: enable drivers for ARM64 and BMIPS
  2017-04-19 22:50 [PATCH v2] soc: brcmstb: enable drivers for ARM64 and BMIPS Markus Mayer
@ 2017-04-20  4:14 ` Baruch Siach
  0 siblings, 0 replies; 2+ messages in thread
From: Baruch Siach @ 2017-04-20  4:14 UTC (permalink / raw)
  To: Markus Mayer
  Cc: Florian Fainelli, Arnd Bergmann, Broadcom Kernel List,
	ARM Kernel List, Markus Mayer, Linux Kernel Mailing List

Hi Markus,

On Wed, Apr 19, 2017 at 03:50:40PM -0700, Markus Mayer wrote:
> From: Markus Mayer <mmayer@broadcom.com>
> 
> We enable the BRCMSTB SoC drivers not only for ARM, but also ARM64 and
> BMIPS.
> 
> Signed-off-by: Markus Mayer <mmayer@broadcom.com>
> ---
> 
> I used (COMPILE_TEST & OF) as condition like Raspberry Pi, since we
> have of_* calls in our code, too.

All of_* calls under drivers/soc/bcm/ either have empty implementations for 
the !CONFIG_OF case, or call only such routines. The RPi OF condition is most 
likely not needed as well.

baruch

> Changes since v1:
>   - Add BMIPS
>   - Add COMPILE_TEST
> 
>  drivers/soc/bcm/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/soc/bcm/Kconfig b/drivers/soc/bcm/Kconfig
> index a39b0d58ddd0..9463d6709909 100644
> --- a/drivers/soc/bcm/Kconfig
> +++ b/drivers/soc/bcm/Kconfig
> @@ -11,7 +11,7 @@ config RASPBERRYPI_POWER
>  
>  config SOC_BRCMSTB
>  	bool "Broadcom STB SoC drivers"
> -	depends on ARM
> +	depends on ARM || ARM64 || BMIPS_GENERIC || (COMPILE_TEST && OF)
>  	select SOC_BUS
>  	help
>  	  Enables drivers for the Broadcom Set-Top Box (STB) series of chips.

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -

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

end of thread, other threads:[~2017-04-20  4:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-19 22:50 [PATCH v2] soc: brcmstb: enable drivers for ARM64 and BMIPS Markus Mayer
2017-04-20  4:14 ` Baruch Siach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).