* [PATCH] dt-bindings: usb: snps,dwc3: Add missing 'dma-coherent' property
@ 2022-05-26 1:41 Rob Herring
2022-05-31 15:18 ` Rob Herring
0 siblings, 1 reply; 2+ messages in thread
From: Rob Herring @ 2022-05-26 1:41 UTC (permalink / raw)
To: Greg Kroah-Hartman, Krzysztof Kozlowski, Felipe Balbi
Cc: linux-usb, devicetree, linux-kernel
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>
---
Documentation/devicetree/bindings/usb/snps,dwc3.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml
index f4471f8bdbef..d41265ba8ce2 100644
--- a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml
+++ b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml
@@ -68,6 +68,8 @@ properties:
- enum: [bus_early, ref, suspend]
- true
+ dma-coherent: true
+
iommus:
maxItems: 1
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] dt-bindings: usb: snps,dwc3: Add missing 'dma-coherent' property
2022-05-26 1:41 [PATCH] dt-bindings: usb: snps,dwc3: Add missing 'dma-coherent' property Rob Herring
@ 2022-05-31 15:18 ` Rob Herring
0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring @ 2022-05-31 15:18 UTC (permalink / raw)
To: Greg Kroah-Hartman, Krzysztof Kozlowski, Felipe Balbi
Cc: linux-usb, devicetree, linux-kernel
On Wed, May 25, 2022 at 08:41:18PM -0500, Rob Herring wrote:
> 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>
> ---
> Documentation/devicetree/bindings/usb/snps,dwc3.yaml | 2 ++
> 1 file changed, 2 insertions(+)
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-05-31 15:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-26 1:41 [PATCH] dt-bindings: usb: snps,dwc3: Add missing 'dma-coherent' property Rob Herring
2022-05-31 15:18 ` Rob Herring
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).