Re: [PATCH v3] dt-bindings: usb: Add new compatible string for AM64 SoC

From: Rob Herring
Date: Thu Dec 10 2020 - 22:39:20 EST


On Thu, Dec 10, 2020 at 12:24:50PM +0530, Aswath Govindraju wrote:
> Add compatible string in j721e-usb binding file as the same USB subsystem
> is present in AM64.
>
> Signed-off-by: Aswath Govindraju <a-govindraju@xxxxxx>
> Acked-by: Roger Quadros <rogerq@xxxxxx>
> ---
>
> Changes since v2:
> - added changes done over the versions
>
> Changes since v1:
> - replaced the '\t' at the beginning of the lines with spaces as it was
> causing the dt_binding_check to fail
>
>
> Documentation/devicetree/bindings/usb/ti,j721e-usb.yaml | 7 +++++--
> 1 file changed, 5 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/usb/ti,j721e-usb.yaml b/Documentation/devicetree/bindings/usb/ti,j721e-usb.yaml
> index 388245b91a55..453587f6d304 100644
> --- a/Documentation/devicetree/bindings/usb/ti,j721e-usb.yaml
> +++ b/Documentation/devicetree/bindings/usb/ti,j721e-usb.yaml
> @@ -11,8 +11,11 @@ maintainers:
>
> properties:
> compatible:
> - items:
> - - const: ti,j721e-usb
> + anyOf:
> + - items:
> + - const: ti,j721e-usb
> + - items:
> + - const: ti,am64-usb

compatible:
enum:
- ti,j721e-usb
- ti,am64-usb

>
> reg:
> description: module registers
> --
> 2.17.1
>