[PATCH 1/7] dt-bindings: dmaengine: qcom: gpi: Allow dma-coherent

Konrad Dybcio posted 7 patches 2 years, 3 months ago
[PATCH 1/7] dt-bindings: dmaengine: qcom: gpi: Allow dma-coherent
Posted by Konrad Dybcio 2 years, 3 months ago
On SM8550, the GPI DMA controller is coherent with the CPU.
Allow specifying that.

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
 Documentation/devicetree/bindings/dma/qcom,gpi.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/dma/qcom,gpi.yaml b/Documentation/devicetree/bindings/dma/qcom,gpi.yaml
index f61145c91b6d..88d0de3d1b46 100644
--- a/Documentation/devicetree/bindings/dma/qcom,gpi.yaml
+++ b/Documentation/devicetree/bindings/dma/qcom,gpi.yaml
@@ -69,6 +69,8 @@ properties:
   dma-channel-mask:
     maxItems: 1
 
+  dma-coherent: true
+
 required:
   - compatible
   - reg

-- 
2.42.0
Re: [PATCH 1/7] dt-bindings: dmaengine: qcom: gpi: Allow dma-coherent
Posted by Rob Herring 2 years, 3 months ago
On Wed, 30 Aug 2023 14:48:40 +0200, Konrad Dybcio wrote:
> On SM8550, the GPI DMA controller is coherent with the CPU.
> Allow specifying that.
> 
> Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
> ---
>  Documentation/devicetree/bindings/dma/qcom,gpi.yaml | 2 ++
>  1 file changed, 2 insertions(+)
> 

Acked-by: Rob Herring <robh@kernel.org>