devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: usb: j721e: add ranges and dma-coherent props
@ 2021-01-15 19:31 Grygorii Strashko
  2021-01-19 12:06 ` Aswath Govindraju
  0 siblings, 1 reply; 2+ messages in thread
From: Grygorii Strashko @ 2021-01-15 19:31 UTC (permalink / raw)
  To: Rob Herring, Greg Kroah-Hartman, Aswath Govindraju
  Cc: Nishanth Menon, linux-kernel, devicetree, Vignesh Raghavendra,
	linux-usb, Grygorii Strashko

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
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] dt-bindings: usb: j721e: add ranges and dma-coherent props
  2021-01-15 19:31 [PATCH] dt-bindings: usb: j721e: add ranges and dma-coherent props Grygorii Strashko
@ 2021-01-19 12:06 ` Aswath Govindraju
  0 siblings, 0 replies; 2+ messages in thread
From: Aswath Govindraju @ 2021-01-19 12:06 UTC (permalink / raw)
  To: Grygorii Strashko, Rob Herring, Greg Kroah-Hartman
  Cc: Nishanth Menon, linux-kernel, devicetree, Vignesh Raghavendra, linux-usb

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>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-01-19 14:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-15 19:31 [PATCH] dt-bindings: usb: j721e: add ranges and dma-coherent props Grygorii Strashko
2021-01-19 12:06 ` Aswath Govindraju

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).