aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Documentation/devicetree/bindings/usb/xlnx,usb2.yaml
diff options
context:
space:
mode:
authorShubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>2021-08-26 11:04:33 +0530
committerRob Herring <robh@kernel.org>2021-09-13 08:20:18 -0500
commitecc4103f32e9e2ea8d13ff89fb3d101c94893f50 (patch)
tree61be09c5eb0ab798b2a85e0c04ac9c980cbba5fd /Documentation/devicetree/bindings/usb/xlnx,usb2.yaml
parentLinux 5.15-rc1 (diff)
downloadwireguard-linux-ecc4103f32e9e2ea8d13ff89fb3d101c94893f50.tar.xz
wireguard-linux-ecc4103f32e9e2ea8d13ff89fb3d101c94893f50.zip
dt-binding: usb: xilinx: Convert binding to YAML
Convert the current udc xilinx binding from text format to YAML format/DT schema, and delete the legacy text binding file. Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com> Link: https://lore.kernel.org/r/20210826053433.1599019-1-shubhrajyoti.datta@xilinx.com Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/usb/xlnx,usb2.yaml')
-rw-r--r--Documentation/devicetree/bindings/usb/xlnx,usb2.yaml41
1 files changed, 41 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/usb/xlnx,usb2.yaml b/Documentation/devicetree/bindings/usb/xlnx,usb2.yaml
new file mode 100644
index 000000000000..b8acc415eaf1
--- /dev/null
+++ b/Documentation/devicetree/bindings/usb/xlnx,usb2.yaml
@@ -0,0 +1,41 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/usb/xlnx,usb2.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Xilinx udc controller
+
+maintainers:
+ - Manish Narani <manish.narani@xilinx.com>
+
+properties:
+ compatible:
+ const: xlnx,usb2-device-4.00.a
+
+ reg:
+ maxItems: 1
+
+ interrupts:
+ maxItems: 1
+
+ xlnx,has-builtin-dma:
+ description:
+ If present, hardware has dma capability.
+ type: boolean
+
+required:
+ - compatible
+ - reg
+ - interrupts
+
+additionalProperties: false
+
+examples:
+ - |
+ axi-usb2-device@42e00000 {
+ compatible = "xlnx,usb2-device-4.00.a";
+ interrupts = <0x0 0x39 0x1>;
+ reg = <0xee000000 0xc00>;
+ xlnx,has-builtin-dma;
+ };