From: Sameer Pujar <spujar@nvidia.com>
To: <vkoul@kernel.org>, <robh@kernel.org>, <krzk+dt@kernel.org>,
<conor+dt@kernel.org>, <thierry.reding@gmail.com>,
<jonathanh@nvidia.com>, <dmaengine@vger.kernel.org>,
<devicetree@vger.kernel.org>
Cc: <linux-tegra@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<ldewangan@nvidia.com>, <mkumard@nvidia.com>, <spujar@nvidia.com>
Subject: [RESEND PATCH 1/2] dt-bindings: dma: Add reg-names to nvidia,tegra210-adma
Date: Tue, 21 May 2024 11:08:00 +0000 [thread overview]
Message-ID: <20240521110801.1692582-2-spujar@nvidia.com> (raw)
In-Reply-To: <20240521110801.1692582-1-spujar@nvidia.com>
From: Mohan Kumar <mkumard@nvidia.com>
For Non-Hypervisor mode, Tegra ADMA driver requires the register
resource range to include both global and channel page in the reg
entry. For Hypervisor more, Tegra ADMA driver requires only the
channel page and global page range is not allowed for access.
Add reg-names DT binding for Hypervisor mode to help driver to
differentiate the config between Hypervisor and Non-Hypervisor
mode of execution.
Signed-off-by: Mohan Kumar <mkumard@nvidia.com>
Signed-off-by: Sameer Pujar <spujar@nvidia.com>
---
.../devicetree/bindings/dma/nvidia,tegra210-adma.yaml | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/Documentation/devicetree/bindings/dma/nvidia,tegra210-adma.yaml b/Documentation/devicetree/bindings/dma/nvidia,tegra210-adma.yaml
index 877147e95ecc..ede47f4a3eec 100644
--- a/Documentation/devicetree/bindings/dma/nvidia,tegra210-adma.yaml
+++ b/Documentation/devicetree/bindings/dma/nvidia,tegra210-adma.yaml
@@ -29,8 +29,18 @@ properties:
- const: nvidia,tegra186-adma
reg:
+ description: |
+ For hypervisor mode, the address range should include a
+ ADMA channel page address range, for non-hypervisor mode
+ it starts with ADMA base address covering Global and Channel
+ page address range.
maxItems: 1
+ reg-names:
+ description: only required for Hypervisor mode.
+ items:
+ - const: vm
+
interrupts:
description: |
Should contain all of the per-channel DMA interrupts in
--
2.45.1
next prev parent reply other threads:[~2024-05-21 11:09 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-21 11:07 [RESEND PATCH 0/2] Virtualization support for Tegra ADMA Sameer Pujar
2024-05-21 11:08 ` Sameer Pujar [this message]
2024-05-21 11:53 ` [RESEND PATCH 1/2] dt-bindings: dma: Add reg-names to nvidia,tegra210-adma Krzysztof Kozlowski
2024-05-22 5:35 ` Sameer Pujar
2024-05-22 6:47 ` Krzysztof Kozlowski
2024-05-22 7:43 ` Sameer Pujar
2024-05-22 11:29 ` Krzysztof Kozlowski
2024-05-24 7:36 ` Thierry Reding
2024-05-28 6:48 ` Krzysztof Kozlowski
2024-05-30 12:48 ` Thierry Reding
2024-05-31 7:43 ` Krzysztof Kozlowski
2024-05-31 9:06 ` Thierry Reding
2024-05-28 15:35 ` Rob Herring
2024-05-30 12:29 ` Thierry Reding
2024-05-21 11:08 ` [RESEND PATCH 2/2] dmaengine: tegra210-adma: Add support for ADMA virtualization Sameer Pujar
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=20240521110801.1692582-2-spujar@nvidia.com \
--to=spujar@nvidia.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmaengine@vger.kernel.org \
--cc=jonathanh@nvidia.com \
--cc=krzk+dt@kernel.org \
--cc=ldewangan@nvidia.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=mkumard@nvidia.com \
--cc=robh@kernel.org \
--cc=thierry.reding@gmail.com \
--cc=vkoul@kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).