devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 1/2] dt-bindings: net: ipq4019-mdio: Add ipq6018 compatible
@ 2022-02-27  8:18 Baruch Siach
  2022-02-27  8:18 ` [PATCH v2 2/2] arm64: dts: qcom: ipq6018: Add mdio bus description Baruch Siach
  2022-02-28  2:44 ` [PATCH v2 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-27  8:18 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.

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 --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
-- 
2.34.1


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

end of thread, other threads:[~2022-02-28  2:44 UTC | newest]

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).