From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755972AbcAUC22 (ORCPT ); Wed, 20 Jan 2016 21:28:28 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:14285 "EHLO mailgw02.hq.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1755461AbcAUC20 (ORCPT ); Wed, 20 Jan 2016 21:28:26 -0500 Message-ID: <1453343300.28078.6.camel@mtksdaap41> Subject: Re: [PATCH v3 1/6] clk: mediatek: Refine the makefile to support multiple clock drivers From: Yingjoe Chen To: James Liao CC: Matthias Brugger , Mike Turquette , Stephen Boyd , "John Crispin" , , Sascha Hauer , , , , "Shunli Wang" , Philipp Zabel , , Date: Thu, 21 Jan 2016 10:28:20 +0800 In-Reply-To: <1452587470-61506-2-git-send-email-jamesjj.liao@mediatek.com> References: <1452587470-61506-1-git-send-email-jamesjj.liao@mediatek.com> <1452587470-61506-2-git-send-email-jamesjj.liao@mediatek.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-MTK: N Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2016-01-12 at 16:31 +0800, James Liao wrote: > Add a Kconfig to define clock configuration for each SoC, and > modify the Makefile to build drivers that only selected in config. > > Signed-off-by: Shunli Wang > Signed-off-by: James Liao > --- > drivers/clk/Kconfig | 1 + > drivers/clk/mediatek/Kconfig | 23 +++++++++++++++++++++++ > drivers/clk/mediatek/Makefile | 6 +++--- > 3 files changed, 27 insertions(+), 3 deletions(-) > create mode 100644 drivers/clk/mediatek/Kconfig > > diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig > index c3e3a02..b7a37dc 100644 > --- a/drivers/clk/Kconfig > +++ b/drivers/clk/Kconfig > @@ -198,3 +198,4 @@ source "drivers/clk/mvebu/Kconfig" > > source "drivers/clk/samsung/Kconfig" > source "drivers/clk/tegra/Kconfig" > +source "drivers/clk/mediatek/Kconfig" Hi James, drivers/clk/mediatek/Kconfig add user selectable options, menuconfig will list them outside of "Common Clock Framework" sub-menu if you source the file here. Kconfig for samsung & tegra doesn't have any, so it is OK for them to stay here. Please move it inside the menu, also it seems the source lines are sorted now, so let's keep them sorted. Joe.C