|
|
Log in / Subscribe / Register

Tegra114: implement EMC support

From:  Svyatoslav Ryhel <clamor95-AT-gmail.com>
To:  Krzysztof Kozlowski <krzk-AT-kernel.org>, Rob Herring <robh-AT-kernel.org>, Conor Dooley <conor+dt-AT-kernel.org>, Thierry Reding <treding-AT-nvidia.com>, Thierry Reding <thierry.reding-AT-gmail.com>, Jonathan Hunter <jonathanh-AT-nvidia.com>, Prashant Gaikwad <pgaikwad-AT-nvidia.com>, Mikko Perttunen <mperttunen-AT-nvidia.com>, Michael Turquette <mturquette-AT-baylibre.com>, Stephen Boyd <sboyd-AT-kernel.org>, Dmitry Osipenko <digetx-AT-gmail.com>, MyungJoo Ham <myungjoo.ham-AT-samsung.com>, Kyungmin Park <kyungmin.park-AT-samsung.com>, Chanwoo Choi <cw00.choi-AT-samsung.com>, Svyatoslav Ryhel <clamor95-AT-gmail.com>
Subject:  [PATCH v3 00/11] Tegra114: implement EMC support
Date:  Mon, 15 Sep 2025 11:01:46 +0300
Message-ID:  <20250915080157.28195-1-clamor95@gmail.com>
Cc:  linux-kernel-AT-vger.kernel.org, devicetree-AT-vger.kernel.org, linux-tegra-AT-vger.kernel.org, linux-clk-AT-vger.kernel.org, linux-pm-AT-vger.kernel.org
Archive-link:  Article

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.

---
Changes in v2:
- fix programming completion detection (changed EMC reg to MC reg reading)
- Tegra114 incorporated into Tegra124 dt-bindings schema

Changes in v3:
- adjusted MC and EMC schema to move description and ref into common property
- added Tegra114 support into devfreq driver
- added MC/EMC to DC interconnections
---

Svyatoslav Ryhel (11):
  devfreq: tegra30-devfreq: add support for Tegra114
  ARM: tegra: Add ACTMON node to Tegra114 device tree
  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
  ARM: tegra: add DC interconnections for Tegra114

 .../nvidia,tegra124-emc.yaml                  |  431 +++--
 .../nvidia,tegra124-mc.yaml                   |   97 +-
 .../dts/nvidia/tegra114-peripherals-opp.dtsi  |  151 ++
 arch/arm/boot/dts/nvidia/tegra114.dtsi        |   55 +
 drivers/clk/tegra/clk-tegra114.c              |   48 +-
 drivers/devfreq/tegra30-devfreq.c             |    1 +
 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 +
 11 files changed, 2357 insertions(+), 186 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




Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds