Re: [PATCH 1/2] clk: bcm: Make BCM2835 clock drivers selectable

From: Stephen Boyd
Date: Thu Jun 06 2019 - 16:39:23 EST


Quoting Florian Fainelli (2019-05-09 13:29:55)
> Make the BCM2835 clock driver selectable by other
> architectures/platforms. ARCH_BRCMSTB will be selecting that driver in
> the next commit since new chips like 7211 use the same CPRMAN clock
> controller that this driver supports.
>
> Signed-off-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
> ---
> drivers/clk/bcm/Kconfig | 9 +++++++++
> drivers/clk/bcm/Makefile | 4 ++--
> 2 files changed, 11 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/clk/bcm/Kconfig b/drivers/clk/bcm/Kconfig
> index 4c4bd85f707c..0b873e23f128 100644
> --- a/drivers/clk/bcm/Kconfig
> +++ b/drivers/clk/bcm/Kconfig
> @@ -1,3 +1,12 @@
> +config CLK_BCM2835
> + bool "Broadcom BCM2835 clock support"
> + depends on ARCH_BCM2835 || COMPILE_TEST
> + depends on COMMON_CLK

This whole thing is inside the COMMON_CLK menu so this line probably
doesn't matter. Anyway, I'm just going to apply this to clk-next.

> + default ARCH_BCM2835
> + help
> + Enable common clock framework support for Broadcom BCM2835
> + SoCs.