Message ID | 20190611145135.21399-33-jagan@amarulasolutions.com |
---|---|
State | New |
Headers | show
Return-Path: <linux-amarula+bncBD7MFH7A7EEBBB4B77TQKGQE4ZS664Y@amarulasolutions.com> X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f200.google.com (mail-pf1-f200.google.com [209.85.210.200]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id D40C93F08F for <linux-amarula@patchwork.amarulasolutions.com>; Tue, 11 Jun 2019 16:54:00 +0200 (CEST) Received: by mail-pf1-f200.google.com with SMTP id f9sf9772961pfn.6 for <linux-amarula@patchwork.amarulasolutions.com>; Tue, 11 Jun 2019 07:54:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1560264839; cv=pass; d=google.com; s=arc-20160816; b=fTCLokD2yCsKMsQq4H8IDg0dgGM6nAhqn7IR14iLbs2g+X5zsdkFfawJ8ZtFqfdB/X C9lLPny3/8Dd9DLojV3fa2+Y5BlkDRobGrxa7mINmbpkiFbG845qt/amye0YPkYrUVmx ygYt151d7jfVfwSKzyRIVCNEgbP9nZYD0kfnz6WC3bfZULJQwMYA/YihJXFAJEUIEwyn OhT+HEjV1ezwGMV8UpQk5c9m/VU9kqNe92G9+kSOodCZO6VNuO8NEHdcGfn0OcgDFjNh T8lYFwJcTqgSSQP8TdRYxLSBh+PnwYaun9HtVs28OnfbXrpo4+12ATslLP/GI4FyPhtX Y31A== 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=r60TzY3K3seGLX5sfSk+nAYR4c4w4s+qJ4YRtl6MqYc=; b=bRbBnt/lTvyAqsAdzalxsQLQEgbStG7sM+FxULLHDDwfX1YsfYwjvzTn8UZ27O6IP4 qDTlNuPbEV1mLIKJ8mttijtrfc/j4oPnGqEYtkMbjnT9wsSulo4icEqxRyMn1zvWtXOA Eg2JOC12hShlFQjtKNWLQobYhye3LQEQ0c82kCwJLedsux23vIFY94ZFY7TYEL/PLP9Q 32+t72tE1nidiaoGbSvevQQYFhLWiXtaKnB2W7jtxfuMZFa8QVo8RRIV2Lj+Rzm0mqWr 8HZLN8l6G65zwmA78QflmMUj/EYJ9P/1tbhMwzFUjjp/2H178l9Pk5nnRi5r81G860Js p8CA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=fsjmc7sk; 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=r60TzY3K3seGLX5sfSk+nAYR4c4w4s+qJ4YRtl6MqYc=; b=YR0eYhiUAqyGb8mJ6sHxRRv6usHGi3JTDF7R4uSu35ro219h/o/6EGdf980L4amhsU A61T6FNzZqU91HULNBMQhWzerbhdI1HHgO4X9O5357ajc+YOodj37BiQYid3tPvs1fUh GV9lduqWd1AGqKnWPEP6vfPm39UVbeFW/I/2c= 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=r60TzY3K3seGLX5sfSk+nAYR4c4w4s+qJ4YRtl6MqYc=; b=jbj/967oIudHVEyRLZ6MD6CbQBPq6byqhrtOE5kxdkPCorsYB2xDTC+GeTr6ilz0sC 1w5JwQtS2Ct4gd3TxgIVluhl/DcnImD8hp8lJ1unu8T9jCHZK3QQRq3XF2LLlZNwTvhP 3BGOyHWpCsAd/7/6NA329EirPuOUZg+Me2gHcjNqaYS1p7fcFFYbPtJfLO5+NYxNS1BM liB5dU89p8vnBktvQc4SvxYtIzHq0zFTNhYkuOtv/NvzYbZsLPAF8VYrwtHqB3WGXHOZ M8vrtEl8a0YbofGux5JhKd84bNm5z0k8CGw3Lr9SRYRAmQPRWntF6yQqNYOAdqUme8f+ 6Y5Q== X-Gm-Message-State: APjAAAXu7L3aqytn2hkDxmS/PTiehOgfItDNiUK+9XSeqPXWiGN2p37e IXY+5PETXh+UAmx46QwTB739V3Qy X-Google-Smtp-Source: APXvYqyMgnWbegOS1PyM57GpFmO9n0G6Nb6TGKRmD8gTDiTJu7TYFeWPufO1FXTnxhvEpezQZoIL4g== X-Received: by 2002:a63:2ace:: with SMTP id q197mr20440390pgq.102.1560264839594; Tue, 11 Jun 2019 07:53:59 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:1e8:: with SMTP id b95ls4893457plb.10.gmail; Tue, 11 Jun 2019 07:53:59 -0700 (PDT) X-Received: by 2002:a17:902:2889:: with SMTP id f9mr29259304plb.230.1560264839206; Tue, 11 Jun 2019 07:53:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560264839; cv=none; d=google.com; s=arc-20160816; b=QHX7RMnNkw+f3qj4Dh2RpLG4lynfYddLt67VOixh8tG2flkheaICCfYUjkWptdrzsC wGgnl1RdNk2uayG/geVjmd9eW4lijJAMm3+oTYc/PTSF5o8iGWYzcVfyoVD0cZrv7yVI F2DNc5eKIl7A2kgf+Sf4IS31CFEpTnTfImDs7iiwuj7JB9mcLgNoVRSaM1HYBkZ0DISi przgbkXfl98H7de8I1MgWkCmgMlB76E2UpXmIelZa5c2uAjEWYBrW5bkui3atZ1NURmH P7KGLv8aEzV2fFM0VbTdpTz5p9dKqW1Py1ILwxVA1JUKeyORV+jV/CCvOr0TOFSBq2Rh DXkg== 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=LHu3bpBFUtiuk/X2voRKbnQsiw8KrmHHfMc/0VzA5ZU=; b=YWCxJo6zqLdkoASzJ/K+VBY5A6UkB6NQ//A9z2GDg5UY868MLKyDXuV88Yp14V8A+2 DT15DumLq1w2CqIxc8ImVOok++89UZ8eoXpFihyhJjRMF57g6MAri1kp+PJN3dShpU8u HYixWGgI6BwEOMqH8bESqJUSeGCmkitwKv6EWaICmkUNC3JWXNBlJAzf3ioVJgJMmOov 0Wqs5olIXGeFsO+kqoLkESfM+48hLDjRajAVe9WILtdLdFW5BJV+vtvvDIOzVz3UAYk6 HWqIFEdiibhZe4nYqSrdjj2FZwzR0ChIO6rAbJo30BJEAoqnuZOzJ+43TOAm0Pg1xYHI jHiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=fsjmc7sk; 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 c7sor15413788plr.52.2019.06.11.07.53.59 for <linux-amarula@amarulasolutions.com> (Google Transport Security); Tue, 11 Jun 2019 07:53:59 -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:a405:: with SMTP id p5mr6314842plq.51.1560264838933; Tue, 11 Jun 2019 07:53:58 -0700 (PDT) Received: from localhost.localdomain ([115.97.180.18]) by smtp.gmail.com with ESMTPSA id e9sm16206208pfn.154.2019.06.11.07.53.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Jun 2019 07:53:58 -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 32/92] ram: rk3399: s/ca_tsel_wr_select_p/tsel_wr_select_ca_p Date: Tue, 11 Jun 2019 20:20:35 +0530 Message-Id: <20190611145135.21399-33-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=fsjmc7sk; 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/ram/rockchip/sdram_rk3399.c b/drivers/ram/rockchip/sdram_rk3399.c index bfae4e78a9..d868621c93 100644 --- a/drivers/ram/rockchip/sdram_rk3399.c +++ b/drivers/ram/rockchip/sdram_rk3399.c @@ -161,14 +161,14 @@ static void set_ds_odt(const struct chan_info *chan, u32 tsel_idle_en, tsel_wr_en, tsel_rd_en; u32 tsel_idle_select_p, tsel_wr_select_dq_p, tsel_rd_select_p; - u32 ca_tsel_wr_select_p, tsel_wr_select_ca_n; + u32 tsel_wr_select_ca_p, tsel_wr_select_ca_n; u32 tsel_idle_select_n, tsel_wr_select_dq_n, tsel_rd_select_n; u32 reg_value; if (sdram_params->base.dramtype == LPDDR4) { tsel_rd_select_p = PHY_DRV_ODT_HI_Z; tsel_wr_select_dq_p = PHY_DRV_ODT_40; - ca_tsel_wr_select_p = PHY_DRV_ODT_40; + tsel_wr_select_ca_p = PHY_DRV_ODT_40; tsel_idle_select_p = PHY_DRV_ODT_HI_Z; tsel_rd_select_n = PHY_DRV_ODT_240; @@ -178,7 +178,7 @@ static void set_ds_odt(const struct chan_info *chan, } else if (sdram_params->base.dramtype == LPDDR3) { tsel_rd_select_p = PHY_DRV_ODT_240; tsel_wr_select_dq_p = PHY_DRV_ODT_34_3; - ca_tsel_wr_select_p = PHY_DRV_ODT_48; + tsel_wr_select_ca_p = PHY_DRV_ODT_48; tsel_idle_select_p = PHY_DRV_ODT_240; tsel_rd_select_n = PHY_DRV_ODT_HI_Z; @@ -188,7 +188,7 @@ static void set_ds_odt(const struct chan_info *chan, } else { tsel_rd_select_p = PHY_DRV_ODT_240; tsel_wr_select_dq_p = PHY_DRV_ODT_34_3; - ca_tsel_wr_select_p = PHY_DRV_ODT_34_3; + tsel_wr_select_ca_p = PHY_DRV_ODT_34_3; tsel_idle_select_p = PHY_DRV_ODT_240; tsel_rd_select_n = PHY_DRV_ODT_240; @@ -229,7 +229,7 @@ static void set_ds_odt(const struct chan_info *chan, clrsetbits_le32(&denali_phy[391], 0xffffff, reg_value); /* phy_adr_tsel_select_ 8bits DENALI_PHY_544/672/800 offset_0 */ - reg_value = tsel_wr_select_ca_n | (ca_tsel_wr_select_p << 0x4); + reg_value = tsel_wr_select_ca_n | (tsel_wr_select_ca_p << 0x4); clrsetbits_le32(&denali_phy[544], 0xff, reg_value); clrsetbits_le32(&denali_phy[672], 0xff, reg_value); clrsetbits_le32(&denali_phy[800], 0xff, reg_value);