[PATCH v2 0/9] Tegra114: implement EMC support
From: Svyatoslav Ryhel
Date: Wed Aug 20 2025 - 11:26:35 EST
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.
This patchset requires DFLL patches to be applied first to avoid
issues https://patchwork.ozlabs.org/project/linux-tegra/list/?series=464976
---
Changes in v2:
- fix programming completion detection (changed EMC reg to MC reg reading)
- Tegra114 incorporated into Tegra124 dt-bindings schema
---
Svyatoslav Ryhel (9):
ARM: tegra: Add ACTMON support on Tegra114
dt-bindings: memory: Document Tegra114 Memory Controller
memory: tegra: implement EMEM regs and ICC ops for Tegra114
dt-bindings: memory: Add Tegra114 memory client IDs
clk: tegra: remove EMC to MC clock mux in Tegra114
dt-bindings: memory: Document Tegra114 External Memory Controller
memory: tegra: Add Tegra114 EMC driver
ARM: tegra: Add External Memory Controller node on Tegra114
ARM: tegra: Add EMC OPP and ICC properties to Tegra114 EMC and ACTMON
device-tree nodes
.../nvidia,tegra124-emc.yaml | 445 +++--
.../nvidia,tegra124-mc.yaml | 106 +-
.../dts/nvidia/tegra114-peripherals-opp.dtsi | 151 ++
arch/arm/boot/dts/nvidia/tegra114.dtsi | 33 +
drivers/clk/tegra/clk-tegra114.c | 48 +-
drivers/memory/tegra/Kconfig | 12 +
drivers/memory/tegra/Makefile | 1 +
drivers/memory/tegra/tegra114-emc.c | 1487 +++++++++++++++++
drivers/memory/tegra/tegra114.c | 193 +++
include/dt-bindings/memory/tegra114-mc.h | 67 +
10 files changed, 2349 insertions(+), 194 deletions(-)
create mode 100644 arch/arm/boot/dts/nvidia/tegra114-peripherals-opp.dtsi
create mode 100644 drivers/memory/tegra/tegra114-emc.c
--
2.48.1