]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
dt-bindings: phy: renesas,usb2-phy: Add clock constraint for RZ/G2L family
authorLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Mon, 14 Apr 2025 14:57:26 +0000 (15:57 +0100)
committerVinod Koul <vkoul@kernel.org>
Wed, 14 May 2025 11:14:58 +0000 (12:14 +0100)
The RZ/G2L family requires two clocks for USB2 PHY, which are already
defined in the DTSI files. Add a constraint in the DT binding document
to ensure validation with `dtbs_check`.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20250414145729.343133-2-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Documentation/devicetree/bindings/phy/renesas,usb2-phy.yaml

index af275cea3456bede41fe968da5bbca17b93dbe68..f8d15f239b18e93258726feb2f000bca6817cf1f 100644 (file)
@@ -107,6 +107,9 @@ allOf:
           contains:
             const: renesas,rzg2l-usb2-phy
     then:
+      properties:
+        clocks:
+          minItems: 2
       required:
         - resets