diff mbox series

[v2,1/2] dt-bindings: net: ipq4019-mdio: Add ipq6018 compatible

Message ID e96e06d3228d9bbd927da32379ba78d5b4b718a7.1645949914.git.baruch@tkos.co.il
State New
Headers show
Series [v2,1/2] dt-bindings: net: ipq4019-mdio: Add ipq6018 compatible | expand

Commit Message

Baruch Siach Feb. 27, 2022, 8:18 a.m. UTC
From: Baruch Siach <baruch.siach@siklu.com>

The IPQ60xx MDIO bus is the same as IPQ4019.

Change 'enum' to 'items' list to allow fallback to older compatible
strings.

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

v2:

  Update the schema to allow fallback compatible (Rob Herring)
---
 Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

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