lkml.org 
[lkml]   [2022]   [Nov]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH v2 4/5] dt-bindings: net: ipq4019-mdio: document required clock-names
Date
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@gmail.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
\
 
 \ /
  Last update: 2022-11-14 20:48    [W:0.230 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site