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-next>] [day] [month] [year] [list]
Message-Id: <20201202204649.25314-1-zajec5@gmail.com>
Date:   Wed,  2 Dec 2020 21:46:48 +0100
From:   Rafał Miłecki <zajec5@...il.com>
To:     Kishon Vijay Abraham I <kishon@...com>,
        Vinod Koul <vkoul@...nel.org>, Rob Herring <robh+dt@...nel.org>
Cc:     Krzysztof Kozlowski <krzk@...nel.org>,
        Simon Arlott <simon@...iron.net>,
        Álvaro Fernández Rojas 
        <noltari@...il.com>, Al Cooper <alcooperx@...il.com>,
        Florian Fainelli <f.fainelli@...il.com>,
        linux-kernel@...r.kernel.org, devicetree@...r.kernel.org,
        bcm-kernel-feedback-list@...adcom.com,
        Rafał Miłecki <rafal@...ecki.pl>
Subject: [PATCH 1/2] dt-bindings: phy: Add binding for BCM4908 USB PHYs

From: Rafał Miłecki <rafal@...ecki.pl>

BCM4908 SoCs have USB 2.0 PHY and USB 3.0 PHY attached to the MDIO bus.
Those bindings allow describing them.

Signed-off-by: Rafał Miłecki <rafal@...ecki.pl>
---
 .../bindings/phy/bcm4908-usb-phy.yaml         | 52 +++++++++++++++++++
 1 file changed, 52 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/phy/bcm4908-usb-phy.yaml

diff --git a/Documentation/devicetree/bindings/phy/bcm4908-usb-phy.yaml b/Documentation/devicetree/bindings/phy/bcm4908-usb-phy.yaml
new file mode 100644
index 000000000000..2bf5dcb58c1e
--- /dev/null
+++ b/Documentation/devicetree/bindings/phy/bcm4908-usb-phy.yaml
@@ -0,0 +1,52 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/phy/bcm4908-usb-phy.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Broadcom BCM4908 USB PHYs
+
+description: >
+  This binding describes USB PHYs used in BCM4908 family SoCs.
+
+maintainers:
+  - Rafał Miłecki <rafal@...ecki.pl>
+
+properties:
+  compatible:
+    enum:
+      - brcm,bcm4908-usb2-phy
+      - brcm,bcm4908-usb3-phy
+
+  reg:
+    items:
+      - description: PHY MDIO address
+
+  "#phy-cells":
+    const: 0
+
+required:
+  - compatible
+  - reg
+  - "#phy-cells"
+
+additionalProperties: false
+
+examples:
+  - |
+    mdio {
+        #address-cells = <1>;
+        #size-cells = <0>;
+
+        phy@0 {
+            compatible = "brcm,bcm4908-usb2-phy";
+            reg = <0x0>;
+            #phy-cells = <0>;
+        };
+
+        phy@1 {
+            compatible = "brcm,bcm4908-usb3-phy";
+            reg = <0x1>;
+            #phy-cells = <0>;
+        };
+    };
-- 
2.26.2

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ