# Re: \[PATCH 15/20\] dt-bindings: usb: meson-g12a-usb: Validate DWC2/DWC3 sub-nodes

- From: Rob Herring \<robh@kernel.org\>
- Date: 2020-10-16 18:55:04 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2020/10/6142153
- Thread: https://ratatoskr.run/linux-usb/2020/10/6139571/t.md

```text
On Wed, 14 Oct 2020 13:13:57 +0300, Serge Semin wrote:
> Amlogic G12A USB DT sub-nodes are supposed to be compatible with the
> generic DWC USB2 and USB3 devices. Since now we've got DT schemas for
> both of the later IP cores let's make sure that the Amlogic G12A USB
> DT nodes are fully evaluated including the DWC sub-nodes.
> 
> Signed-off-by: Serge Semin <redacted>
> Reviewed-by: Neil Armstrong <redacted>
> 
> ---
> 
> Changelog v2:
> - Use "oneOf: [dwc2.yaml#, snps,dwc3.yaml#]" instead of the bulky "if:
>   properties: compatibe: ..." statement.
> ---
>  .../devicetree/bindings/usb/amlogic,meson-g12a-usb-ctrl.yaml  | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 

Reviewed-by: Rob Herring <robh@kernel.org>
```
