summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Hovold <johan+linaro@kernel.org>2023-01-16 17:42:36 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2023-01-18 18:48:43 -0500
commit85e182b48a33a44f3e0cfe6e7ee9da15baa0afce (patch)
treebb5b4c77b7dcd17843211cb77103fb0187500326
parent54c51253b3d5544943fc3ec072cd0194915bac30 (diff)
downloadlinux-stable-85e182b48a33a44f3e0cfe6e7ee9da15baa0afce.tar.gz
linux-stable-85e182b48a33a44f3e0cfe6e7ee9da15baa0afce.tar.bz2
linux-stable-85e182b48a33a44f3e0cfe6e7ee9da15baa0afce.zip
scsi: ufs: qcom: dt-bindings: Allow 'dma-coherent' property
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>
-rw-r--r--Documentation/devicetree/bindings/ufs/qcom,ufs.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml b/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml
index f2d6298d926c..1f1d286749c0 100644
--- a/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml
+++ b/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml
@@ -44,6 +44,8 @@ properties:
minItems: 8
maxItems: 11
+ dma-coherent: true
+
interconnects:
minItems: 2
maxItems: 2