mbox series

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

Message ID 20210329072714.2135-1-thunder.leizhen@huawei.com
Headers show
Series dt-bindings: usb: dwc3-imx8mp: Use the correct name for child node "snps,dwc3" | expand

Message

Zhen Lei March 29, 2021, 7:27 a.m. UTC
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

Comments

Rob Herring March 30, 2021, 10:03 p.m. UTC | #1
On Mon, 29 Mar 2021 15:27:13 +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

> 

> In addition, replace "type: object" with "$ref: snps,dwc3.yaml#". Ensure

> that all properties of the child node comply with snps,dwc3.yaml.

> 

> Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>

> ---

>  Documentation/devicetree/bindings/usb/fsl,imx8mp-dwc3.yaml | 9 +++------

>  1 file changed, 3 insertions(+), 6 deletions(-)

> 


Acked-by: Rob Herring <robh@kernel.org>
Shawn Guo April 26, 2021, 1:21 a.m. UTC | #2
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.