From: Mohan Kumar D <mkumard@nvidia.com>
To: <vkoul@kernel.org>, <robh@kernel.org>, <krzk+dt@kernel.org>,
<conor+dt@kernel.org>
Cc: <thierry.reding@gmail.com>, <jonathanh@nvidia.com>,
<spujar@nvidia.com>, <dmaengine@vger.kernel.org>,
<devicetree@vger.kernel.org>, <linux-tegra@vger.kernel.org>,
<linux-kernel@vger.kernel.org>,
Mohan Kumar D <mkumard@nvidia.com>
Subject: [PATCH 1/2] dt-bindings: dma: Support channel page to nvidia,tegra210-adma
Date: Thu, 5 Dec 2024 20:28:58 +0530 [thread overview]
Message-ID: <20241205145859.2331691-2-mkumard@nvidia.com> (raw)
In-Reply-To: <20241205145859.2331691-1-mkumard@nvidia.com>
Multiple ADMA Channel page hardware support has been added from
TEGRA186 and onwards. Update the DT binding to use any of the
ADMA channel page address space region.
Signed-off-by: Mohan Kumar D <mkumard@nvidia.com>
---
.../bindings/dma/nvidia,tegra210-adma.yaml | 19 ++++++++++++++++++-
1 file changed, 18 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/dma/nvidia,tegra210-adma.yaml b/Documentation/devicetree/bindings/dma/nvidia,tegra210-adma.yaml
index 877147e95ecc..8c76c98560c5 100644
--- a/Documentation/devicetree/bindings/dma/nvidia,tegra210-adma.yaml
+++ b/Documentation/devicetree/bindings/dma/nvidia,tegra210-adma.yaml
@@ -29,7 +29,24 @@ properties:
- const: nvidia,tegra186-adma
reg:
- maxItems: 1
+ description: |
+ The 'page' region describes the address space of the page
+ used for accessing the DMA channel registers. The 'global'
+ region describes the address space of the global DMA registers.
+ In the absence of the 'reg-names' property, there must be a
+ single entry that covers the address space of the global DMA
+ registers and the DMA channel registers.
+ minItems: 1
+ maxItems: 2
+
+ reg-names:
+ oneOf:
+ - enum:
+ - page
+ - global
+ - items:
+ - const: page
+ - const: global
interrupts:
description: |
--
2.25.1
next prev parent reply other threads:[~2024-12-05 14:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-05 14:58 [PATCH 0/2] Add Tegra ADMA channel page support Mohan Kumar D
2024-12-05 14:58 ` Mohan Kumar D [this message]
2024-12-05 15:15 ` [PATCH 1/2] dt-bindings: dma: Support channel page to nvidia,tegra210-adma Krzysztof Kozlowski
2024-12-16 9:57 ` Mohan Kumar D
2024-12-05 14:58 ` [PATCH 2/2] dmaengine: tegra210-adma: Support channel page Mohan Kumar D
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=20241205145859.2331691-2-mkumard@nvidia.com \
--to=mkumard@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=linux-kernel@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=robh@kernel.org \
--cc=spujar@nvidia.com \
--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