[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211210164741.881161-1-thierry.reding@gmail.com>
Date: Fri, 10 Dec 2021 17:47:35 +0100
From: Thierry Reding <thierry.reding@...il.com>
To: Krzysztof Kozlowski <krzysztof.kozlowski@...onical.com>,
Rob Herring <robh+dt@...nel.org>,
Thierry Reding <thierry.reding@...il.com>
Cc: Jon Hunter <jonathanh@...dia.com>, linux-tegra@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH v2 0/6] memory: tegra: Add Tegra234 support
From: Thierry Reding <treding@...dia.com>
Hi,
this series adds support to the Tegra memory controller driver for the
version found on the new Tegra234 SoC. It is mostly similar to that on
earlier chips, except that the memory clients differ.
This also updates the device tree binding with a missing property and
ensures that all versions of the memory controller device tree nodes can
be properly validated.
Finally, the device trees for Tegra234 are updated and memory client
nodes are hooked up to the memory controller via interconnect
properties. Once the bindings are reviewed I plan to apply patches 4-6
to the Tegra tree.
Changes in v2:
- addressed all review comments on the DT schema
- most of the conditionals weren't necessary because I found out that
all three generations end up using the same set of interrupts for MC
and EMC and we were assigning them wrongly
- added one patch to fix the Tegra194 EMC interrupt
Thierry
Thierry Reding (6):
dt-bindings: memory: tegra: Document #interconnect-cells property
dt-bindings: memory: tegra: Add Tegra234 support
memory: tegra: Add Tegra234 support
arm64: tegra: Add EMC general interrupt on Tegra194
arm64: tegra: Add memory controller on Tegra234
arm64: tegra: Hook up MMC and BPMP to memory controller
.../nvidia,tegra186-mc.yaml | 98 ++++++++++++++++---
arch/arm64/boot/dts/nvidia/tegra194.dtsi | 1 +
arch/arm64/boot/dts/nvidia/tegra234.dtsi | 57 +++++++++++
drivers/memory/tegra/Makefile | 1 +
drivers/memory/tegra/mc.c | 3 +
drivers/memory/tegra/mc.h | 7 +-
drivers/memory/tegra/tegra186-emc.c | 3 +
drivers/memory/tegra/tegra234.c | 81 +++++++++++++++
include/dt-bindings/clock/tegra234-clock.h | 9 ++
include/dt-bindings/memory/tegra234-mc.h | 32 ++++++
10 files changed, 280 insertions(+), 12 deletions(-)
create mode 100644 drivers/memory/tegra/tegra234.c
create mode 100644 include/dt-bindings/memory/tegra234-mc.h
--
2.34.1
Powered by blists - more mailing lists