2021-03-29 07:30:06

by Zhen Lei

[permalink] [raw]
Subject: [PATCH 0/2] dt-bindings: usb: dwc3-imx8mp: Use the correct name for child node "snps,dwc3"

File snps,dwc3.yaml describes the schema of Synopsys DesignWare USB3
Controller, it directly or indirectly contains "$ref: usb.yaml". So the
node name of "snps,dwc3" must start with "usb". Otherwise, the following
warning will be displayed:

Documentation/devicetree/bindings/usb/fsl,imx8mp-dwc3.example.dt.yaml: \
dwc3@38100000: $nodename:0: 'dwc3@38100000' does not match '^usb(@.*)?'
From schema: Documentation/devicetree/bindings/usb/snps,dwc3.yaml


Zhen Lei (2):
dt-bindings: usb: dwc3-imx8mp: Use the correct name for child node
"snps,dwc3"
arm64: dts: imx8mp: Use the correct name for child node "snps,dwc3"

Documentation/devicetree/bindings/usb/fsl,imx8mp-dwc3.yaml | 9 +++------
arch/arm64/boot/dts/freescale/imx8mp.dtsi | 4 ++--
2 files changed, 5 insertions(+), 8 deletions(-)

--
1.8.3



2021-04-26 01:22:38

by Shawn Guo

[permalink] [raw]
Subject: Re: [PATCH 0/2] dt-bindings: usb: dwc3-imx8mp: Use the correct name for child node "snps,dwc3"

On Mon, Mar 29, 2021 at 03:27:12PM +0800, Zhen Lei wrote:
> File snps,dwc3.yaml describes the schema of Synopsys DesignWare USB3
> Controller, it directly or indirectly contains "$ref: usb.yaml". So the
> node name of "snps,dwc3" must start with "usb". Otherwise, the following
> warning will be displayed:
>
> Documentation/devicetree/bindings/usb/fsl,imx8mp-dwc3.example.dt.yaml: \
> dwc3@38100000: $nodename:0: 'dwc3@38100000' does not match '^usb(@.*)?'
> From schema: Documentation/devicetree/bindings/usb/snps,dwc3.yaml
>
>
> Zhen Lei (2):
> dt-bindings: usb: dwc3-imx8mp: Use the correct name for child node
> "snps,dwc3"
> arm64: dts: imx8mp: Use the correct name for child node "snps,dwc3"

Applied both, thanks.