From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753265AbbJMWE4 (ORCPT ); Tue, 13 Oct 2015 18:04:56 -0400 Received: from mail-gw2-out.broadcom.com ([216.31.210.63]:1612 "EHLO mail-gw2-out.broadcom.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751050AbbJMWEy (ORCPT ); Tue, 13 Oct 2015 18:04:54 -0400 X-IronPort-AV: E=Sophos;i="5.17,680,1437462000"; d="scan'208";a="77554483" Date: Tue, 13 Oct 2015 18:04:50 -0400 From: Jon Mason To: Arnd Bergmann CC: Michael Turquette , Stephen Boyd , Florian Fainelli , "Hauke Mehrtens" , Ray Jui , Scott Branden , , , , , Subject: Re: [PATCH v2 7/7] clk: ns2: add clock support for Broadcom Northstar 2 SoC Message-ID: <20151013220450.GO12512@broadcom.com> References: <1444770485-11210-1-git-send-email-jonmason@broadcom.com> <1444770485-11210-8-git-send-email-jonmason@broadcom.com> <5280890.6npshDUNFZ@wuerfel> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <5280890.6npshDUNFZ@wuerfel> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 13, 2015 at 11:18:53PM +0200, Arnd Bergmann wrote: > On Tuesday 13 October 2015 17:08:05 Jon Mason wrote: > > @@ -3,6 +3,7 @@ obj-$(CONFIG_CLK_BCM_KONA) += clk-kona-setup.o > > obj-$(CONFIG_CLK_BCM_KONA) += clk-bcm281xx.o > > obj-$(CONFIG_CLK_BCM_KONA) += clk-bcm21664.o > > obj-$(CONFIG_COMMON_CLK_IPROC) += clk-iproc-armpll.o clk-iproc-pll.o clk-iproc-asiu.o > > +obj-$(CONFIG_COMMON_CLK_IPROC) += clk-ns2.o > > obj-$(CONFIG_ARCH_BCM_CYGNUS) += clk-cygnus.o > > obj-$(CONFIG_ARCH_BCM_NSP) += clk-nsp.o > > obj-$(CONFIG_ARCH_BCM_5301X) += clk-nsp.o > > If I understand this right, both CYGNUS and NS2 are IPROC based, but it > looks like you now require building the clk-ns2 file for both? There is no need for the NS2 clk code to be used by anything other than NS2. There is no unique CONFIG_ identifier for NS2 in the code that was accepted upstream. If I can add one for NS2, then I can split this off similar to Cygnus or NSP. If not, then it has to be lumped in with all of iProc. :( > On a related note, I'm seeing problems when CONFIG_CYGNUS is set but > CONFIG_COMMON_CLK_IPROC is disabled, as that currently leads to a link > failure. I can double check, but it should be on by default when Cygnus is enabled. If you send me the error, I'll be happy to fix it. Thanks, Jon > > Arnd