[PATCH 09/10] clk: ns2: add clock support for Broadcom Northstar 2 SoC
Stephen Boyd
sboyd at codeaurora.org
Fri Oct 9 17:33:52 PDT 2015
On 10/02, Jon Mason wrote:
> diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
> index 23800a1..2790f21 100644
> --- a/arch/arm64/Kconfig.platforms
> +++ b/arch/arm64/Kconfig.platforms
> @@ -2,6 +2,7 @@ menu "Platform selection"
>
> config ARCH_BCM_IPROC
> bool "Broadcom iProc SoC Family"
> + select COMMON_CLK_IPROC
Given that this is a visible option, I'd expect the defconfig to
enable this.
> help
> This enables support for Broadcom iProc based SoCs
>
> diff --git a/drivers/clk/Makefile b/drivers/clk/Makefile
> index d08b3e5..ea81eaa 100644
> --- a/drivers/clk/Makefile
> +++ b/drivers/clk/Makefile
> @@ -47,7 +47,8 @@ obj-$(CONFIG_COMMON_CLK_WM831X) += clk-wm831x.o
> obj-$(CONFIG_COMMON_CLK_XGENE) += clk-xgene.o
> obj-$(CONFIG_COMMON_CLK_PWM) += clk-pwm.o
> obj-$(CONFIG_COMMON_CLK_AT91) += at91/
> -obj-$(CONFIG_ARCH_BCM) += bcm/
> +obj-$(CONFIG_CLK_BCM_KONA) += bcm/
> +obj-$(CONFIG_COMMON_CLK_IPROC) += bcm/
Also, perhaps we need some sort of Kconfig thing for overall bcm
clock drivers, so that we don't have duplicate Makefile rules.
config COMMON_CLK_BCM
bool "Support for Broadcom clocks"
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
More information about the linux-arm-kernel
mailing list