Re: [PATCH] dt-bindings: usb: j721e: add ranges and dma-coherent props

From: Aswath Govindraju
Date: Tue Jan 19 2021 - 07:21:38 EST


On 16/01/21 1:01 am, Grygorii Strashko wrote:
> Add missed 'ranges' and 'dma-coherent' properties as cdns-usb DT nodes has
> child node and DMA IO is coherent on TI K3 J721E/J7200 SoCs.
>
> This also fixes dtbs_check warning:
> cdns-usb@4104000: 'dma-coherent', 'ranges' do not match any of the regexes: '^usb@', 'pinctrl-[0-9]+'
>
> Signed-off-by: Grygorii Strashko <grygorii.strashko@xxxxxx>
> ---
> Documentation/devicetree/bindings/usb/ti,j721e-usb.yaml | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/usb/ti,j721e-usb.yaml b/Documentation/devicetree/bindings/usb/ti,j721e-usb.yaml
> index 4423f0a29f54..7ec87a783c5c 100644
> --- a/Documentation/devicetree/bindings/usb/ti,j721e-usb.yaml
> +++ b/Documentation/devicetree/bindings/usb/ti,j721e-usb.yaml
> @@ -21,6 +21,8 @@ properties:
> reg:
> maxItems: 1
>
> + ranges: true
> +
> power-domains:
> description:
> PM domain provider node and an args specifier containing
> @@ -63,6 +65,8 @@ properties:
> '#size-cells':
> const: 2
>
> + dma-coherent: true
> +
> patternProperties:
> "^usb@":
> type: object
>

Acked-by: Aswath Govindraju <a-govindraju@xxxxxx>
Reviewed-by: Aswath Govindraju <a-govindraju@xxxxxx>