Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3424052yba; Tue, 7 May 2019 00:36:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqwfcPkxPDFV9LNfzLK6xG5rx0w/qt/wFaRKlpmQX+1Lb8z6EPRi+rvqqtaXHW1+Af6lYHOq X-Received: by 2002:a17:902:7241:: with SMTP id c1mr37845080pll.326.1557214601557; Tue, 07 May 2019 00:36:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557214601; cv=none; d=google.com; s=arc-20160816; b=bdRazJ2ZFZYeUNMApJ2hvtfaMONHJJ78F+6jxuxYHJe2luxPNbgV8LoM1Qb+4bPocI ovo9oCVhK0K26W8IwGa9+0myss5qMK67HyDWKOfRg0ToYL0XWscg3ab6+QRv4rbCBF6I lSOxBO3Vcdz4YVFfFrs1K430PkuKcIDEU7QrCCzmZTq2QtdFotyilcUcafHoYwEcdnuA EXMT7SSoV5UmD5h/EGz2kUCdwtBRwZ9f1RuQFLnGGc6XM6c64YSBjNcRkFoUnQQmERbk WJEpuz8PvVrj61fPGrtADcQxGLBw2gAafnZ64JZpY/FkP2YlDDUWnO0aY2KejSG+vkqc i4RA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:dlp-filter:cms-type :content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:organization:from:cc:to:subject :dkim-signature:dkim-filter; bh=FYl5euwdsPPChv+/efoMBPph1L1YgFkS2vAGuXunfFQ=; b=Y+rJruTEIw0b+VbRJAu4VJlk8YZPt42C8qmUQIM5adiHsMRmT5lkXK6fFM2NMppHwI AmK/eG4gitezwoqOR7yBXYJhu4sgoByU19CNnctinkJtmWAFQLIZJy/60OFlDa/RGHoD z2lCDLsJLG2Ivg1IE6rU80fcDxMuURVzrsG5i1T70PUnaS/De/90gScdxMBPI46NlnvB VAN7onxm96p1x595b/6YPn7H8pZjMkzM/eMczyAVuSiSalH/ZdTm5Q1gSKc20AqIMadE f6vqOVM2f22th9Hj6OuXp3yWF4ObNcUHA7zMCF/zIYDqV21uH3js7GdhGdxmd0zDlO2j XvSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=cxWAMWq2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g1si17656445pgq.268.2019.05.07.00.36.25; Tue, 07 May 2019 00:36:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=cxWAMWq2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726731AbfEGHfc (ORCPT + 99 others); Tue, 7 May 2019 03:35:32 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:43709 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726420AbfEGHfc (ORCPT ); Tue, 7 May 2019 03:35:32 -0400 Received: from epcas1p1.samsung.com (unknown [182.195.41.45]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20190507073528epoutp01143369c42359f2482970f68eb2ffa9f6~cVlz4p-ae0503705037epoutp01g for ; Tue, 7 May 2019 07:35:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20190507073528epoutp01143369c42359f2482970f68eb2ffa9f6~cVlz4p-ae0503705037epoutp01g DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1557214528; bh=FYl5euwdsPPChv+/efoMBPph1L1YgFkS2vAGuXunfFQ=; h=Subject:To:Cc:From:Date:In-Reply-To:References:From; b=cxWAMWq2M/AmkIyrnwUPCh7Qawr1xeZVDhFqyiPKTWMO1FVkyPdIfd4DLzYBbuJ+c LEIZFjkprrDcfywUF/NjwysffPohzoN39cBlugA6F1d9vEvZc953c/funFOizVX/xK OAkvaEzg34GiFrZCDboUlzV7+EIP4hnx+sT581YM= Received: from epsmges1p3.samsung.com (unknown [182.195.40.158]) by epcas1p2.samsung.com (KnoxPortal) with ESMTP id 20190507073525epcas1p29ade2ba4a25f0272b8c0a0e3b34bd3ed~cVlxIu9Xm1903619036epcas1p2O; Tue, 7 May 2019 07:35:25 +0000 (GMT) Received: from epcas1p3.samsung.com ( [182.195.41.47]) by epsmges1p3.samsung.com (Symantec Messaging Gateway) with SMTP id A2.D5.04143.D3531DC5; Tue, 7 May 2019 16:35:25 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190507073524epcas1p198f3608c10098e2e270c9392b302622f~cVlwgQVs71535215352epcas1p1V; Tue, 7 May 2019 07:35:24 +0000 (GMT) Received: from epsmgms1p2new.samsung.com (unknown [182.195.42.42]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20190507073524epsmtrp2f5d59f52c51bd3e01489ff281025c441~cVlwdyvmE0559305593epsmtrp26; Tue, 7 May 2019 07:35:24 +0000 (GMT) X-AuditID: b6c32a37-f31ff7000000102f-13-5cd1353ded4d Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p2new.samsung.com (Symantec Messaging Gateway) with SMTP id C9.68.03662.C3531DC5; Tue, 7 May 2019 16:35:24 +0900 (KST) Received: from [10.113.221.102] (unknown [10.113.221.102]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190507073524epsmtip2156111aa2fcaed3035b1ad7ba65ac495~cVlwMz6W22664026640epsmtip26; Tue, 7 May 2019 07:35:24 +0000 (GMT) Subject: Re: [PATCH v7 03/13] clk: samsung: add BPLL rate table for Exynos 5422 SoC To: Lukasz Luba , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-samsung-soc@vger.kernel.org Cc: b.zolnierkie@samsung.com, krzk@kernel.org, kgene@kernel.org, kyungmin.park@samsung.com, m.szyprowski@samsung.com, s.nawrocki@samsung.com, myungjoo.ham@samsung.com, keescook@chromium.org, tony@atomide.com, jroedel@suse.de, treding@nvidia.com, digetx@gmail.com, willy.mh.wolff.ml@gmail.com From: Chanwoo Choi Organization: Samsung Electronics Message-ID: <1db8ffb8-1038-edbc-81b5-689f8a4c3c6b@samsung.com> Date: Tue, 7 May 2019 16:36:50 +0900 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <1557155521-30949-4-git-send-email-l.luba@partner.samsung.com> Content-Language: en-US Content-Transfer-Encoding: 8bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrLJsWRmVeSWpSXmKPExsWy7bCmvq6t6cUYg5Zn4hYbZ6xntZh/5Byr xeqPjxktJp+ay2RxpjvXov/xa2aL8+c3sFucbXrDbnGrQcbi8q45bBafe48wWsw4v4/JYu2R u+wWtxtXsFkcftPOarH/ipfF7d98Ft9OPGJ0EPL49nUSi8fshossHjtn3WX32LSqk82jt/kd m8fBd3uYPPq2rGL02Hy62uPzJrkAzqhsm4zUxJTUIoXUvOT8lMy8dFsl7+B453hTMwNDXUNL C3MlhbzE3FRbJRefAF23zBygZ5QUyhJzSoFCAYnFxUr6djZF+aUlqQoZ+cUltkqpBSk5BZYF esWJucWleel6yfm5VoYGBkamQIUJ2Rk7T/xiKvgtWNE/cy9jA2MLfxcjJ4eEgInEzbkf2bo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0T9zL2MDYwt/ FyMnh4SAicSGB31MXYxcHEICuxklXl36wwSRkJSYdvEocxcjB5AtLHH4cDFEzVtGiSUNF8Bq hAVCJXb82cwMkhARWM4oMffvUhYQh1lgNZPEpI9b2CBa7jNKnGv4xgrSwiagJbH/xQ02EJtf QFHi6o/HjCA2r4CdxO4F39lA1rEIqEjsmqQPEhYViJA4834FC0SJoMTJmU/AbE4Bb4mja5rY QWxmAXWJP/MuMUPY4hK3nsxngrDlJZq3zmaewCg8C0n7LCQts5C0zELSsoCRZRWjZGpBcW56 brFhgVFearlecWJucWleul5yfu4mRnB0a2ntYDxxIv4QowAHoxIPb4f1hRgh1sSy4srcQ4wS HMxKIryJz87FCPGmJFZWpRblxxeV5qQWH2KU5mBREueVzz8WKSSQnliSmp2aWpBaBJNl4uCU amCcobb88p3fdzcyiBTMan7DMtWwleWucuS51x6L5M0/rGpj2h9rw1C67MjTF/P3BTGYXLjq f+tYqZU9zwnBFYYvfA4FJ0UUGBT5r9ku9ebPPo1Sw3/rfme80172u6zjsrM+X33J5gI/5nPG yxSnxgfrz/rSeyT24sHEjc2XnDpm8z5bZ16aEtyixFKckWioxVxUnAgASH8NyeoCAAA= X-CMS-MailID: 20190507073524epcas1p198f3608c10098e2e270c9392b302622f X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" CMS-TYPE: 101P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20190506151212eucas1p24110f75fa6ed945f9ae7614fbb8aa13d References: <1557155521-30949-1-git-send-email-l.luba@partner.samsung.com> <1557155521-30949-4-git-send-email-l.luba@partner.samsung.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Lukasz, On 19. 5. 7. 오전 12:11, Lukasz Luba wrote: > Add new table rate for BPLL for Exynos5422 SoC supporting Dynamic Memory > Controller frequencies for driver's DRAM timings. > > Signed-off-by: Lukasz Luba > --- > drivers/clk/samsung/clk-exynos5420.c | 17 ++++++++++++++++- > 1 file changed, 16 insertions(+), 1 deletion(-) > > diff --git a/drivers/clk/samsung/clk-exynos5420.c b/drivers/clk/samsung/clk-exynos5420.c > index af62b6d..23c60a5 100644 > --- a/drivers/clk/samsung/clk-exynos5420.c > +++ b/drivers/clk/samsung/clk-exynos5420.c > @@ -1335,6 +1335,17 @@ static const struct samsung_pll_rate_table exynos5420_pll2550x_24mhz_tbl[] __ini > PLL_35XX_RATE(24 * MHZ, 200000000, 200, 3, 3), > }; > > +static const struct samsung_pll_rate_table exynos5422_bpll_rate_table[] = { > + PLL_35XX_RATE(24 * MHZ, 825000000, 275, 4, 1), > + PLL_35XX_RATE(24 * MHZ, 728000000, 182, 3, 1), > + PLL_35XX_RATE(24 * MHZ, 633000000, 211, 4, 1), > + PLL_35XX_RATE(24 * MHZ, 543000000, 181, 2, 2), > + PLL_35XX_RATE(24 * MHZ, 413000000, 413, 6, 2), > + PLL_35XX_RATE(24 * MHZ, 275000000, 275, 3, 3), > + PLL_35XX_RATE(24 * MHZ, 206000000, 206, 3, 3), > + PLL_35XX_RATE(24 * MHZ, 165000000, 110, 2, 3), > +}; > + > static const struct samsung_pll_rate_table exynos5420_epll_24mhz_tbl[] = { > PLL_36XX_RATE(24 * MHZ, 600000000U, 100, 2, 1, 0), > PLL_36XX_RATE(24 * MHZ, 400000000U, 200, 3, 2, 0), > @@ -1477,9 +1488,13 @@ static void __init exynos5x_clk_init(struct device_node *np, > exynos5x_plls[apll].rate_table = exynos5420_pll2550x_24mhz_tbl; > exynos5x_plls[epll].rate_table = exynos5420_epll_24mhz_tbl; > exynos5x_plls[kpll].rate_table = exynos5420_pll2550x_24mhz_tbl; > - exynos5x_plls[bpll].rate_table = exynos5420_pll2550x_24mhz_tbl; > } > > + if (soc == EXYNOS5420) > + exynos5x_plls[bpll].rate_table = exynos5420_pll2550x_24mhz_tbl; > + else > + exynos5x_plls[bpll].rate_table = exynos5422_bpll_rate_table; > + > samsung_clk_register_pll(ctx, exynos5x_plls, ARRAY_SIZE(exynos5x_plls), > reg_base); > samsung_clk_register_fixed_rate(ctx, exynos5x_fixed_rate_clks, > Acked-by: Chanwoo Choi -- Best Regards, Chanwoo Choi Samsung Electronics