]> git.baikalelectronics.ru Git - kernel.git/commitdiff
dt-bindings: usb: snps,dwc3: Add missing 'dma-coherent' property
authorRob Herring <robh@kernel.org>
Thu, 26 May 2022 01:41:18 +0000 (20:41 -0500)
committerRob Herring <robh@kernel.org>
Wed, 1 Jun 2022 02:25:11 +0000 (21:25 -0500)
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.

Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220526014118.2872057-1-robh@kernel.org
Documentation/devicetree/bindings/usb/snps,dwc3.yaml

index f4471f8bdbeffed6957c39581744852bd5cb9e18..d41265ba8ce21198778e00c6ec122d906227e2a8 100644 (file)
@@ -68,6 +68,8 @@ properties:
         - enum: [bus_early, ref, suspend]
         - true
 
+  dma-coherent: true
+
   iommus:
     maxItems: 1