diff mbox series

[4/4] dt-bindings: usb: tegra-xudc: Document interconnects and iommus properties

Message ID 20211209165339.614498-4-thierry.reding@gmail.com
State Accepted
Headers show
Series [1/4] dt-bindings: usb: chipidea: Convert to json-schema | expand

Commit Message

Thierry Reding Dec. 9, 2021, 4:53 p.m. UTC
From: Thierry Reding <treding@nvidia.com>

Add the interconnects, interconnect-names and iommus properties to the
device tree bindings for the Tegra XUDC controller. These are used to
describe the device's paths to and from memory.

Signed-off-by: Thierry Reding <treding@nvidia.com>
---
 .../devicetree/bindings/usb/nvidia,tegra-xudc.yaml  | 13 +++++++++++++
 1 file changed, 13 insertions(+)

Comments

Thierry Reding Dec. 9, 2021, 5:14 p.m. UTC | #1
On Thu, Dec 09, 2021 at 05:53:39PM +0100, Thierry Reding wrote:
> From: Thierry Reding <treding@nvidia.com>
> 
> Add the interconnects, interconnect-names and iommus properties to the
> device tree bindings for the Tegra XUDC controller. These are used to
> describe the device's paths to and from memory.
> 
> Signed-off-by: Thierry Reding <treding@nvidia.com>
> ---
>  .../devicetree/bindings/usb/nvidia,tegra-xudc.yaml  | 13 +++++++++++++
>  1 file changed, 13 insertions(+)

Sorry Rob, I realized you already reviewed this one earlier:

	http://patchwork.ozlabs.org/project/linux-tegra/patch/20211206155559.232550-1-thierry.reding@gmail.com/

so technically:

Acked-by: Rob Herring <robh@kernel.org>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/usb/nvidia,tegra-xudc.yaml b/Documentation/devicetree/bindings/usb/nvidia,tegra-xudc.yaml
index 8428415896ce..a39c76b89484 100644
--- a/Documentation/devicetree/bindings/usb/nvidia,tegra-xudc.yaml
+++ b/Documentation/devicetree/bindings/usb/nvidia,tegra-xudc.yaml
@@ -59,6 +59,19 @@  properties:
       - const: fs_src
       - const: hs_src
 
+  interconnects:
+    items:
+      - description: memory read client
+      - description: memory write client
+
+  interconnect-names:
+    items:
+      - const: dma-mem # read
+      - const: write
+
+  iommus:
+    maxItems: 1
+
   power-domains:
     items:
       - description: XUSBB(device) power-domain