Re: [PATCH v5 0/7] usb: dwc3: qcom: Flatten dwc3 structure

From: Bjorn Andersson
Date: Wed Mar 19 2025 - 10:20:39 EST


On Tue, Mar 18, 2025 at 05:26:02PM -0500, Rob Herring (Arm) wrote:
> New warnings running 'make CHECK_DTBS=y for arch/arm64/boot/dts/qcom/' for 20250318-dwc3-refactor-v5-0-90ea6e5b3ba4@xxxxxxxxxxxxxxxx:
>
> arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dtb: usb@a800000: #address-cells: 1 was expected
> from schema $id: http://devicetree.org/schemas/usb/qcom,snps-dwc3.yaml#
> arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dtb: usb@a800000: #size-cells: 0 was expected
> from schema $id: http://devicetree.org/schemas/usb/qcom,snps-dwc3.yaml#
> arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dtb: usb@a800000: Unevaluated properties are not allowed ('#address-cells', '#size-cells', 'dr_mode', 'phy-names', 'phys', 'ports', 'ranges', 'snps,dis-u1-entry-quirk', 'snps,dis-u2-entry-quirk' were unexpected)
> from schema $id: http://devicetree.org/schemas/usb/qcom,snps-dwc3.yaml#

I lost the hunk that removes #address-cells, #size-cells, and ranges
from &usb_1 in patch 7. So, this error report is correct, but does not
affect the implementation.

Thanks for catching this, Rob.

Regards,
Bjorn