Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3493109yba; Tue, 7 May 2019 02:03:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqwC9LJTA8XE4SYvTSfmBWmdg+GoexRMMX4SirL2fuNUYKTpCNdaUI2+zQJAVAJzB7tIH6JG X-Received: by 2002:a63:6981:: with SMTP id e123mr38172070pgc.28.1557219823354; Tue, 07 May 2019 02:03:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557219823; cv=none; d=google.com; s=arc-20160816; b=Hi/Yj47fqQHlh3qChM3K0kIHpLc9OdUjBQKbW/KZgN7RtqQESkXb7fhZk+Sv4srjeQ bA2EONloJL8A0TBEUuR98hHkvEh1DWpKAAXU/Yyr0ultx0zN9x4LXqIgKRjPK+Y7ubOa nPNSMTx3qtNprgTWTgNlXVrFpeoTYRufB8eFPNudSftd3U4Qm70EaJYHSRORtQtiJ2jQ dYe3h8CgNav90MnpxxvUmIJ1N65p3xfG1oJt6panhOSD5It2G1yeVFZIOYbmPQbVMvMv A9G4bWSXesSN4jbvUez/V44YOFxAjOT54M3Gq1Ew2veITIM1ISf5Ez3CsRyTRjghBU8i vfEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type :content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:cc:to:subject:dkim-signature :dkim-filter; bh=hLEg2smoVNibs0A7WS7nGatMVz2luqvh+b291jyrQ6I=; b=N0VoVvnbqd6+txISBpHMGAbQonyxz9RBnUG39HyfDBBKsb07bbZFp8gGI34EMIrs17 5nAJjC/acUqhkTa/abYaeOV3dhJ4/ECXD7MlAiCSo7IYffD7HodNS6IsJBE5+dkkBGTB 87fZF39QAEZbzyyRSyB9F9pnOzTYlDDqgEarW4x0hkd+K/HgwtzWj1WrcyFTVq9KFoiG g0Al2CeBL0rvetz3UubOF/e2P2Kb5Z5kK/AK+Q4ls/Q7VRcEbyAwJXeLyVA1U5UbhM6F 2i7IWTwZWQP107MgF2QXOSy5eUmV7vK4cecK7L4ZApQP3EQm4NYxLgd23ZATuy2osJ4i sgGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b="rTP/inEm"; 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 c9si4115181plo.19.2019.05.07.02.03.26; Tue, 07 May 2019 02:03:43 -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="rTP/inEm"; 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 S1726505AbfEGJCN (ORCPT + 99 others); Tue, 7 May 2019 05:02:13 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:42967 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726473AbfEGJCM (ORCPT ); Tue, 7 May 2019 05:02:12 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190507090210euoutp02ab6ee5b6b807f6a11d2e64bbd376d64d~cWxhCr-7U2334823348euoutp02i for ; Tue, 7 May 2019 09:02:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190507090210euoutp02ab6ee5b6b807f6a11d2e64bbd376d64d~cWxhCr-7U2334823348euoutp02i DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1557219730; bh=hLEg2smoVNibs0A7WS7nGatMVz2luqvh+b291jyrQ6I=; h=Subject:To:Cc:From:Date:In-Reply-To:References:From; b=rTP/inEmFUDSlyeQ/u7sQq/YOl0dtuxf5DN5SPUKWo5P1uN2WCTdgco9pjlyFAzob LPLlKqrj5CD7NufhvU+3rjqDeks4sxp5f/C6Wd1kIGEGl5OEokhzLOTYbPwFQnuHyI wy4MBMCFvqX7zBBmX6TIYfiFTVHOMZZCl2X8t+Z0= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190507090210eucas1p1b464d9195225ed226947bf0007753f09~cWxgUTcVh1465414654eucas1p1U; Tue, 7 May 2019 09:02:10 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 2E.91.04377.19941DC5; Tue, 7 May 2019 10:02:09 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190507090209eucas1p11f3a54a14cba6bb3217e773f6b72766e~cWxfkAIVn1203112031eucas1p1X; Tue, 7 May 2019 09:02:09 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190507090209eusmtrp13c70ed2c49436da49f6fb1be2c70f0d1~cWxfVxJqz2943329433eusmtrp1x; Tue, 7 May 2019 09:02:09 +0000 (GMT) X-AuditID: cbfec7f4-5632c9c000001119-06-5cd14991623b Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 7A.B6.04146.09941DC5; Tue, 7 May 2019 10:02:09 +0100 (BST) Received: from [106.120.51.20] (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190507090208eusmtip2b53546d7073e0e5d8d096613331c6028~cWxee99_F2351423514eusmtip2Y; Tue, 7 May 2019 09:02:08 +0000 (GMT) Subject: Re: [PATCH v7 03/13] clk: samsung: add BPLL rate table for Exynos 5422 SoC To: Chanwoo Choi , 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: Lukasz Luba Message-ID: <6346e0e4-adaa-4eed-d0ae-f62b853c151e@partner.samsung.com> Date: Tue, 7 May 2019 11:02:08 +0200 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: <1db8ffb8-1038-edbc-81b5-689f8a4c3c6b@samsung.com> Content-Language: en-US Content-Transfer-Encoding: 8bit X-Brightmail-Tracker: H4sIAAAAAAAAA02SeUhUYRTF/eYt85TGnqPlZYqKoaIMtUXig1bLaqyICiQpIcd6mTQz6by0 rCjLFtNccmkZFTXLXdzGJSkrM62mskEtM6TFcSmdwLTAhciZp+R/v3vvudxz4DKEtJ+SMUGa E5xWo1TJaTuyqnGk2fWGt9FveWrlalx2u4TCH4Z7KZzR8JbChYNdCCe9Shfh1zFqHN/VT+Dm 5lIxfnNxQIxbatNoPBTbgPDt5joRLm7oFONPF/Jo/GzgKoUft27Hn8bs8Z8X39BGqeLP70RS kRphJBUPdJ1iRXnBNVoRG/mTVsTpC5CiwnBGMVQ+bzez327tYU4VFMZp3df72x291NdLB3dL T8XdaUMRqGVmNLJlgPWAvpx2kYWlbB6CqIdzBB5GMJqoikZ2EzyE4FHOIJpa6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GcQWEVjMKPG1tRqkiFlg NZPEpI9boDqmMEm8nLISaCwHB5uAnsSOVYUgDbwCbhI7ni4Ea2YRUJF423EfbKioQITEmfcr WCBqBCVOznwCZnMK2Et0b5kCdhGzgJnEvM0PmSFscYlbT+YzQdjyEs1bZzNPYBSahaR9FpKW WUhaZiFpWcDIsopRJLW0ODc9t9hQrzgxt7g0L10vOT93EyMw9rcd+7l5B+OljcGHGAU4GJV4 eB/YXogRYk0sK67MPcQowcGsJMKb+OxcjBBvSmJlVWpRfnxRaU5q8SFGU6DnJjJLiSbnA9NS Xkm8oamhuYWlobmxubGZhZI4b4fAwRghgfTEktTs1NSC1CKYPiYOTqkGRnuGuEWCKX5zLwiu m7c37m/D6m1T8mRDI39lVZxu9l54+9iFoLfWX+MucpWu/xG6/d9Tpr37bW3/HL97xqyppvom 98G4zSdquOMcD9j79klO+vmUqY494kdmYeyEXo01YrF5TxiDIuYxvlfucXIu89Rw3P2tzu/2 IUGHVr40WdNnj5duqW04qMRSnJFoqMVcVJwIACsWLgkTAwAA X-CMS-MailID: 20190507090209eucas1p11f3a54a14cba6bb3217e773f6b72766e X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20190506151212eucas1p24110f75fa6ed945f9ae7614fbb8aa13d X-EPHeader: CA CMS-TYPE: 201P 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> <1db8ffb8-1038-edbc-81b5-689f8a4c3c6b@samsung.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/7/19 9:36 AM, Chanwoo Choi wrote: > 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 Thank you, added to the patch. Regards, Lukasz