From: Peter De Schrijver <pdeschrijver@nvidia.com>
To: <linux-clk@vger.kernel.org>
Cc: Peter De Schrijver <pdeschrijver@nvidia.com>
Subject: [RFC 07/14] memory: tegra: scaled LA register for Tegra210
Date: Sat, 15 Sep 2018 00:48:08 +0300 [thread overview]
Message-ID: <1536961695-27809-8-git-send-email-pdeschrijver@nvidia.com> (raw)
In-Reply-To: <1536961695-27809-1-git-send-email-pdeschrijver@nvidia.com>
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
---
drivers/memory/tegra/tegra210.c | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/drivers/memory/tegra/tegra210.c b/drivers/memory/tegra/tegra210.c
index aa9dcf0..b4dd533 100644
--- a/drivers/memory/tegra/tegra210.c
+++ b/drivers/memory/tegra/tegra210.c
@@ -53,6 +53,13 @@
#define MC_EMEM_ARB_DHYST_TIMEOUT_UTIL_6 0xbe8
#define MC_EMEM_ARB_DHYST_TIMEOUT_UTIL_7 0xbec
+#define MC_SCALED_LATENCY_ALLOWANCE_DISPLAY0AB 0x694
+#define MC_SCALED_LATENCY_ALLOWANCE_DISPLAY0B 0x698
+#define MC_SCALED_LATENCY_ALLOWANCE_DISPLAY0C 0x6a0
+#define MC_SCALED_LATENCY_ALLOWANCE_DISPLAY0BB 0x69c
+#define MC_SCALED_LATENCY_ALLOWANCE_DISPLAY0CB 0x6a4
+#define MC_SCALED_LATENCY_ALLOWANCE_DISPLAY0A 0x690
+
static const unsigned long tegra210_mc_emem_regs[] = {
MC_EMEM_ADR_CFG,
MC_EMEM_ARB_CFG,
@@ -93,6 +100,15 @@
MC_EMEM_ARB_DHYST_TIMEOUT_UTIL_7,
};
+static const unsigned long tegra210_scaled_la_regs[] = {
+ MC_SCALED_LATENCY_ALLOWANCE_DISPLAY0AB,
+ MC_SCALED_LATENCY_ALLOWANCE_DISPLAY0B,
+ MC_SCALED_LATENCY_ALLOWANCE_DISPLAY0C,
+ MC_SCALED_LATENCY_ALLOWANCE_DISPLAY0BB,
+ MC_SCALED_LATENCY_ALLOWANCE_DISPLAY0CB,
+ MC_SCALED_LATENCY_ALLOWANCE_DISPLAY0A,
+};
+
static const struct tegra_mc_client tegra210_mc_clients[] = {
{
.id = 0x00,
@@ -1157,4 +1173,7 @@
.smmu = &tegra210_smmu_soc,
.emem_regs = tegra210_mc_emem_regs,
.num_emem_regs = ARRAY_SIZE(tegra210_mc_emem_regs),
+ .scaled_la_regs = tegra210_scaled_la_regs,
+ .num_scaled_la_regs = ARRAY_SIZE(tegra210_scaled_la_regs),
+ .has_scaled_la = true,
};
--
1.9.1
next prev parent reply other threads:[~2018-09-15 3:23 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-14 21:48 [RFC 00/14] Tegra210 EMC scaling Peter De Schrijver
2018-09-14 21:48 ` [RFC 01/14] memory: tegra: mc: Add Tegra210 MC emem registers Peter De Schrijver
2018-09-14 21:48 ` [RFC 02/14] clk: tegra: rename emc timing functions Peter De Schrijver
2018-09-14 21:48 ` [RFC 03/14] clk: tegra: emc: simplify parent matching Peter De Schrijver
2018-09-14 21:48 ` [RFC 04/14] clk: tegra: emc: prepare for Tegra210 parent table Peter De Schrijver
2018-09-14 21:48 ` [RFC 05/14] memory: tegra: mc: Introduce helpers Peter De Schrijver
2018-09-14 21:48 ` [RFC 06/14] memory: tegra: mc: Add support for scaled LA Peter De Schrijver
2018-09-14 21:48 ` Peter De Schrijver [this message]
2018-09-14 21:48 ` [RFC 08/14] clk: tegra: clock changes for emc scaling Peter De Schrijver
2018-09-14 21:48 ` [RFC 09/14] memory: tegra: Add definitions shared by Tegra210 EMC scaling code Peter De Schrijver
2018-09-14 21:48 ` [RFC 10/14] memory: tegra: Add Tegra210 EMC scaling sequence Peter De Schrijver
2018-09-14 21:48 ` [RFC 11/14] memory: tegra: parse DT and costruct timing tables Peter De Schrijver
2018-09-14 21:48 ` [RFC 12/14] memory: tegra: Tegra210 EMC memory driver Peter De Schrijver
2018-09-14 21:48 ` [RFC 13/14] memory: tegra: enable Tegra210 EMC scaling driver Peter De Schrijver
2018-09-14 21:48 ` [RFC 14/14] dt-bindings: tegra: Add Tegra210 EMC binding Peter De Schrijver
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1536961695-27809-8-git-send-email-pdeschrijver@nvidia.com \
--to=pdeschrijver@nvidia.com \
--cc=linux-clk@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox