[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20221114194734.3287854-4-robimarko@gmail.com>
Date: Mon, 14 Nov 2022 20:47:33 +0100
From: Robert Marko <robimarko@...il.com>
To: agross@...nel.org, andersson@...nel.org, konrad.dybcio@...aro.org,
davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, robh+dt@...nel.org,
krzysztof.kozlowski+dt@...aro.org, linux-arm-msm@...r.kernel.org,
netdev@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: Robert Marko <robimarko@...il.com>
Subject: [PATCH v2 4/5] dt-bindings: net: ipq4019-mdio: document required clock-names
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@...il.com>
---
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
Powered by blists - more mailing lists