Thread (27 messages) 27 messages, 3 authors, 2015-10-13

Re: [PATCH 09/10] clk: ns2: add clock support for Broadcom Northstar 2 SoC

From: Scott Branden <sbranden@broadcom.com>
Date: 2015-10-13 16:52:14
Also in: linux-arm-kernel, linux-clk, lkml

Hi Jon,

Comment below.

On 15-10-12 11:19 AM, Jon Mason wrote:
On Fri, Oct 09, 2015 at 05:33:52PM -0700, Stephen Boyd wrote:
quoted
On 10/02, Jon Mason wrote:
quoted
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.
After looking at this again, it is completely unnecessary.  Removed.
quoted
quoted
  	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"
Will do.
Is that really necessary at all  I think something like this work instead?

-obj-$(CONFIG_ARCH_BCM)			+= bcm/
+obj-y		+= bcm/


Thanks,
Jon

quoted
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help