All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 1/2] dt-bindings: net: ipq4019-mdio: Add ipq6018 compatible
@ 2022-02-28  6:58 Baruch Siach
  2022-02-28  6:58 ` [PATCH v3 2/2] arm64: dts: qcom: ipq6018: Add mdio bus description Baruch Siach
  2022-03-04 23:55 ` [PATCH v3 1/2] dt-bindings: net: ipq4019-mdio: Add ipq6018 compatible Rob Herring
  0 siblings, 2 replies; 3+ messages in thread
From: Baruch Siach @ 2022-02-28  6:58 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Robert Marko
  Cc: Baruch Siach, Bryan O'Donoghue, netdev, devicetree,
	linux-arm-msm

From: Baruch Siach <baruch.siach@siklu.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@siklu.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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-03-04 23:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-28  6:58 [PATCH v3 1/2] dt-bindings: net: ipq4019-mdio: Add ipq6018 compatible Baruch Siach
2022-02-28  6:58 ` [PATCH v3 2/2] arm64: dts: qcom: ipq6018: Add mdio bus description Baruch Siach
2022-03-04 23:55 ` [PATCH v3 1/2] dt-bindings: net: ipq4019-mdio: Add ipq6018 compatible Rob Herring

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.