diff mbox series

[5/5] dt-bindings: phy: ti,phy-j721e-wiz: document clock-output-names

Message ID 20230404190115.546973-5-krzysztof.kozlowski@linaro.org
State Accepted
Commit a50abe2e6d4906c4d83c6da155dc1fc4624e1280
Headers show
Series [1/5] dt-bindings: phy: cadence-sierra: drop assigned-clocks | expand

Commit Message

Krzysztof Kozlowski April 4, 2023, 7:01 p.m. UTC
Document the clock-output-names property of clock children, even though
the nodes are actually deprecated, to fix dtbs_check warnings like:

  k3-j7200-common-proc-board.dtb: wiz@5060000: refclk-dig: 'clock-output-names' does not match any of the regexes: 'pinctrl-[0-9]+'

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 .../devicetree/bindings/phy/ti,phy-j721e-wiz.yaml        | 9 +++++++++
 1 file changed, 9 insertions(+)

Comments

Rob Herring (Arm) April 6, 2023, 4:48 p.m. UTC | #1
On Tue, 04 Apr 2023 21:01:15 +0200, Krzysztof Kozlowski wrote:
> Document the clock-output-names property of clock children, even though
> the nodes are actually deprecated, to fix dtbs_check warnings like:
> 
>   k3-j7200-common-proc-board.dtb: wiz@5060000: refclk-dig: 'clock-output-names' does not match any of the regexes: 'pinctrl-[0-9]+'
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
>  .../devicetree/bindings/phy/ti,phy-j721e-wiz.yaml        | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 

Reviewed-by: Rob Herring <robh@kernel.org>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/phy/ti,phy-j721e-wiz.yaml b/Documentation/devicetree/bindings/phy/ti,phy-j721e-wiz.yaml
index 4f3841e6a307..651f23580930 100644
--- a/Documentation/devicetree/bindings/phy/ti,phy-j721e-wiz.yaml
+++ b/Documentation/devicetree/bindings/phy/ti,phy-j721e-wiz.yaml
@@ -89,6 +89,9 @@  properties:
       "#clock-cells":
         const: 0
 
+      clock-output-names:
+        maxItems: 1
+
       assigned-clocks:
         maxItems: 1
 
@@ -122,6 +125,9 @@  patternProperties:
       "#clock-cells":
         const: 0
 
+      clock-output-names:
+        maxItems: 1
+
       assigned-clocks:
         maxItems: 1
 
@@ -150,6 +156,9 @@  patternProperties:
       "#clock-cells":
         const: 0
 
+      clock-output-names:
+        maxItems: 1
+
     required:
       - clocks
       - "#clock-cells"