mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Aaron Kling via B4 Relay <devnull+webgeek1234.gmail.com@kernel.org>
To: Krzysztof Kozlowski <krzk@kernel.org>,
	 Thierry Reding <thierry.reding@gmail.com>,
	 Jonathan Hunter <jonathanh@nvidia.com>,
	Rob Herring <robh@kernel.org>,
	 Conor Dooley <conor+dt@kernel.org>,
	 Krzysztof Kozlowski <krzk+dt@kernel.org>
Cc: linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org,
	 devicetree@vger.kernel.org, Aaron Kling <webgeek1234@gmail.com>
Subject: [PATCH v2 2/4] dt-bindings: memory-controllers: tegra210: Allow fallback compatible
Date: Thu, 08 May 2025 01:07:39 -0500	[thread overview]
Message-ID: <20250508-tegra210-emc-dt-v2-2-d33dc20a1123@gmail.com> (raw)
In-Reply-To: <20250508-tegra210-emc-dt-v2-0-d33dc20a1123@gmail.com>

From: Aaron Kling <webgeek1234@gmail.com>

The nvidia,tegra21-emc compatible is required by the Nvidia Android
bootloader to copy emc training value into the kernel dt. So allow this
as a fallback compatible to avoid needing to change the driver.

Signed-off-by: Aaron Kling <webgeek1234@gmail.com>
---
 .../devicetree/bindings/memory-controllers/nvidia,tegra210-emc.yaml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/memory-controllers/nvidia,tegra210-emc.yaml b/Documentation/devicetree/bindings/memory-controllers/nvidia,tegra210-emc.yaml
index 78e3417d273a329b77bf2f61de41b29017be56d3..acae6c8a6c0ab9ceaddf00342c933499350568eb 100644
--- a/Documentation/devicetree/bindings/memory-controllers/nvidia,tegra210-emc.yaml
+++ b/Documentation/devicetree/bindings/memory-controllers/nvidia,tegra210-emc.yaml
@@ -16,7 +16,11 @@ description: |
 
 properties:
   compatible:
-    const: nvidia,tegra210-emc
+    oneOf:
+      - const: nvidia,tegra210-emc
+      - items:
+          - const: nvidia,tegra210-emc
+          - const: nvidia,tegra21-emc
 
   reg:
     maxItems: 3

-- 
2.48.1



  parent reply	other threads:[~2025-05-08  6:07 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-08  6:07 [PATCH v2 0/4] memory: tegra210-emc: Support Device Tree EMC Tables Aaron Kling via B4 Relay
2025-05-08  6:07 ` [PATCH v2 1/4] dt-bindings: memory-controllers: Describe Tegra210 " Aaron Kling via B4 Relay
2025-05-08  7:09   ` Rob Herring (Arm)
2025-05-09 13:42   ` Rob Herring
2025-05-09 17:07     ` Aaron Kling
2025-05-08  6:07 ` Aaron Kling via B4 Relay [this message]
2025-05-08  7:09   ` [PATCH v2 2/4] dt-bindings: memory-controllers: tegra210: Allow fallback compatible Rob Herring (Arm)
2025-05-08  6:07 ` [PATCH v2 3/4] arm64: tegra: Add EMC timings to P2180 Aaron Kling via B4 Relay
2025-05-08  6:07 ` [PATCH v2 4/4] memory: tegra210-emc: Support Device Tree EMC Tables Aaron Kling via B4 Relay
2025-05-08  7:41 ` [PATCH v2 0/4] " Thierry Reding
2025-05-08 11:37   ` Aaron Kling
2025-05-08 11:47     ` Krzysztof Kozlowski
2025-05-08 12:27       ` Aaron Kling
2025-05-08 12:48         ` Thierry Reding
2025-05-28 17:41           ` Aaron Kling
2025-06-30 19:26             ` Aaron Kling
2025-07-03 10:37               ` Thierry Reding
2025-07-03 17:11                 ` Aaron Kling
2025-05-09 14:17 ` Rob Herring (Arm)

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=20250508-tegra210-emc-dt-v2-2-d33dc20a1123@gmail.com \
    --to=devnull+webgeek1234.gmail.com@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=jonathanh@nvidia.com \
    --cc=krzk+dt@kernel.org \
    --cc=krzk@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-tegra@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=thierry.reding@gmail.com \
    --cc=webgeek1234@gmail.com \
    /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

all inboxes | Powered by JetHome®