From patchwork Wed Feb 26 05:24:05 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pankaj Dubey X-Patchwork-Id: 3720871 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id B5DAB9F2F7 for ; Wed, 26 Feb 2014 05:09:27 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D9B83201FB for ; Wed, 26 Feb 2014 05:09:26 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E6432201EF for ; Wed, 26 Feb 2014 05:09:25 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WIWjk-0000bK-CT; Wed, 26 Feb 2014 05:08:52 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WIWjc-0001E9-Ex; Wed, 26 Feb 2014 05:08:44 +0000 Received: from mailout2.samsung.com ([203.254.224.25]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WIWjP-0001AX-Jl for linux-arm-kernel@lists.infradead.org; Wed, 26 Feb 2014 05:08:33 +0000 Received: from epcpsbgr4.samsung.com (u144.gpu120.samsung.co.kr [203.254.230.144]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N1L00KXI7LK1N40@mailout2.samsung.com> for linux-arm-kernel@lists.infradead.org; Wed, 26 Feb 2014 14:08:08 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.48]) by epcpsbgr4.samsung.com (EPCPMTA) with SMTP id 2D.D9.10364.8B67D035; Wed, 26 Feb 2014 14:08:08 +0900 (KST) X-AuditID: cbfee690-b7f266d00000287c-20-530d76b8b870 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 3C.08.28157.8B67D035; Wed, 26 Feb 2014 14:08:08 +0900 (KST) Received: from localhost.localdomain ([12.36.165.191]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N1L00BDV7L95K40@mmp1.samsung.com>; Wed, 26 Feb 2014 14:08:08 +0900 (KST) From: Pankaj Dubey To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH 1/3] drivers: clk: add samsung common clock config option Date: Wed, 26 Feb 2014 14:24:05 +0900 Message-id: <1393392247-6247-2-git-send-email-pankaj.dubey@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1393392247-6247-1-git-send-email-pankaj.dubey@samsung.com> References: <1393392247-6247-1-git-send-email-pankaj.dubey@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrCLMWRmVeSWpSXmKPExsVy+t8zA90dZbzBBgveq1lsenyN1eLyrjls FjPO72OyeDrhIpvFoq1f2B1YPe5c28PmsXlJvUffllWMHp83yQWwRHHZpKTmZJalFunbJXBl HHmUXLCLp6L99HfGBsYVXF2MnBwSAiYS3RsamSFsMYkL99azdTFycQgJLGOUmN3wmQmm6MW/ eWwgtpDAIkaJNb8iIYramCQW/jnMCpJgE9CVePJ+LtgkEYFsiUuzbrGA2MwCoRJP580EaxYW 8JRYdH4DI4jNIqAqcWPjcbA4r4C7xL8Fy4F6OYCWKUjMmWQDEuYU8JB43DWHBWKvu8T14xuZ QfZKCPxnk7i06yQrxBwBiW+TD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paPdr6tolXP25k5jqWnZ8vjT/LUultpKSu+K5 8konffVwloPHL4WvF2VPn/NRK+9QflXey7wvkiz20320bGP4e5ftPn1Gc1ZP9k+nyWekfv++ JaC3fLfDJL4PVRXNK6tzQpRYijMSDbWYi4oTAa9QAX7UAgAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140226_000831_901082_3C440999 X-CRM114-Status: UNSURE ( 8.84 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -6.9 (------) Cc: Pankaj Dubey , Mike Turquette X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP add samsung common clock config option and let ARCH_EXYNOS or ARCH_S3CXXXX select this if they want to use samsung common clock infrastructure. CC: Mike Turquette Signed-off-by: Pankaj Dubey --- drivers/clk/Kconfig | 10 ++++++++++ drivers/clk/Makefile | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig index 7641965..d93a325 100644 --- a/drivers/clk/Kconfig +++ b/drivers/clk/Kconfig @@ -23,6 +23,16 @@ config COMMON_CLK menu "Common Clock Framework" depends on COMMON_CLK +config COMMON_CLK_SAMSUNG + bool "Clock driver for Samsung SoCs" + depends on ARCH_S3C64XX || ARCH_S3C24XX || ARCH_EXYNOS || ARM64 + ---help--- + Supports clocking on Exynos SoCs: + - Exynos5250, Exynos5420 board. + - Exynos4 boards. + - S3C2412, S3C2416, S3C2466 boards. + - S3C64XX boards. + config COMMON_CLK_WM831X tristate "Clock driver for WM831x/2x PMICs" depends on MFD_WM831X diff --git a/drivers/clk/Makefile b/drivers/clk/Makefile index a367a98..f1da6ee 100644 --- a/drivers/clk/Makefile +++ b/drivers/clk/Makefile @@ -38,7 +38,7 @@ obj-$(CONFIG_PLAT_ORION) += mvebu/ obj-$(CONFIG_ARCH_MXS) += mxs/ obj-$(CONFIG_COMMON_CLK_QCOM) += qcom/ obj-$(CONFIG_ARCH_ROCKCHIP) += rockchip/ -obj-$(CONFIG_PLAT_SAMSUNG) += samsung/ +obj-$(CONFIG_COMMON_CLK_SAMSUNG) += samsung/ obj-$(CONFIG_ARCH_SHMOBILE_MULTI) += shmobile/ obj-$(CONFIG_ARCH_SIRF) += sirf/ obj-$(CONFIG_ARCH_SOCFPGA) += socfpga/