From: Peter De Schrijver <pdeschrijver@nvidia.com>
To: <linux-clk@vger.kernel.org>
Cc: Peter De Schrijver <pdeschrijver@nvidia.com>
Subject: [RFC 00/14] Tegra210 EMC scaling
Date: Sat, 15 Sep 2018 00:48:01 +0300 [thread overview]
Message-ID: <1536961695-27809-1-git-send-email-pdeschrijver@nvidia.com> (raw)
This series introduces EMC scaling for Tegra210. It's a preliminary version
which hasn't been extensively tested so it may crash your system. The reason
I'm posting it anyway to start discussing the DT binding document. The
problem here is that this binding is also used by firmware which is already
in the field. The firmware needs the data in the DT to perform the initial
training and it also writes the results of this training in the DT which are
then used by this driver. Without this training higher OPPs cannot be used.
Peter De Schrijver (14):
memory: tegra: mc: Add Tegra210 MC emem registers
clk: tegra: rename emc timing functions
clk: tegra: emc: simplify parent matching
clk: tegra: emc: prepare for Tegra210 parent table
memory: tegra: mc: Introduce helpers
memory: tegra: mc: Add support for scaled LA
memory: tegra: scaled LA register for Tegra210
clk: tegra: clock changes for emc scaling
memory: tegra: Add definitions shared by Tegra210 EMC scaling code
memory: tegra: Add Tegra210 EMC scaling sequence
memory: tegra: parse DT and costruct timing tables
memory: tegra: Tegra210 EMC memory driver
memory: tegra: enable Tegra210 EMC scaling driver
dt-bindings: tegra: Add Tegra210 EMC binding
.../memory-controllers/nvidia,tegra210-emc.txt | 448 ++++
drivers/clk/tegra/clk-emc.c | 88 +-
drivers/clk/tegra/clk-tegra210.c | 53 +-
drivers/memory/tegra/Kconfig | 10 +
drivers/memory/tegra/Makefile | 1 +
drivers/memory/tegra/mc.c | 84 +-
drivers/memory/tegra/tegra124-emc.c | 8 +-
drivers/memory/tegra/tegra210-dt-parse.c | 363 ++++
drivers/memory/tegra/tegra210-emc-cc-r21021.c | 1864 ++++++++++++++++
drivers/memory/tegra/tegra210-emc-reg.h | 1879 ++++++++++++++++
drivers/memory/tegra/tegra210-emc.c | 2268 ++++++++++++++++++++
drivers/memory/tegra/tegra210.c | 99 +
include/dt-bindings/clock/tegra210-car.h | 2 +
include/soc/tegra/emc.h | 8 +-
include/soc/tegra/mc.h | 6 +
15 files changed, 7119 insertions(+), 62 deletions(-)
create mode 100644 Documentation/devicetree/bindings/memory-controllers/nvidia,tegra210-emc.txt
create mode 100644 drivers/memory/tegra/tegra210-dt-parse.c
create mode 100644 drivers/memory/tegra/tegra210-emc-cc-r21021.c
create mode 100644 drivers/memory/tegra/tegra210-emc-reg.h
create mode 100644 drivers/memory/tegra/tegra210-emc.c
--
1.9.1
next reply other threads:[~2018-09-15 5:33 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-14 21:48 Peter De Schrijver [this message]
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 ` [RFC 07/14] memory: tegra: scaled LA register for Tegra210 Peter De Schrijver
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-1-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