dt-bindings: PCI: qcom: Allow 'dma-coherent' property
authorJohan Hovold <johan+linaro@kernel.org>
Mon, 5 Dec 2022 09:45:30 +0000 (10:45 +0100)
committerLorenzo Pieralisi <lpieralisi@kernel.org>
Tue, 6 Dec 2022 12:18:29 +0000 (13:18 +0100)
Devices on some PCIe buses may be cache coherent and must be marked as
such in the devicetree to avoid data corruption.

This is specifically needed on recent Qualcomm platforms like SC8280XP.

Link: https://lore.kernel.org/r/20221205094530.12883-1-johan+linaro@kernel.org
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org>
Acked-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/pci/qcom,pcie.yaml

index 2f851c804bb07596c60532f5f852ba65d07a913b..a5859bb3dc28cd6661c1a014ff7272e8b51f83e5 100644 (file)
@@ -62,6 +62,8 @@ properties:
     minItems: 3
     maxItems: 13
 
+  dma-coherent: true
+
   interconnects:
     maxItems: 2