[PATCH v1 3/7] dt-bindings: usb: hpe,gxp-udcg: Add binding for gxp gadget group

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Richard Yu <richard.yu@xxxxxxx>

Create documentation for the hpe,gxp-udcg binding to support access to
the gxp USB gadget group.

Signed-off-by: Richard Yu <richard.yu@xxxxxxx>
---
 .../devicetree/bindings/usb/hpe,gxp-udcg.yaml | 34 +++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/usb/hpe,gxp-udcg.yaml

diff --git a/Documentation/devicetree/bindings/usb/hpe,gxp-udcg.yaml b/Documentation/devicetree/bindings/usb/hpe,gxp-udcg.yaml
new file mode 100644
index 000000000000..f1dd681c8d7d
--- /dev/null
+++ b/Documentation/devicetree/bindings/usb/hpe,gxp-udcg.yaml
@@ -0,0 +1,34 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/usb/hpe,gxp-udcg.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: HPE GXP Gadget Universal Device Controller Group (UDCG)
+
+maintainers:
+  - Richard Yu <richard.yu@xxxxxxx>
+  - Jean-Marie Verdun <verdun@xxxxxxx>
+  - Nick Hawkins <nick.hawkins@xxxxxxx>
+
+properties:
+  compatible:
+    items:
+      - const: hpe,gxp-udcg
+      - const: syscon
+
+  reg:
+    maxItems: 1
+
+required:
+  - compatible
+  - reg
+
+additionalProperties: false
+
+examples:
+  - |
+    system-controller@80400800 {
+      compatible = "hpe,gxp-udcg", "syscon";
+      reg = <0x80400800 0x200>;
+    };
-- 
2.17.1




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux