Cleanup some BRCMSTB Kconfig options
cover Cleanup some BRCMSTB Kconfig options
Most of the BRCMSTB drivers correctly depend on ARCH_BRCMSTB but some of the options depend on ARM and ARM64 instead. This cleans those up to be uniform with the rest of the drivers for the SoC to make it a bit more straight forward when enabling (or not) the SoC and associate drivers.
Peter Robinson (3):
soc: bcm: brcmstb: depend on ARCH_BRCMSTB over arm arches
power: reset: brcmstb: Depend on actual SoC dependencies
bus: brcmstb_gisb: Depend on SoC specifics over generic arm
drivers/bus/Kconfig | 2 +- drivers/power/reset/Kconfig | 2 +- drivers/soc/bcm/Kconfig | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
Signature · 7 lines
2.41.0 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
PATCH 1/3 soc: bcm: brcmstb: depend on ARCH_BRCMSTB over arm arches
The SOC_BRCMSTB is better depending on ARCH_BRCMSTB as it's defined for both arm and aarch64 but is more specific to the actual SoC's dependencies, it'll still get compile tested.
--- drivers/soc/bcm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/soc/bcm/Kconfig +1 -1
@@ -33,7 +33,7 @@ config SOC_BCM63XX config SOC_BRCMSTB bool "Broadcom STB SoC drivers" - depends on ARM || ARM64 || BMIPS_GENERIC || COMPILE_TEST + depends on ARCH_BRCMSTB || BMIPS_GENERIC || COMPILE_TEST select SOC_BUS help Enables drivers for the Broadcom Set-Top Box (STB) series of chips.
Signature · 7 lines
2.41.0 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Florian Fainelli
AppliedRe: [PATCH 1/3] soc: bcm: brcmstb: depend on ARCH_BRCMSTB over arm arches
From: Florian Fainelli <[email protected]>
Quoted 6 lines · Peter Robinson
The
SOC_BRCMSTBis better depending onARCH_BRCMSTBas it's defined for both arm and aarch64 but is more specific to the actual SoC's dependencies, it'll still get compile tested.Signed-off-by Peter Robinson <[email protected]>---
Applied to https://github.com/Broadcom/stblinux/commits/drivers/next, thanks! --
Florian
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
PATCH 2/3 power: reset: brcmstb: Depend on actual SoC dependencies
In reply to Peter RobinsonDepend on the explicit SoC defines rather than generic architectures like most of the rest of the HW drivers do. This makes the drivers only available for the HW and for compile testing.
--- drivers/power/reset/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/power/reset/Kconfig +1 -1
@@ -66,7 +66,7 @@ config POWER_RESET_BRCMKONA config POWER_RESET_BRCMSTB bool "Broadcom STB reset driver" - depends on ARM || ARM64 || MIPS || COMPILE_TEST + depends on ARCH_BRCMSTB || BMIPS_GENERIC || COMPILE_TEST depends on MFD_SYSCON default ARCH_BRCMSTB || BMIPS_GENERIC help
Signature · 1 line
2.41.0
Re: [PATCH 2/3] power: reset: brcmstb: Depend on actual SoC dependencies
Quoted 8 lines · Peter Robinson
Depend on the explicit SoC defines rather than generic architectures like most of the rest of the HW drivers do. This makes the drivers only available for the HW and for compile testing.
Signed-off-by Peter Robinson <[email protected]>Cc Sebastian Reichel <[email protected]>
Signature · 1 line
Florian
PATCH 3/3 bus: brcmstb_gisb: Depend on SoC specifics over generic arm
In reply to Peter RobinsonDepend on the explicit SoC defines rather than generic architectures like most of the rest of the HW drivers do.
--- drivers/bus/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/bus/Kconfig +1 -1
@@ -31,7 +31,7 @@ config ARM_INTEGRATOR_LM config BRCMSTB_GISB_ARB tristate "Broadcom STB GISB bus arbiter" - depends on ARM || ARM64 || MIPS + depends on ARCH_BRCMSTB || BMIPS_GENERIC default ARCH_BRCMSTB || BMIPS_GENERIC help Driver for the Broadcom Set Top Box System-on-a-chip internal bus
Signature · 7 lines
2.41.0 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Re: [PATCH 3/3] bus: brcmstb_gisb: Depend on SoC specifics over generic arm
Quoted 13 lines · Peter Robinson
Depend on the explicit SoC defines rather than generic architectures like most of the rest of the HW drivers do.
Signed-off-by Peter Robinson <[email protected]>--- drivers/bus/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/bus/Kconfig +0
-0
drivers/bus/Kconfig config ARM_INTEGRATOR_LM · line 34
Quoted 5 lines
drivers/bus/Kconfig +1
-1@@ -31,7 +31,7 @@ config ARM_INTEGRATOR_LM config BRCMSTB_GISB_ARB tristate "Broadcom STB GISB bus arbiter" - depends on ARM || ARM64 || MIPS + depends on ARCH_BRCMSTB || BMIPS_GENERIC
If there are no compile time dependencies, it might be good to also add "|| COMPILE_TEST" to the dependency and have the drivers built in an x86_64 allmodconfig.
Arnd
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Re: [PATCH 3/3] bus: brcmstb_gisb: Depend on SoC specifics over generic arm
Quoted 15 lines · Arnd Bergmann
Quoted 14 lines · Peter Robinson
Depend on the explicit SoC defines rather than generic architectures like most of the rest of the HW drivers do.
Signed-off-by Peter Robinson <[email protected]>--- drivers/bus/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/bus/Kconfig +0
-0@@ -31,7 +31,7 @@ config ARM_INTEGRATOR_LM
Quoted 8 lines
drivers/bus/Kconfig config ARM_INTEGRATOR_LM · line 34
Quoted 4 lines
drivers/bus/Kconfig +1
-1config BRCMSTB_GISB_ARB tristate "Broadcom STB GISB bus arbiter" - depends on ARM || ARM64 || MIPS + depends on ARCH_BRCMSTB || BMIPS_GENERICIf there are no compile time dependencies, it might be good to also add "||
COMPILE_TEST" to the dependency and have the drivers built in anx86_64allmodconfig.
Agreed, I did apply Peter's patch because I think this can be a separate patch. Thanks!
Signature · 7 lines
Florian _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Florian Fainelli
AppliedRe: [PATCH 3/3] bus: brcmstb_gisb: Depend on SoC specifics over generic arm
In reply to Peter RobinsonFrom: Florian Fainelli <[email protected]>
Quoted 5 lines · Peter Robinson
Depend on the explicit SoC defines rather than generic architectures like most of the rest of the HW drivers do.
Signed-off-by Peter Robinson <[email protected]>---
Applied to https://github.com/Broadcom/stblinux/commits/drivers/next, thanks! --
Florian
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Sebastian Reichel
AppliedRe: (subset) [PATCH 0/3] Cleanup some BRCMSTB Kconfig options
In reply to Peter RobinsonQuoted 6 lines · Peter Robinson
Most of the BRCMSTB drivers correctly depend on
ARCH_BRCMSTBbut some of the options depend on ARM and ARM64 instead. This cleans those up to be uniform with the rest of the drivers for the SoC to make it a bit more straight forward when enabling (or not) the SoC and associate drivers.
Quoted 6 lines
Peter Robinson (3):
soc: bcm: brcmstb: depend onARCH_BRCMSTBover arm arches
power: reset: brcmstb: Depend on actual SoC dependencies
bus:brcmstb_gisb: Depend on SoC specifics over generic arm[...]
Applied, thanks!
[2/3] power: reset: brcmstb: Depend on actual SoC dependencies
commit: 3c693ac29e3fb4e1d88652e633a9dc16e1dd76e4
Best regards,
Signature · 7 lines
Sebastian Reichel <[email protected]> _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel