From: Svyatoslav Ryhel <clamor95@gmail.com>
To: Krzysztof Kozlowski <krzk@kernel.org>,
Rob Herring <robh@kernel.org>, Conor Dooley <conor+dt@kernel.org>,
Thierry Reding <thierry.reding@kernel.org>,
Jonathan Hunter <jonathanh@nvidia.com>,
Mikko Perttunen <mperttunen@nvidia.com>,
Svyatoslav Ryhel <clamor95@gmail.com>
Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
linux-tegra@vger.kernel.org
Subject: [PATCH v2 0/7] Tegra114: implement EMC support
Date: Mon, 27 Apr 2026 10:03:05 +0300 [thread overview]
Message-ID: <20260427070312.81679-1-clamor95@gmail.com> (raw)
Add support for External Memory Controller found in Tegra 4 SoC along
with adjustments required for it to work properly.
Tested on ASUS TF701T (T40X) and Nvidia Tegratab (T40S). Both work fine.
First 4 patches of series are dedicated to memory subsystem, while
the remaining 3 patches must be picked after first 4 are applied
and are meant for the Tegra device tree maintainer.
Part of previous patchset: https://lore.kernel.org/lkml/20251125120559.158860-1-clamor95@gmail.com/
---
Changes in v2:
- rebased on top of Mikko's patch removing duplicated code
- dropped unneeded headers
- adjusted function naming to be SoC specific
- switched to dev_err_probe where appropriate
- made emc_init void
- header change commit squashed with related binding commit
- combined with related patchset for Tegra114 device tree changes
---
Svyatoslav Ryhel (7):
dt-bindings: memory: Document Tegra114 Memory Controller
memory: tegra: Implement EMEM regs and ICC ops for Tegra114
dt-bindings: memory: Document Tegra114 External Memory Controller
memory: tegra: Add Tegra114 EMC driver
ARM: tegra: Add EMC OPP and ICC properties to Tegra114 EMC and ACTMON
device-tree nodes
ARM: tegra: Add DC interconnections for Tegra114
ARM: tegra: Configure Tegra114 power domains
.../nvidia,tegra124-emc.yaml | 174 +-
.../nvidia,tegra124-mc.yaml | 31 +-
.../dts/nvidia/tegra114-peripherals-opp.dtsi | 1439 +++++++++++++++++
arch/arm/boot/dts/nvidia/tegra114.dtsi | 157 ++
drivers/memory/tegra/Kconfig | 13 +
drivers/memory/tegra/Makefile | 1 +
drivers/memory/tegra/tegra114-emc.c | 1353 ++++++++++++++++
drivers/memory/tegra/tegra114.c | 193 +++
include/dt-bindings/memory/tegra114-mc.h | 67 +
9 files changed, 3257 insertions(+), 171 deletions(-)
create mode 100644 arch/arm/boot/dts/nvidia/tegra114-peripherals-opp.dtsi
create mode 100644 drivers/memory/tegra/tegra114-emc.c
--
2.51.0
next reply other threads:[~2026-04-27 7:03 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-27 7:03 Svyatoslav Ryhel [this message]
2026-04-27 7:03 ` [PATCH v2 1/7] dt-bindings: memory: Document Tegra114 Memory Controller Svyatoslav Ryhel
2026-05-04 19:27 ` Krzysztof Kozlowski
2026-04-27 7:03 ` [PATCH v2 2/7] memory: tegra: Implement EMEM regs and ICC ops for Tegra114 Svyatoslav Ryhel
2026-04-27 7:03 ` [PATCH v2 3/7] dt-bindings: memory: Document Tegra114 External Memory Controller Svyatoslav Ryhel
2026-04-27 7:03 ` [PATCH v2 4/7] memory: tegra: Add Tegra114 EMC driver Svyatoslav Ryhel
2026-05-04 18:53 ` Krzysztof Kozlowski
2026-04-27 7:03 ` [PATCH v2 5/7] ARM: tegra: Add EMC OPP and ICC properties to Tegra114 EMC and ACTMON device-tree nodes Svyatoslav Ryhel
2026-04-27 7:03 ` [PATCH v2 6/7] ARM: tegra: Add DC interconnections for Tegra114 Svyatoslav Ryhel
2026-04-27 7:03 ` [PATCH v2 7/7] ARM: tegra: Configure Tegra114 power domains Svyatoslav Ryhel
2026-05-04 18:45 ` (subset) [PATCH v2 0/7] Tegra114: implement EMC support Krzysztof Kozlowski
2026-05-04 18:48 ` Krzysztof Kozlowski
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=20260427070312.81679-1-clamor95@gmail.com \
--to=clamor95@gmail.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jonathanh@nvidia.com \
--cc=krzk@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=mperttunen@nvidia.com \
--cc=robh@kernel.org \
--cc=thierry.reding@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