Message ID | 20190611145135.21399-56-jagan@amarulasolutions.com |
---|---|
State | New |
Headers | show
Return-Path: <linux-amarula+bncBD7MFH7A7EEBBYUB77TQKGQEIZSQ3TQ@amarulasolutions.com> X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f197.google.com (mail-pg1-f197.google.com [209.85.215.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id F24203F08A for <linux-amarula@patchwork.amarulasolutions.com>; Tue, 11 Jun 2019 16:55:31 +0200 (CEST) Received: by mail-pg1-f197.google.com with SMTP id j36sf9257319pgb.20 for <linux-amarula@patchwork.amarulasolutions.com>; Tue, 11 Jun 2019 07:55:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1560264930; cv=pass; d=google.com; s=arc-20160816; b=Hxdh9168+IKvpGtoJeHX2LuzVZ3+2A3mMObYXpuPqcFoVMa4l2gmN9RnBUGD/brPrN qhHF3IxCP7jnTs8KJcK4AK8bh97HitdXXGwZdbbuTUjFUpJBv9euZ7yiurlIs/A5Ul72 cnVsUvSBAu18RdlP5UEF7oNasSNARY3KAxU+x95erHv3aCE8agnyF5+EaOvmmue70r1P NWmVatclz02QeRPGOU1p8lFEfmtQqY1qVV6w3G8lWJFyL7QlKv+P18jLkrR/Vb3Y2gY/ PqJehI+GKi694T9UvcjG1Cj7eLwZjoklwixaYva3CHYvR/+wFL5wpTnGnAuYnvfs5X+r KI7Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=WQT0/Zi/t3V+WCAUJa2Wj2NyK8ku7TJ3jWbH7BNZmJo=; b=YvpZzmizn6MnF7dOiHFkJDv2BHLxSF9YGbCD8uRV42cNTtIVB+38JizU+VYEFOSyhj eKYWzRwt0AYF+PbZ4nr7sfssyBBtw/l+vu6rQGJk/Fvpef8l9lVIu8NBytDIid6w2xcD uJDJOP9HiqBwK2GvIQD6MiFOi/iURulGIKpTnV4tWVVuM3l0YlnnzflYdTRb3ddAYvni C1f2H5vhWciK/MiQvDJxhzQe5leiXhs4MRl0g0chglImxkAIYjFPT04iByPyh8wnikXi tG2YsxI76iqNvco7WABNzok0RmMV+gx58JPnzFouXL2JYw94gVQZeIGoe+6eSyqgiTgH 9GWw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=dpJlCAF4; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=WQT0/Zi/t3V+WCAUJa2Wj2NyK8ku7TJ3jWbH7BNZmJo=; b=V01QdidobwG/Mw3XjYFczPSIll18NpkQdcS7EwDqTxAVu5IBcyJfu8zfeBkXUlVGON HSbSU0tYAMni6SU8PWj9Us7C2FB24uwVq9+j6HANM7+6Le+SlHDOqzDmTuvmsaFODf3S 2eE8KhdtvVA+jTeTg52J4px6Sximxbcbpu/YA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=WQT0/Zi/t3V+WCAUJa2Wj2NyK8ku7TJ3jWbH7BNZmJo=; b=AGw+4X2fhtnJcMM0kMt76DV4MqO6epfHfMd09ZYhOCR1TjXspM438iIGUD/scuyZmn cIkh63yYyKHAj64WfSGSRmoZ/ZG3g/QqPKR7RKiZzrXzr3KuFyWa2ttlAJpCTknI/V16 /BH57Zlx95o5U1rjoLfUY2HHHGy7D3QcTDR/VfCr96b7nSP1C97IC3C/heNW9NptDPh1 MhNXj5gCz3H1839rvi2BZug9UPWwnKdFk2YT+eXLCCv+i8XayVWEEzLdb915nmpHkPJ0 oVVfvUK2tj2qlay+i65QjUfRdH7csq/4mnA5bf93uFL7wQCufdNN49jGBL8lYJ0AYxFM HICg== X-Gm-Message-State: APjAAAX667jZ1EO+IUFpzExd5zMTP2eh0j6SmBExAaWceyQ/MWZ4j+kQ 5sJpevO1dKf6V0YWgWxrtWLD0/e8 X-Google-Smtp-Source: APXvYqzIsUcvMYU2eTJPH9gxGEfWEhZBOZEDToa9r4PjPxSgWwMbfD4PMs0fZh5BoQtXfnJA94xPfA== X-Received: by 2002:a62:4dc5:: with SMTP id a188mr81694109pfb.8.1560264930793; Tue, 11 Jun 2019 07:55:30 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:aa7:8d8f:: with SMTP id i15ls4389908pfr.7.gmail; Tue, 11 Jun 2019 07:55:30 -0700 (PDT) X-Received: by 2002:a62:a511:: with SMTP id v17mr78526674pfm.129.1560264930430; Tue, 11 Jun 2019 07:55:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560264930; cv=none; d=google.com; s=arc-20160816; b=NHi71Adl9J/rAtK0sobi0YSWJ46E5ngoFaeuYeM6h/4knV8e6fOQOGguViCdkA3TkL rEvp6AHIvz+m4lE86fFQHOsDp4AKohjLEuhgnC8v1oYlfZRL18hMrnbHLiYVkWIcjTXB 46oBq18T+MXoxFI3rJTJg5C5/hEETkSdYCwkZXAg8vdDi8JjVYa1/Ea79PCebdGwu4Ul fu2gKtUSvrhc5jhcVMZbS7f/WgPxNJs89AfO1q6WsfjOrM8GTf45lpAnDhu/cDe+yE9u LKsqTJWoEs1cnlgR4B8YoVo0yffzdYLNdXhCHPM29JnL8knXb/5c17AWsJkWYnLfB2SG zDCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=VZZq8s/MFgMQ4+KCax6f04xB7tKYUG01ZRKiMSlIBrI=; b=Xw777EsBpXaeZXy4XbWGjmqGgkyS3n0mDy1f0z6MmI4BR0umMTo5ko5i7481rxzGwi 6GdNm+bM8X8fAZ9XN1Ya9BYdLwgpr/kzX4MB2gKzJS54rfioSKmWv3K9eU8rOg7FQYoA jMhV8Z6leyK8LKOJmyofu0ZNurXwhq8E7bEC2YIXowzuiwjuBgCPjtRQJPfiyEEsEJ3G vYunKfMlG5qB4qk2uosZ7H25xbVBJkUZqGd37VgzrvTLklP36sV6LIx343we8wUpxxjR EZiLi4toLh0/DVkLh1jf5hADBIK6rHGzEVJbusRo4dPiw6nRM6hQ94IA2ji37RCLvCUP RE5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=dpJlCAF4; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id bc5sor15052074plb.1.2019.06.11.07.55.30 for <linux-amarula@amarulasolutions.com> (Google Transport Security); Tue, 11 Jun 2019 07:55:30 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a17:902:988a:: with SMTP id s10mr76935799plp.304.1560264930144; Tue, 11 Jun 2019 07:55:30 -0700 (PDT) Received: from localhost.localdomain ([115.97.180.18]) by smtp.gmail.com with ESMTPSA id e9sm16206208pfn.154.2019.06.11.07.55.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Jun 2019 07:55:29 -0700 (PDT) From: Jagan Teki <jagan@amarulasolutions.com> To: Simon Glass <sjg@chromium.org>, Philipp Tomsich <philipp.tomsich@theobroma-systems.com>, Kever Yang <kever.yang@rock-chips.com>, YouMin Chen <cym@rock-chips.com>, u-boot@lists.denx.de Cc: gajjar04akash@gmail.com, linux-rockchip@lists.infradead.org, linux-amarula@amarulasolutions.com, Jagan Teki <jagan@amarulasolutions.com> Subject: [PATCH 55/92] clk: rockchip: rk3399: Set 400MHz ddr clock Date: Tue, 11 Jun 2019 20:20:58 +0530 Message-Id: <20190611145135.21399-56-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190611145135.21399-1-jagan@amarulasolutions.com> References: <20190611145135.21399-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=dpJlCAF4; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: <linux-amarula.amarulasolutions.com> X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/post>, <mailto:linux-amarula@amarulasolutions.com> List-Help: <https://support.google.com/a/amarulasolutions.com/bin/topic.py?topic=25838>, <mailto:linux-amarula+help@amarulasolutions.com> List-Archive: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/> List-Unsubscribe: <mailto:googlegroups-manage+476853432473+unsubscribe@googlegroups.com>, <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/subscribe> |
Series |
|
Related |
show
|
diff --git a/drivers/clk/rockchip/clk_rk3399.c b/drivers/clk/rockchip/clk_rk3399.c index 1de21c9f3e..79007b8682 100644 --- a/drivers/clk/rockchip/clk_rk3399.c +++ b/drivers/clk/rockchip/clk_rk3399.c @@ -839,6 +839,10 @@ static ulong rk3399_ddr_set_clk(struct rk3399_cru *cru, dpll_cfg = (struct pll_div) {.refdiv = 2, .fbdiv = 100, .postdiv1 = 4, .postdiv2 = 1}; break; + case 400 * MHz: + dpll_cfg = (struct pll_div) + {.refdiv = 1, .fbdiv = 50, .postdiv1 = 3, .postdiv2 = 1}; + break; case 666 * MHz: dpll_cfg = (struct pll_div) {.refdiv = 2, .fbdiv = 111, .postdiv1 = 2, .postdiv2 = 1};