Skip to content

Commit 0f074c1

Browse files
geertugregkh
authored andcommitted
dt-bindings: usb: ohci: Increase the number of PHYs
"make dtbs_check": arch/arm/boot/dts/r8a77470-iwg23s-sbc.dtb: usb@ee080000: phys: [[17, 0], [31]] is too long From schema: Documentation/devicetree/bindings/usb/generic-ohci.yaml arch/arm/boot/dts/r8a77470-iwg23s-sbc.dtb: usb@ee0c0000: phys: [[17, 1], [33], [21, 0]] is too long From schema: Documentation/devicetree/bindings/usb/generic-ohci.yaml Some USB OHCI controllers (e.g. on the Renesas RZ/G1C SoC) have multiple PHYs. Increase the maximum number of PHYs to 3, which is sufficient for now. Fixes: 0499220 ("dt-bindings: Add missing array size constraints") Signed-off-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/r/0112f9c8881513cb33bf7b66bc743dd08b35a2f5.1655301203.git.geert+renesas@glider.be Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent f2d8c26 commit 0f074c1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Documentation/devicetree/bindings/usb/generic-ohci.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@ properties:
103103
Overrides the detected port count
104104

105105
phys:
106-
maxItems: 1
106+
minItems: 1
107+
maxItems: 3
107108

108109
phy-names:
109110
const: usb

0 commit comments

Comments
 (0)