From patchwork Tue Sep 24 16:53:23 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mateusz Krawczuk X-Patchwork-Id: 2934551 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id EAB27BFF05 for ; Tue, 24 Sep 2013 16:54:21 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4A6DA20417 for ; Tue, 24 Sep 2013 16:54:17 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1F1CF203F4 for ; Tue, 24 Sep 2013 16:54:15 +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 1VOVsJ-0002fT-0c; Tue, 24 Sep 2013 16:54:11 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VOVsG-0005ng-DE; Tue, 24 Sep 2013 16:54:08 +0000 Received: from mailout4.samsung.com ([203.254.224.34]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VOVsC-0005lQ-9f for linux-arm-kernel@lists.infradead.org; Tue, 24 Sep 2013 16:54:05 +0000 Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MTN00APY2XA2TC0@mailout4.samsung.com> for linux-arm-kernel@lists.infradead.org; Wed, 25 Sep 2013 01:53:39 +0900 (KST) X-AuditID: cbfee61a-b7f7a6d00000235f-18-5241c3923eeb Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id C5.2E.09055.293C1425; Wed, 25 Sep 2013 01:53:39 +0900 (KST) Received: from AMDC2118.DIGITAL.local ([106.120.53.16]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MTN006LL2X3GU60@mmp1.samsung.com>; Wed, 25 Sep 2013 01:53:38 +0900 (KST) From: Mateusz Krawczuk To: kyungmin.park@samsung.com Subject: [PATCH 1/3] clk: samsung: pll: Add support for PLL6545a and PLL6522x Date: Tue, 24 Sep 2013 18:53:23 +0200 Message-id: <1380041605-15736-1-git-send-email-m.krawczuk@partner.samsung.com> X-Mailer: git-send-email 1.8.1.2 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrJLMWRmVeSWpSXmKPExsVy+t9jAd3Jhx2DDKb2s1tMWneAyWL+kXOs FuderWS0ONv0ht1i0+NrrBaXd81hs5hxfh+Txek1p5gtll6/yGTxdMJFNosJ09eyWBxeAdS2 7uV0IOtNO6vFq4NtLBbrZ7xmsZgz/R2Tg6DHmnlrGD0WfL7C7vF31Qtmj5XLv7B5vFo9k9Xj zrU9bB6bl9R7HHy3h8mjb8sqRo/Pm+Q8Ns4NDeCO4rJJSc3JLEst0rdL4MpoXX+StWANR8Wt twvYGhjb2LsYOTgkBEwktkww7WLkBDLFJC7cW8/WxcjFISSwiFHi44G/zBBOO5PEzzdrWEGq 2ATMJSY+28QCYosIyEpMnPwFrIhZYC+zxJSzq1lBpgoL+Erc/5YFUsMioCqx4sF3NhCbV8BP 4vTN20wQ2xQkfl4+wTaBkXsBI8MqRtHUguSC4qT0XEO94sTc4tK8dL3k/NxNjOAAfia1g3Fl g8UhRgEORiUe3h3eDkFCrIllxZW5hxglOJiVRHjNNzgGCfGmJFZWpRblxxeV5qQWH2KU5mBR Euc90GodKCSQnliSmp2aWpBaBJNl4uCUamCs7ZsSddE2rETrnoX+Y299b2Nuh7/T732vCDz3 6N6k/2d+zTl+v+2L51z9LOWXAe/OvtMxy5tR6X9OVUpzSoRSpVvBU7f5/hryys5BM66HuVlX XVifouD7Zl5xY8Z3f7Fopp9SERNXXFmf9OvTyQ1fu6KOX7vmxMW+7rJtN0Pdm+fWzL/71LyV WIozEg21mIuKEwFEOFh3XAIAAA== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130924_125404_544918_D782568A X-CRM114-Status: UNSURE ( 9.06 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -5.8 (-----) Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, yadi.brar@samsung.com, linux-samsung-soc@vger.kernel.org, mturquette@linaro.org, rob@landley.net, pawel.moll@arm.com, swarren@wwwdotorg.org, t.figa@samsung.com, ijc+devicetree@hellion.org.uk, linux-kernel@vger.kernel.org, rob.herring@calxeda.com, ben-linux@fluff.org, Mateusz Krawczuk , s.nawrocki@samsung.com, linux-arm-kernel@lists.infradead.org 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=-3.1 required=5.0 tests=BAYES_00,KHOP_BIG_TO_CC, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=ham 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 Signed-off-by: Mateusz Krawczuk Signed-off-by: Kyungmin Park --- drivers/clk/samsung/clk-pll.c | 2 ++ drivers/clk/samsung/clk-pll.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/drivers/clk/samsung/clk-pll.c b/drivers/clk/samsung/clk-pll.c index 529e11d..dea8715 100644 --- a/drivers/clk/samsung/clk-pll.c +++ b/drivers/clk/samsung/clk-pll.c @@ -773,6 +773,8 @@ static void __init _samsung_clk_register_pll(struct samsung_pll_clock *pll_clk, init.ops = &samsung_pll36xx_clk_ops; break; case pll_6552: + case pll_6545a: + case pll_6522x: init.ops = &samsung_pll6552_clk_ops; break; case pll_6553: diff --git a/drivers/clk/samsung/clk-pll.h b/drivers/clk/samsung/clk-pll.h index 6c39030..e786875 100644 --- a/drivers/clk/samsung/clk-pll.h +++ b/drivers/clk/samsung/clk-pll.h @@ -25,6 +25,8 @@ enum samsung_pll_type { pll_4650c, pll_6552, pll_6553, + pll_6545a, + pll_6522x, }; #define PLL_35XX_RATE(_rate, _m, _p, _s) \