summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml
diff options
context:
space:
mode:
authorRobert Marko <robimarko@gmail.com>2022-11-14 20:47:33 +0100
committerJakub Kicinski <kuba@kernel.org>2022-11-18 06:14:38 +0100
commit4a8c14384fa96c0bd6c1a534667f2a72165faacf (patch)
treebe3e234b42e0abc30675ea5a7ec8ab81d590a3e1 /Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml
parentdt-bindings: net: ipq4019-mdio: require and validate clocks (diff)
downloadlinux-4a8c14384fa96c0bd6c1a534667f2a72165faacf.tar.xz
linux-4a8c14384fa96c0bd6c1a534667f2a72165faacf.zip
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@gmail.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20221114194734.3287854-4-robimarko@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to '')
-rw-r--r--Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml6
1 files changed, 6 insertions, 0 deletions
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