]> git.baikalelectronics.ru Git - kernel.git/commit
dt-bindings: usb: ehci: Increase the number of PHYs
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 15 Jun 2022 13:53:09 +0000 (15:53 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Jun 2022 07:03:27 +0000 (09:03 +0200)
commitdc6e5d0b7b1a920e3eb8860b7a7ceb2ab2dcdf6d
tree45a28337f484073cd65bd71e7b3eb50ac5e7433d
parent4acbd0fceec74bb4527ab4d8b2237c44893b8f08
dt-bindings: usb: ehci: Increase the number of PHYs

commit ad9c5ff2a6ac1b7002259b5ac0a71b134c8bf12b upstream.

"make dtbs_check":

    arch/arm/boot/dts/r8a77470-iwg23s-sbc.dtb: usb@ee080100: phys: [[17, 0], [31]] is too long
    From schema: Documentation/devicetree/bindings/usb/generic-ehci.yaml
    arch/arm/boot/dts/r8a77470-iwg23s-sbc.dtb: usb@ee0c0100: phys: [[17, 1], [33], [21, 0]] is too long
    From schema: Documentation/devicetree/bindings/usb/generic-ehci.yaml

Some USB EHCI 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: 381bb4975a552bf0 ("dt-bindings: Add missing array size constraints")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/c5d19e2f9714f43effd90208798fc1936098078f.1655301043.git.geert+renesas@glider.be
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/usb/generic-ehci.yaml