[PATCH v2 0/7] Tegra114: implement EMC support

Svyatoslav Ryhel posted 7 patches 1 month, 2 weeks ago
There is a newer version of this series
.../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
[PATCH v2 0/7] Tegra114: implement EMC support
Posted by Svyatoslav Ryhel 1 month, 2 weeks ago
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
Re: (subset) [PATCH v2 0/7] Tegra114: implement EMC support
Posted by Krzysztof Kozlowski 1 month, 1 week ago
On Mon, 27 Apr 2026 10:03:05 +0300, Svyatoslav Ryhel wrote:
> 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.
> 
> [...]

Applied, thanks!

[1/7] dt-bindings: memory: Document Tegra114 Memory Controller
      https://git.kernel.org/krzk/linux-mem-ctrl/c/b0822a883408f32d494ce9cdc26f4266774cf3f1
[3/7] dt-bindings: memory: Document Tegra114 External Memory Controller
      https://git.kernel.org/krzk/linux-mem-ctrl/c/a4f97f9467661602bd6bf614bcee884502794d43

Best regards,
-- 
Krzysztof Kozlowski <krzk@kernel.org>
Re: (subset) [PATCH v2 0/7] Tegra114: implement EMC support
Posted by Krzysztof Kozlowski 1 month, 1 week ago
On Mon, 27 Apr 2026 10:03:05 +0300, Svyatoslav Ryhel wrote:
> 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.
> 
> [...]

Applied, thanks!

[2/7] memory: tegra: Implement EMEM regs and ICC ops for Tegra114
      https://git.kernel.org/krzk/linux-mem-ctrl/c/750fed9230ede9e43e234fbbc0d9b23c524a6c6a
[4/7] memory: tegra: Add Tegra114 EMC driver
      https://git.kernel.org/krzk/linux-mem-ctrl/c/dce208b5405f40c36320bb0ee07e9df8f7f2bea4

Best regards,
-- 
Krzysztof Kozlowski <krzk@kernel.org>