From: Neil Armstrong Date: Tue, 7 Feb 2023 15:02:04 +0000 (+0100) Subject: dt-bindings: usb: amlogic,meson-g12a-usb-ctrl: make G12A usb3-phy0 optional X-Git-Tag: v6.6.7~3438^2~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f87b564686ee47c480ccacc3922b38a8c54a6945;p=platform%2Fkernel%2Flinux-starfive.git dt-bindings: usb: amlogic,meson-g12a-usb-ctrl: make G12A usb3-phy0 optional On the G12A USB complex, the USB3 PHY is shared with the PCIe controller, thus on designs without PCIe enabled the USB3 PHY entry can be ommited from the PHY list. Fixes: cdff2c946f06 ("dt-bindings: usb: amlogic,meson-g12a-usb-ctrl: add the Amlogic AXG Families USB Glue Bindings") Signed-off-by: Neil Armstrong Acked-by: Rob Herring Link: https://lore.kernel.org/r/20230207-b4-amlogic-g12a-usb-ctrl-bindings-fix-v1-1-c310293da7a2@linaro.org Signed-off-by: Greg Kroah-Hartman --- diff --git a/Documentation/devicetree/bindings/usb/amlogic,meson-g12a-usb-ctrl.yaml b/Documentation/devicetree/bindings/usb/amlogic,meson-g12a-usb-ctrl.yaml index daf2a85..f38a2be 100644 --- a/Documentation/devicetree/bindings/usb/amlogic,meson-g12a-usb-ctrl.yaml +++ b/Documentation/devicetree/bindings/usb/amlogic,meson-g12a-usb-ctrl.yaml @@ -108,6 +108,7 @@ allOf: then: properties: phy-names: + minItems: 2 items: - const: usb2-phy0 # USB2 PHY0 if USBHOST_A port is used - const: usb2-phy1 # USB2 PHY1 if USBOTG_B port is used