Skip to contentSkip to conversation

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

PATCH In review Grygorii Strashko 2 participants 2 messages Jan 15, 2021 – Jan 19, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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

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]+'

---
 Documentation/devicetree/bindings/usb/ti,j721e-usb.yaml | 4 ++++
 1 file changed, 4 insertions(+)
Documentation/devicetree/bindings/usb/ti,j721e-usb.yaml +4 -0
index 4423f0a29f54..7ec87a783c5c 100644
@@ -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
Signature · 1 line
2.17.1
Acked-by Reviewed-by on v1 1/1
#1 lore raw
Quoted 26 lines · 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]+'

---
 Documentation/devicetree/bindings/usb/ti,j721e-usb.yaml | 4 ++++
 1 file changed, 4 insertions(+)
Documentation/devicetree/bindings/usb/ti,j721e-usb.yaml +2 -0
index 4423f0a29f54..7ec87a783c5c 100644
@@ -21,6 +21,8 @@ properties:
   reg:
     maxItems: 1
 
+  ranges: true
+
   power-domains:
     description:
       PM domain provider node and an args specifier containing

Documentation/devicetree/bindings/usb/ti,j721e-usb.yaml properties: · line 72

Quoted 8 lines
Documentation/devicetree/bindings/usb/ti,j721e-usb.yaml +2 -0
@@ -63,6 +65,8 @@ properties:
   '#size-cells':
     const: 2
 
+  dma-coherent: true
+
 patternProperties:
   "^usb@":
     type: object