Skip to contentSkip to conversation

dt-bindings: usb: snps,dwc3: Add missing 'dma-coherent' property

PATCH Applied Rob Herring 1 participant 2 messages May 26, 2022 – May 31, 2022

Subsystems (2)
lore
Share & tools
lore

Rob Herring

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: usb: snps,dwc3: Add missing 'dma-coherent' property

The 'unevaluatedProperties' schema checks is not fully working and doesn't catch some cases where there's a $ref to another schema. A fix is pending, but results in new warnings in examples.

Some DWC3 implementations such as Xilinx are hooked up coherently and need to set the 'dma-coherent' property.

---
 Documentation/devicetree/bindings/usb/snps,dwc3.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/usb/snps,dwc3.yaml +2 -0
index f4471f8bdbef..d41265ba8ce2 100644
@@ -68,6 +68,8 @@ properties:
         - enum: [bus_early, ref, suspend]
         - true
 
+  dma-coherent: true
+
   iommus:
     maxItems: 1
 
Signature · 1 line
2.34.1
author maintainer Applied
#1 lore raw
Quoted 11 lines · Rob Herring

The 'unevaluatedProperties' schema checks is not fully working and doesn't catch some cases where there's a $ref to another schema. A fix is pending, but results in new warnings in examples.

Some DWC3 implementations such as Xilinx are hooked up coherently and need to set the 'dma-coherent' property.

---
 Documentation/devicetree/bindings/usb/snps,dwc3.yaml | 2 ++
 1 file changed, 2 insertions(+)

Applied, thanks.