scsi: ufs: qcom: dt-bindings: Allow 'dma-coherent' property
authorJohan Hovold <johan+linaro@kernel.org>
Mon, 16 Jan 2023 16:42:36 +0000 (17:42 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 18 Jan 2023 23:48:43 +0000 (18:48 -0500)
UFS controllers 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.

Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Link: https://lore.kernel.org/r/20230116164236.18958-1-johan+linaro@kernel.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Documentation/devicetree/bindings/ufs/qcom,ufs.yaml

index f2d6298..1f1d286 100644 (file)
@@ -44,6 +44,8 @@ properties:
     minItems: 8
     maxItems: 11
 
+  dma-coherent: true
+
   interconnects:
     minItems: 2
     maxItems: 2