[PATCH v2 4/5] dt-bindings: net: ipq4019-mdio: document required clock-names

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



IPQ5018, IPQ6018 and IPQ8074 require clock-names to be set as driver is
requesting the clock based on it and not index, so document that and make
it required for the listed SoC-s.

Signed-off-by: Robert Marko <robimarko@xxxxxxxxx>
---
Changes in v2:
* Define clock-names under properties and disallow it per compatible
like clocks
---
 .../devicetree/bindings/net/qcom,ipq4019-mdio.yaml          | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml b/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml
index 72561e3aeee3..7631ecc8fd01 100644
--- a/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml
+++ b/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml
@@ -40,6 +40,10 @@ properties:
     items:
       - description: MDIO clock source frequency fixed to 100MHZ
 
+  clock-names:
+    items:
+      - const: gcc_mdio_ahb_clk
+
 required:
   - compatible
   - reg
@@ -60,9 +64,11 @@ allOf:
     then:
       required:
         - clocks
+        - clock-names
     else:
       properties:
         clocks: false
+        clock-names: false
 
 unevaluatedProperties: false
 
-- 
2.38.1




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux