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 for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <8de887697c90cd432b7ab5fe0d833c87fc17f0f1.1646031524.git.baruch@tkos.co.il>
Date:   Mon, 28 Feb 2022 08:58:43 +0200
From:   Baruch Siach <baruch@...s.co.il>
To:     Andy Gross <agross@...nel.org>,
        Bjorn Andersson <bjorn.andersson@...aro.org>,
        Robert Marko <robert.marko@...tura.hr>
Cc:     Baruch Siach <baruch.siach@...lu.com>,
        Bryan O'Donoghue <bryan.odonoghue@...aro.org>,
        netdev@...r.kernel.org, devicetree@...r.kernel.org,
        linux-arm-msm@...r.kernel.org
Subject: [PATCH v3 1/2] dt-bindings: net: ipq4019-mdio: Add ipq6018 compatible

From: Baruch Siach <baruch.siach@...lu.com>

The IPQ60xx MDIO bus is the same as IPQ4019.

Update the schema to allow qcom,ipq4019-mdio compatible as fallback for
newer IPQ series.

Signed-off-by: Baruch Siach <baruch.siach@...lu.com>
---

v3:

  Correct the schema to fix yamllint failure (Rob's bot)

v2:

  Update the schema to allow fallback compatible (Rob Herring)
---
 .../devicetree/bindings/net/qcom,ipq4019-mdio.yaml     | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml b/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml
index 2af304341772..dde8e6931ed3 100644
--- a/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml
+++ b/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml
@@ -14,9 +14,13 @@ allOf:
 
 properties:
   compatible:
-    enum:
-      - qcom,ipq4019-mdio
-      - qcom,ipq5018-mdio
+    oneOf:
+      - const: qcom,ipq4019-mdio
+      - items:
+          - enum:
+              - qcom,ipq5018-mdio
+              - qcom,ipq6018-mdio
+          - const: qcom,ipq4019-mdio
 
   "#address-cells":
     const: 1
-- 
2.34.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ