devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/5] dt-bindings: net: ipq4019-mdio: document IPQ6018 compatible
@ 2022-11-13 18:47 Robert Marko
  2022-11-13 18:47 ` [PATCH 2/5] dt-bindings: net: ipq4019-mdio: add IPQ8074 compatible Robert Marko
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Robert Marko @ 2022-11-13 18:47 UTC (permalink / raw)
  To: agross, andersson, konrad.dybcio, davem, edumazet, kuba, pabeni,
	robh+dt, krzysztof.kozlowski+dt, linux-arm-msm, netdev,
	devicetree, linux-kernel
  Cc: Robert Marko

Document IPQ6018 compatible that is already being used in the DTS along
with the fallback IPQ4019 compatible as driver itself only gets probed
on IPQ4019 and IPQ5018 compatibles.

This is also required in order to specify which platform require clock to
be defined and validate it in schema.

Signed-off-by: Robert Marko <robimarko@gmail.com>
---
 .../devicetree/bindings/net/qcom,ipq4019-mdio.yaml  | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml b/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml
index ad8b2b41c140..2463c0bad203 100644
--- a/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml
+++ b/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml
@@ -14,9 +14,16 @@ allOf:
 
 properties:
   compatible:
-    enum:
-      - qcom,ipq4019-mdio
-      - qcom,ipq5018-mdio
+    oneOf:
+      - items:
+          - enum:
+              - qcom,ipq4019-mdio
+              - qcom,ipq5018-mdio
+
+      - items:
+          - enum:
+              - qcom,ipq6018-mdio
+          - const: qcom,ipq4019-mdio
 
   "#address-cells":
     const: 1
-- 
2.38.1


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

end of thread, other threads:[~2022-11-14  8:30 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-13 18:47 [PATCH 1/5] dt-bindings: net: ipq4019-mdio: document IPQ6018 compatible Robert Marko
2022-11-13 18:47 ` [PATCH 2/5] dt-bindings: net: ipq4019-mdio: add IPQ8074 compatible Robert Marko
2022-11-14  8:27   ` Krzysztof Kozlowski
2022-11-13 18:47 ` [PATCH 3/5] dt-bindings: net: ipq4019-mdio: require and validate clocks Robert Marko
2022-11-14  8:29   ` Krzysztof Kozlowski
2022-11-13 18:47 ` [PATCH 4/5] dt-bindings: net: ipq4019-mdio: document required clock-names Robert Marko
2022-11-14  8:30   ` Krzysztof Kozlowski
2022-11-13 18:47 ` [PATCH 5/5] arm64: dts: qcom: ipq8074: add SoC specific compatible to MDIO Robert Marko
2022-11-14  8:30   ` Krzysztof Kozlowski
2022-11-14  8:26 ` [PATCH 1/5] dt-bindings: net: ipq4019-mdio: document IPQ6018 compatible Krzysztof Kozlowski

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).