Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1248408 > unrolled thread
| Started by | Jon Hunter <jonathanh@nvidia.com> |
|---|---|
| First post | 2015-10-16 09:40 +0200 |
| Last post | 2015-10-16 18:10 +0200 |
| Articles | 3 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH V3 0/2] Add support for Tegra210 ADMA Jon Hunter <jonathanh@nvidia.com> - 2015-10-16 09:40 +0200
[PATCH V3 1/2] Documentation: DT: Add binding documentation for NVIDIA ADMA Jon Hunter <jonathanh@nvidia.com> - 2015-10-16 09:40 +0200
Re: [PATCH V3 1/2] Documentation: DT: Add binding documentation for NVIDIA ADMA Stephen Warren <swarren@wwwdotorg.org> - 2015-10-16 18:10 +0200
| From | Jon Hunter <jonathanh@nvidia.com> |
|---|---|
| Date | 2015-10-16 09:40 +0200 |
| Subject | [PATCH V3 0/2] Add support for Tegra210 ADMA |
| Message-ID | <qk7Mm-7Tn-11@gated-at.bofh.it> |
Add support for the Tegra210 Audio DMA (ADMA) controller. This was originally distributed as an RFC [0] based upon the existing tegra APB-DMA driver. Since then the driver has been significantly re-worked to remove a lot of the unused/unnecessary functionality that was carried over from the APB-DMA. This version is no longer derived from the APB-DMA driver and has been updated to use the virt-dma helpers. V3 changes: - Updated DT binding per feedback from Mark and Stephen - Fixed up items mentioned by Vinod V2 changes: - Re-worked device-tree binding [0] https://lkml.org/lkml/2015/8/18/237 Jon Hunter (2): Documentation: DT: Add binding documentation for NVIDIA ADMA dmaengine: tegra-adma: Add support for Tegra210 ADMA .../devicetree/bindings/dma/tegra210-adma.txt | 50 ++ drivers/dma/Kconfig | 13 + drivers/dma/Makefile | 1 + drivers/dma/tegra210-adma.c | 909 +++++++++++++++++++++ 4 files changed, 973 insertions(+) create mode 100644 Documentation/devicetree/bindings/dma/tegra210-adma.txt create mode 100644 drivers/dma/tegra210-adma.c -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [next] | [standalone]
| From | Jon Hunter <jonathanh@nvidia.com> |
|---|---|
| Date | 2015-10-16 09:40 +0200 |
| Subject | [PATCH V3 1/2] Documentation: DT: Add binding documentation for NVIDIA ADMA |
| Message-ID | <qk7Mm-7Tn-21@gated-at.bofh.it> |
| In reply to | #1248408 |
Add device-tree binding documentation for the Tegra210 Audio DMA
controller.
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
---
.../devicetree/bindings/dma/tegra210-adma.txt | 50 ++++++++++++++++++++++
1 file changed, 50 insertions(+)
create mode 100644 Documentation/devicetree/bindings/dma/tegra210-adma.txt
diff --git a/Documentation/devicetree/bindings/dma/tegra210-adma.txt b/Documentation/devicetree/bindings/dma/tegra210-adma.txt
new file mode 100644
index 000000000000..5e4eda1d1918
--- /dev/null
+++ b/Documentation/devicetree/bindings/dma/tegra210-adma.txt
@@ -0,0 +1,50 @@
+* NVIDIA Tegra Audio DMA (ADMA) controller
+
+Required properties:
+- compatible: Must be "nvidia,tegra210-adma".
+- reg: Should contain DMA registers location and length. This should be
+ a single entry that includes all of the per-channel registers in one
+ contiguous bank.
+- interrupt-parent: Phandle to the interrupt parent controller.
+- interrupts: Should contain all of the per-channel DMA interrupts in
+ ascending order with respect to the DMA channel index.
+- clocks: Must contain one entry for the ADMA module clock, "adma_ape".
+- clock-names: Must contain the entry "adma_ape".
+- #dma-cells : Must be 1. The first cell denotes the receive/transmit
+ request number and should be between 1 and the maximum number of
+ requests supported. This value corresponds to the RX/TX_REQUEST_SELECT
+ fields in the ADMA_CHn_CTRL register.
+
+
+Example:
+
+adma: adma@702e2000 {
+ compatible = "nvidia,tegra210-adma";
+ reg = <0x0 0x702e2000 0x0 0x2000>;
+ interrupt-parent = <&tegra_agic>;
+ interrupts = <GIC_SPI INT_ADMA_EOT0 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI IN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.1.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Stephen Warren <swarren@wwwdotorg.org> |
|---|---|
| Date | 2015-10-16 18:10 +0200 |
| Subject | Re: [PATCH V3 1/2] Documentation: DT: Add binding documentation for NVIDIA ADMA |
| Message-ID | <qkfJV-2V2-31@gated-at.bofh.it> |
| In reply to | #1248410 |
On 10/16/2015 01:35 AM, Jon Hunter wrote: > Add device-tree binding documentation for the Tegra210 Audio DMA > controller. > diff --git a/Documentation/devicetree/bindings/dma/tegra210-adma.txt b/Documentation/devicetree/bindings/dma/tegra210-adma.txt > +Required properties: > +- interrupt-parent: Phandle to the interrupt parent controller. Nit: Since that is more of a "system level"/standard property, it's typical not to document it. The property is not actually required if the inherited value is already correct. Still, it's obvious enough what this means, so I'd only suggest fixing this if you have to respin for some other reason. > +- clocks: Must contain one entry for the ADMA module clock, "adma_ape". > +- clock-names: Must contain the entry "adma_ape". Which clock is this in the CAR? I don't see any adma_ape clock documented in the TRM. Is there a dedicated reset signal for this module? If so, we should require a resets property. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web