]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
dt-bindings: ufs: exynos-ufs: add io-coherency property
authorChanho Park <chanho61.park@samsung.com>
Mon, 18 Oct 2021 12:42:13 +0000 (21:42 +0900)
committerRob Herring <robh@kernel.org>
Fri, 29 Oct 2021 13:42:03 +0000 (08:42 -0500)
Add "samsung,sysreg" regmap and the offset to the ufs shareability
register for setting io coherency of the samsung ufs. "dma-coherent"
property is also required because the driver code needs to know.

Cc: Rob Herring <robh+dt@kernel.org>
Cc: devicetree@vger.kernel.org
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20211018124216.153072-13-chanho61.park@samsung.com
Documentation/devicetree/bindings/ufs/samsung,exynos-ufs.yaml

index b9ca8ef4f2be5a3e6b026a6f6992c35ac348ed51..691741f9d6c0ef2579d99ada5d1ea72522f776ff 100644 (file)
@@ -54,6 +54,14 @@ properties:
   phy-names:
     const: ufs-phy
 
+  samsung,sysreg:
+    $ref: '/schemas/types.yaml#/definitions/phandle-array'
+    description: Should be phandle/offset pair. The phandle to the syscon node
+                 which indicates the FSYSx sysreg interface and the offset of
+                 the control register for UFS io coherency setting.
+
+  dma-coherent: true
+
 required:
   - compatible
   - reg