lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230907210601.25284-2-richard.yu@hpe.com>
Date:   Thu,  7 Sep 2023 16:05:59 -0500
From:   richard.yu@....com
To:     verdun@....com, nick.hawkins@....com, gregkh@...uxfoundation.org,
        robh+dt@...nel.org, krzysztof.kozlowski+dt@...aro.org,
        conor+dt@...nel.org, richard.yu@....com, linux-usb@...r.kernel.org,
        devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH v2 1/3] dt-bindings: usb: Add HPE GXP HUB Controller

From: Richard Yu <richard.yu@....com>

Provide access to the two register regions for GXP HUB
controller through the hpe,gxp-hub binding.

Signed-off-by: Richard Yu <richard.yu@....com>

---

v2:
 *Removed the term "virtual" as it is still a device.
 *Removed the downstream port number and generic endpoints
  number properties from device tree structure.
---
 .../devicetree/bindings/usb/hpe,gxp-hub.yaml  | 53 +++++++++++++++++++
 1 file changed, 53 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/usb/hpe,gxp-hub.yaml

diff --git a/Documentation/devicetree/bindings/usb/hpe,gxp-hub.yaml b/Documentation/devicetree/bindings/usb/hpe,gxp-hub.yaml
new file mode 100644
index 000000000000..b3e7bc42d134
--- /dev/null
+++ b/Documentation/devicetree/bindings/usb/hpe,gxp-hub.yaml
@@ -0,0 +1,53 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/usb/hpe,gxp-hub.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: HPE GXP USB HUB controller
+
+maintainers:
+  - Nick Hawkins <nick.hawkins@....com>
+  - Richard Yu <richard.yu@....com>
+
+description:
+  The HPE GXP USB HUB Controller implements 1 set of USB
+  register and several sets of device and endpoint registers to support
+  the HUB's downstream USB devices.
+
+properties:
+  compatible:
+    enum:
+      - hpe,gxp-hub
+
+  reg:
+    items:
+      - description: GXP hub (gxphub) controller register set
+      - description: Several sets of Device and Endpoint registers to support
+                     the HUB's downstream USB devices.
+
+  reg-names:
+    items:
+      - const: gxphub
+      - const: udc
+
+  interrupts:
+    maxItems: 1
+
+required:
+  - compatible
+  - reg
+  - reg-names
+  - interrupts
+
+additionalProperties: false
+
+examples:
+  - |
+    usb-hub@...00800 {
+        compatible = "hpe,gxp-hub";
+        reg = <0x80400800 0x0200>, <0x80401000 0x8000>;
+        reg-names = "gxphub", "udc";
+        interrupts = <13>;
+        interrupt-parent = <&vic1>;
+    };
-- 
2.17.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ