Message ID | 20190611145135.21399-32-jagan@amarulasolutions.com |
---|---|
State | New |
Headers | show
Return-Path: <linux-amarula+bncBD7MFH7A7EEBBA4B77TQKGQEUZFWXAY@amarulasolutions.com> X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f197.google.com (mail-pf1-f197.google.com [209.85.210.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id E06713F08F for <linux-amarula@patchwork.amarulasolutions.com>; Tue, 11 Jun 2019 16:53:56 +0200 (CEST) Received: by mail-pf1-f197.google.com with SMTP id z1sf9761854pfb.7 for <linux-amarula@patchwork.amarulasolutions.com>; Tue, 11 Jun 2019 07:53:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1560264835; cv=pass; d=google.com; s=arc-20160816; b=xtvce5tcnVQ5vZgAg60LrVBXfpZUBf3+/VG4yuyAIgzOyoYbtODMITRWmOyMyFGUI4 4VIOztbXM40HJGaVB4Q5Xf2rCvkOirWsy2C7H/ir5nmO6nJeS7JBMwmQ7lfUsbubmtSf e3P+erB/Ca6+ZkiMFgb/f7BfgQWN047hoOF3HYPcrfXJgdeEisjOy5wY3jtwHIfbrLod GoPdaE/m0UbI174geXk6kzx7xaBXuYPq5ndFoorxlK+3hw+OEvEvnnCUK00JuybJ2NJC HBZCuFEy92ND+nSvZUoUirtqn33v9VlTaz5VMyxg3nV1X262qDLpLfiY2y3iyB4ZP00V T/0A== 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=ETNWq+FTOZFi/renkdbmVhb6sSBZQ5QMgyqJtgblk2U=; b=Qb8vUjkKIYZmcr0KQrMdINJo8+ef+tjCBPA8Ku8eCtfGlvE0C2gSzEebYComnydfvO HqqzC08pekxC8XIsgzThAdTCHzHorc3pdhHbexwhS1l+3zRY6+wqnYEnVXrjPbAijCx1 PDasvArIoaNHpn7H91OUa9U99A1sJVaDUFVCHQ/p+p9yUdDb6S7vWpSBXfLqDBV2vai8 oe8wwzl/0tTqgDIx6HaZaUrv+UbwPmW2WwlYKBD0zi3jx/xKAZiehBxB63bkSpJt0i+m QkwAVj0xVcmbeZ5rypVAlHT8WFn8eJ2/2A5bBj0O8aPxj5BIVVykQSqwn01bkCjieEz6 a3bg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=jl1WRHH2; 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=ETNWq+FTOZFi/renkdbmVhb6sSBZQ5QMgyqJtgblk2U=; b=N8yBbj/3RUQYi3X0JqNJchRE7ldSMHvc45Uilzyyi5DSaGYQbVkrWJBUkYEXFG/0PW I2JUo8yHudQLFeg9Tmma3sVJhFskoAluqA9YNuaKkOcslVfuUZ3HTXcEkMUv0Xao9wKw /7FaNn6b1y77/wzfMFeguL7UJghLek6MIlrzo= 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=ETNWq+FTOZFi/renkdbmVhb6sSBZQ5QMgyqJtgblk2U=; b=RC+xi4rO7kfGex8JjOwXtsIAATwuX1fB9cD/Tt99CyTrI5/LfZVCdn940qxQHC0J0A p78eX48WW5GVtaTLW3Za8TDpwC3upss6G5h/bLfmjKm++waWYJMsyB0KxYfxkVstOHxF ibb8nLkkyzho7QQwooD1KVRh98M4umLlCDbS/RPn3xxx+JJg2FMwUX+6x+OykiFBenWw pF773eJ4wyBkbSovBc50K8Oxuer4sE6UBHz0NWKIxGgCxH8qsLkbfQKA1n6kzmcbysR0 dl71O2AFo7495yp7aMPMVydwBS0HKDKtzzN7DwLLWL+xsi6MkJS45LvmTlaTMf3v4+W3 qfng== X-Gm-Message-State: APjAAAV55rx0y0bnd9FJlEc5pXyxqAUM5wP4z8IZuij9iaIE27r6uQT2 qqwv4u/QSlgGJyT8y/6Svv83GmVq X-Google-Smtp-Source: APXvYqzzf7+t7qcaiRPjN9/1npgfBMWPlWiMuBZzfaBJ5yHx7m/ed3Ix+hEGPLS2a21Hc/bvPN/GJw== X-Received: by 2002:aa7:8e50:: with SMTP id d16mr73279935pfr.65.1560264835737; Tue, 11 Jun 2019 07:53:55 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a63:2b0b:: with SMTP id r11ls4513950pgr.4.gmail; Tue, 11 Jun 2019 07:53:55 -0700 (PDT) X-Received: by 2002:aa7:81cc:: with SMTP id c12mr73091716pfn.139.1560264835318; Tue, 11 Jun 2019 07:53:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560264835; cv=none; d=google.com; s=arc-20160816; b=QGUWfikqTtJQwEVOss987sxvMathLmUcysnCYpVzToBZhYVzPb48xZX8EWMZrSz83j 5wv7jS9BFmd0c+ktt6puZLmUurBKABWj2f2zu/YO4c4J85L6k3XnEL/wfThr9lX8mVwg Gr0DcfBItME7l57M6Z+eh8tOvTd5X2Qb0CkjeB4/eb6+kD0hT9//YKINTLdA7vLHgNpY l5xJlxkuqNhdqoNZgyeiCuT1lph/aFlMbMgonskXgMJARvoSSBv+zl4D2E5+THXS1rK5 FHg7AcA7HfBDsHTGyX06ocAfsndgItOGy8XwMuJ1NfP6oNIkwjCs3Q6poLtgM9HZ0ViQ UABw== 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=Vq2oI+3vMUMkg0n1XXuFvNc3vyzrVc/D6owKjBX1t4g=; b=zgY3D0TmOWkiEruQmHTuu/QtkZS2PzAzk/wW/awJo1cejbnZo7fnqN34s8ycm0YZg6 FIbXZ7FKP14XWHAfLL9yw+3XfsJAlF8oZMmmMUym5FkpuycgFc3VDLerXqVvfnPRDHJu xeTcG8hK6TRub8GwbJaUjmXheWn+ISEMhvdlVZC/TnYd7P7jiFg8EDouMxDubGWdPusg CWUy9jmfCKvrDUDRlVqPKvKT22A8Zwx39d7G+Vqn5It0633Vlj0/vjC46z0w+Ii5u23t zo0NJV5B9sg40139S0bNM0nklpTkoskaVhBjTa0mgEWihii41Wf/LuSoDRWZ+r3TzzTn LjLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=jl1WRHH2; 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 u2sor13150098pfm.28.2019.06.11.07.53.55 for <linux-amarula@amarulasolutions.com> (Google Transport Security); Tue, 11 Jun 2019 07:53:55 -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:a62:e815:: with SMTP id c21mr38798237pfi.244.1560264835030; Tue, 11 Jun 2019 07:53:55 -0700 (PDT) Received: from localhost.localdomain ([115.97.180.18]) by smtp.gmail.com with ESMTPSA id e9sm16206208pfn.154.2019.06.11.07.53.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Jun 2019 07:53:54 -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 31/92] ram: rk3399: s/ca_tsel_wr_select_n/tsel_wr_select_ca_n Date: Tue, 11 Jun 2019 20:20:34 +0530 Message-Id: <20190611145135.21399-32-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=jl1WRHH2; 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 780b18fa17..bfae4e78a9 100644 --- a/drivers/ram/rockchip/sdram_rk3399.c +++ b/drivers/ram/rockchip/sdram_rk3399.c @@ -161,7 +161,7 @@ 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, ca_tsel_wr_select_n; + u32 ca_tsel_wr_select_p, tsel_wr_select_ca_n; u32 tsel_idle_select_n, tsel_wr_select_dq_n, tsel_rd_select_n; u32 reg_value; @@ -173,7 +173,7 @@ static void set_ds_odt(const struct chan_info *chan, tsel_rd_select_n = PHY_DRV_ODT_240; tsel_wr_select_dq_n = PHY_DRV_ODT_40; - ca_tsel_wr_select_n = PHY_DRV_ODT_40; + tsel_wr_select_ca_n = PHY_DRV_ODT_40; tsel_idle_select_n = PHY_DRV_ODT_240; } else if (sdram_params->base.dramtype == LPDDR3) { tsel_rd_select_p = PHY_DRV_ODT_240; @@ -183,7 +183,7 @@ static void set_ds_odt(const struct chan_info *chan, tsel_rd_select_n = PHY_DRV_ODT_HI_Z; tsel_wr_select_dq_n = PHY_DRV_ODT_34_3; - ca_tsel_wr_select_n = PHY_DRV_ODT_48; + tsel_wr_select_ca_n = PHY_DRV_ODT_48; tsel_idle_select_n = PHY_DRV_ODT_HI_Z; } else { tsel_rd_select_p = PHY_DRV_ODT_240; @@ -193,7 +193,7 @@ static void set_ds_odt(const struct chan_info *chan, tsel_rd_select_n = PHY_DRV_ODT_240; tsel_wr_select_dq_n = PHY_DRV_ODT_34_3; - ca_tsel_wr_select_n = PHY_DRV_ODT_34_3; + tsel_wr_select_ca_n = PHY_DRV_ODT_34_3; tsel_idle_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 = ca_tsel_wr_select_n | (ca_tsel_wr_select_p << 0x4); + reg_value = tsel_wr_select_ca_n | (ca_tsel_wr_select_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);