Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2102340yba; Fri, 19 Apr 2019 12:10:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqwtjbPtpDlQnYgL9UAWeGTMt8vDD5odSBUKaa0FkeNsFVkktwZg1a/6uYmrAR5gS2qRSW2c X-Received: by 2002:a65:5304:: with SMTP id m4mr5359065pgq.281.1555701000095; Fri, 19 Apr 2019 12:10:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555701000; cv=none; d=google.com; s=arc-20160816; b=QmJP+iuZId2tZJLESOK7Bfdc3oS3a6XxTTHnQzaB7cK7JFHTvdh9b4TmCBZGmgKCie LfjQAmtOSvl7gBNVYGwEPcdHbqVkOfRXq5Xl2CYxPJWAYQN1h54eF16WqFz3RvOWXMDX A4sOHhMjosoUttFcVqmyDCpzPi3IZQptOZoWzLxGguZ8mzXb15JsexYlqymQ9CLEbvKS cCi+c9Hqyj3681+wMF/WR1aVuVjCvA4nJK3onnHasS1l5D6Jiu16a3j6qhaO+lqWvl9o s0tLg7DBMO9IS8vhSst6TFksKhcgB+p6gWsSk50vdRTIAaBK34ir7fwskjeIm2Spsvb/ bu0w== 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:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter; bh=rb70fo3R6UoalWB6bfCebuUMfs2ijnziPnHY813BvAc=; b=k8RVIJdsWBOrdfh8vsJEuOUVTMqsm1b1ugSwKpmQleidOhXz5zrH3+PfXMlIr8KKYt 82AxdnGzhEOeRFF0GV8ijYD1Z80A/QD5LO+yUMYIKc2IyWJfTicA3FEQqVcjzd9qcatu 4ikudMWwPvc6n91Nap2WoloFxbU78caQAqdSDZ7gjX8Z9gBD+E5q3fGN/pTuTwp4fGI9 WzBMi2P44bE8EyV+oiTe4WUh8NU28GwCz69gEU6u/hTYSZNAStxMg1PYZqqYIVYfg6CZ 8105alpPDt5HeJw6vsn9n7LJhK1fyKDQnnGtSlS1Gzyfw+HieCW467GgwCkpnL7IMCaX n59Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=Jpqzdmb9; 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 p90si6283419pfa.18.2019.04.19.12.09.44; Fri, 19 Apr 2019 12:10:00 -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=Jpqzdmb9; 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 S1729281AbfDSTHz (ORCPT + 99 others); Fri, 19 Apr 2019 15:07:55 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:54636 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728407AbfDSTHw (ORCPT ); Fri, 19 Apr 2019 15:07:52 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190419141945euoutp02d805f296eb8f5f03a2c6ce5bac2eb749~W5fqCUoKb2260722607euoutp02g for ; Fri, 19 Apr 2019 14:19:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190419141945euoutp02d805f296eb8f5f03a2c6ce5bac2eb749~W5fqCUoKb2260722607euoutp02g DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1555683585; bh=rb70fo3R6UoalWB6bfCebuUMfs2ijnziPnHY813BvAc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Jpqzdmb9qcOdi485AvCyDGzaC2BOYoHrMW4qpns1mAC3BN2r11L6xjsXkCZpDYkTy ep6KdAYI90XeMwwvlhuc50uZHvZZy4LgsaJD2Y7DSo6tKtPWcnEEjBw7688Uhd7OwX ufDCj85UfVnBUXO4ZHbvATYWTg3dqw8FF+2yT22U= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190419141944eucas1p2cb0bedc075ec2403b3671a55a6c7fa50~W5fpPplQD2300423004eucas1p2m; Fri, 19 Apr 2019 14:19:44 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id D6.72.04298.009D9BC5; Fri, 19 Apr 2019 15:19:44 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20190419141943eucas1p220d77bacfc4fcba8ec6a10f540e1a27d~W5foaavMv2300323003eucas1p2p; Fri, 19 Apr 2019 14:19:43 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190419141943eusmtrp1dde2fb94fe9aa090fd77b880cc2c0109~W5foMawZ81759317593eusmtrp1Z; Fri, 19 Apr 2019 14:19:43 +0000 (GMT) X-AuditID: cbfec7f2-f13ff700000010ca-1e-5cb9d900d9ca Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 4A.02.04146.FF8D9BC5; Fri, 19 Apr 2019 15:19:43 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190419141942eusmtip21ec09455f0ff3aba8d40040b7c5ba168~W5fnalDKH3242832428eusmtip2T; Fri, 19 Apr 2019 14:19:42 +0000 (GMT) From: Lukasz Luba To: 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, cw00.choi@samsung.com, 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, Lukasz Luba Subject: [PATCH v6 03/10] clk: samsung: add BPLL rate table for Exynos 5422 SoC Date: Fri, 19 Apr 2019 16:19:21 +0200 Message-Id: <1555683568-20882-4-git-send-email-l.luba@partner.samsung.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1555683568-20882-1-git-send-email-l.luba@partner.samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA0WSe0hTcRTH/d27u92NZrcZ+cOGwUCoJM3Q+EUliRUXRXr8EVGGrrzozE3d dZUtYSpZzpk2H5mvHv9oy9LmEjXJnK/Ix3yBmVmRpWBTMx9kL3PeRf99zvec8z2HwyFxiZXw IBWqJEatksfJ+CJeXceybYfLSEP4zor7ruhJUTWBhhcmCXSnrZdAD+fGAcp7VYah7iwlyhn/ giObrUaAetLsAvRGJ0WDjaV8NJ/dBlCR7TmGHrWNCdBoaiUftdqvEah5KASN/nRFSy8/ggNu 9NKikUeX6Pp5dEPxmIA2mzL5dHb6DJ9umWnC6BsWE6Bru7T0vNnzqPCUaF8UE6e4wKh9AyNF MakFsQktrpc6K5eBDjxdpwckCSl/mFVA64GIlFCVAJbM5WNcsADg5wErzgXzAF5NsxN6IFzr aLqZs8YSqgLA9v4Ajlc7JtpCHK58ygfWmxId8kZKC98ON6/54JQdgz0/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3HzXCdY nFPAW2LXyi1sILYQUM2Ga3uZJjDyLWBkWMUoklpanJueW2yoV5yYW1yal66XnJ+7iREYSduO /dy8g/HSxuBDjAIcjEo8vAcm7YwRYk0sK67MPcQowcGsJMLrmLIlRog3JbGyKrUoP76oNCe1 +BCjKdBRE5mlRJPzgVGeVxJvaGpobmFpaG5sbmxmoSTOe96gMkpIID2xJDU7NbUgtQimj4mD U6qBUUrktX+uxkfHVXNE1JufSrKZ5DW6VunG7z/Eld8Sf2Xmb4WfEzcEqu3f2+HJkSVVE2pZ 9fTjqxp2zoyWi0LT1+7X3fdmzkOT7Ya1vRuWBPzuN3OcYnxaIiKw5snuZzv+yy6L0zpjH1Ex f96Hpd5Oln1vmBquPmGZKvpsTgvrRqsCqdBy7W2MSizFGYmGWsxFxYkAntM8UboCAAA= X-CMS-MailID: 20190419141943eucas1p220d77bacfc4fcba8ec6a10f540e1a27d X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20190419141943eucas1p220d77bacfc4fcba8ec6a10f540e1a27d X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190419141943eucas1p220d77bacfc4fcba8ec6a10f540e1a27d References: <1555683568-20882-1-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 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 | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/drivers/clk/samsung/clk-exynos5420.c b/drivers/clk/samsung/clk-exynos5420.c index d9e6653..ddee8bd 100644 --- a/drivers/clk/samsung/clk-exynos5420.c +++ b/drivers/clk/samsung/clk-exynos5420.c @@ -1323,6 +1323,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), @@ -1465,7 +1476,7 @@ 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; + exynos5x_plls[bpll].rate_table = exynos5422_bpll_rate_table; } samsung_clk_register_pll(ctx, exynos5x_plls, ARRAY_SIZE(exynos5x_plls), -- 2.7.4