Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp708159ima; Fri, 1 Feb 2019 09:43:22 -0800 (PST) X-Google-Smtp-Source: ALg8bN6+DpEqXy4FxFdYLTYTQuhJa1GjMI5hXuNpHjmBPCn2mdsjqoY9kFYFryDeEI7NrtImXzGa X-Received: by 2002:a17:902:28c1:: with SMTP id f59mr40461747plb.37.1549043002318; Fri, 01 Feb 2019 09:43:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549043002; cv=none; d=google.com; s=arc-20160816; b=wnh973RyEHl2hgsH7L+EOH5T6GHJ/tHY28EvFW/QAGR+n5TkcSz3ibTI5E8jB+8iHM A0nLLpFl9nBBCHIyXl7QpkGgUMH9sFgiHKUHNYpwCPOF/xDe+q5e1ko5H6qlha6mki2Z lTWmaXHZlWY6jmfe4jdeg8P2HZ0Y3VmLlTT77J32SNYCTM0Zx8T2Zg8eTNdZm4csrC+Z 1g2pMVdWgeDSkdXjJivgfL6bJV7reveRLlnBYQXgwuRFdbsRdbT4691ftPclzNKsgf9c HUCXgeIeuSxPs1Nno3pi9N1b7m/lmkufWzy2Nx4SFhmPedkN7JTyLWIGbpPrldjZ+l4Z RHWg== 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=LJ6kHZLte9DLFMXprZYBL14Bih1PDOVf0r+InbD85tM=; b=nBp8rnIySF/nTHtV+2PUrs/jDUmogUaPt1AgglmjC1UNH7ZUOFiKdsPqiUPDTLitYW PviX0hPh+HT0TIuASG/ZHQ4+lUkt/00qXv4wUIaWnE/7qAwc/baiVs/CNO70cnSHZpyg AF3XrevzshOzkmsnndB15wBmdafS8WI/MTBOvrKZh/leJENQfTQjpXih/z2O7oVUTR4n F1G0q2cXIu+ggB78MJwhL60iQ3bbF0jpIgw1TSM3Po9/E0lPo+M5eWMKnTX8bGRKSdlq 1WnbYkIvQlg2RV9lJFHobueGcM/bDwC3lyrSDVQ94dRbiUcfsjftFLNHviPTMUElQPUS 4N8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=KJx2Kd4u; 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 t64si7247156pgd.202.2019.02.01.09.43.06; Fri, 01 Feb 2019 09:43:22 -0800 (PST) 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=KJx2Kd4u; 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 S1730988AbfBAQr1 (ORCPT + 99 others); Fri, 1 Feb 2019 11:47:27 -0500 Received: from mailout2.w1.samsung.com ([210.118.77.12]:45322 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730855AbfBAQrX (ORCPT ); Fri, 1 Feb 2019 11:47:23 -0500 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190201164721euoutp028cfed8d6393a158cc9f36a1d5500d2a5~-S1jLsgvg1340913409euoutp025 for ; Fri, 1 Feb 2019 16:47:21 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190201164721euoutp028cfed8d6393a158cc9f36a1d5500d2a5~-S1jLsgvg1340913409euoutp025 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1549039641; bh=LJ6kHZLte9DLFMXprZYBL14Bih1PDOVf0r+InbD85tM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KJx2Kd4uYxes6ChlrURdAebRjz8rM86iZBFjYX7Ov2aUg9bOYwAKA46/Ucp7Arnpd tZpSEGG0zI8uoRKfH6mKsHjLiZRr8Qv6g9FUvLqbv+HeIqZ9xELged1IFHp9U8VxWa D09ADbSR5QYc5HLsOeEhzP2Re5uFF7c3r/EEQrDY= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190201164720eucas1p1f9e3836e447ad4639cdfa5ccb9374091~-S1iUNk120638706387eucas1p1G; Fri, 1 Feb 2019 16:47:20 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 0D.E3.04441.818745C5; Fri, 1 Feb 2019 16:47:20 +0000 (GMT) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190201164719eucas1p106c8761eb4bff12a906b601a37bf58b5~-S1hUeCG40638706387eucas1p1F; Fri, 1 Feb 2019 16:47:19 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190201164719eusmtrp147a31e880ea6315067c99c535b59c038~-S1hFTL473167231672eusmtrp1W; Fri, 1 Feb 2019 16:47:19 +0000 (GMT) X-AuditID: cbfec7f2-5c9ff70000001159-d4-5c547818d090 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id D1.30.04128.718745C5; Fri, 1 Feb 2019 16:47:19 +0000 (GMT) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190201164718eusmtip21477efa61b1f73e99d3fb8ed84c342e1~-S1gVrtP23272832728eusmtip2k; Fri, 1 Feb 2019 16:47:18 +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, Lukasz Luba , Michael Turquette , Stephen Boyd , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v4 3/8] clk: samsung: add BPLL rate table for Exynos 5422 SoC Date: Fri, 1 Feb 2019 17:46:47 +0100 Message-Id: <1549039612-28905-4-git-send-email-l.luba@partner.samsung.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1549039612-28905-1-git-send-email-l.luba@partner.samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA0VSaUgUYRjum9nZHa2RcTV9yaPYEDRwtQz6yCizazAqC4tQIdecPFKzHS2z yCNLE9Ol09QyxFC2wmutRcrQzCPzDq202FpCsExqV8ooq3E2+vd8z/E+Ly8fTSrvUkvo+ORU XpusSVTJ7WX3O2b7fCE9LNLf9MsJ15fUUnjUOkHhivY+ChebP5K4v79OgXtzPinw6yx33GAe ofCXwrcUHm4ul2PLhXaES/pbCHyv/Y0CDz7bgseya+T4yac8Cs+N1MuCHLnpl2cVXIP+vJxr rMrkWj8/JLgigx5xlgbPUHm4/boYPjH+GK/1Wx9lHzdlMaKUVof08sq9WahpUQGyo4FdDVND TUQBsqeVbA2C7O5hSnpYEVQVGW2KBcHT11bZv0iloV4uCdUIZoZKFaIwHxnRaQsQTctZNRj1 R0XamT0J46OPSdFPslkkGHN084Oc2F0w1pVHiFjGekFusYUUswwbAq2TAVKXJ7zqO0+K2I7d DvnmB0icA2yLAkw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WV uYcYJTiYlUR4nbJCYoR4UxIrq1KL8uOLSnNSiw8xmgLdNJFZSjQ5Hxi1eSXxhqaG5haWhubG 5sZmFkrivOcNKqOEBNITS1KzU1MLUotg+pg4OKUaGGP/3Lmjpe785bPERu8Nsi8U5B/P+aEW 2jAhgEPS9dTM4tuR3d9ufQt6+3HWsi985q6LEv5nXLPsCWXeEr0++nSna/bHhR8LrszvlOLa 9y/wnqH+YZ1PzAdiNl31/Zt0du/SCTwxpmfXTBS5GP6mZvfMMrbXmWZXohfsXHPQaOWfwMe3 zh5qifmgxFKckWioxVxUnAgAsp6ClaICAAA= X-CMS-MailID: 20190201164719eucas1p106c8761eb4bff12a906b601a37bf58b5 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20190201164719eucas1p106c8761eb4bff12a906b601a37bf58b5 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190201164719eucas1p106c8761eb4bff12a906b601a37bf58b5 References: <1549039612-28905-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 f1a4f56..1fc5152 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