diff mbox series

dt-bindings: usb: j721e: add ranges and dma-coherent props

Message ID 20210115193124.5706-1-grygorii.strashko@ti.com
State New
Headers show
Series dt-bindings: usb: j721e: add ranges and dma-coherent props | expand

Commit Message

Grygorii Strashko Jan. 15, 2021, 7:31 p.m. UTC
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@ti.com>

---
 Documentation/devicetree/bindings/usb/ti,j721e-usb.yaml | 4 ++++
 1 file changed, 4 insertions(+)

-- 
2.17.1

Comments

Aswath Govindraju Jan. 19, 2021, 12:06 p.m. UTC | #1
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@ti.com>

> ---

>  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@ti.com>

Reviewed-by: Aswath Govindraju <a-govindraju@ti.com>
diff mbox series

Patch

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