Skip to contentSkip to conversation

arm64: dts: qcom: sa8775p: mark the UFS controller as dma-coherent

PATCH Applied Bartosz Golaszewski 3 participants 3 messages May 15, 2023 – May 20, 2023

Subsystems (5)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: qcom: sa8775p: mark the UFS controller as dma-coherent

From: Bartosz Golaszewski <[email protected]>

The UFS is cache coherent, so mark it as such in the dtsi.

---
 arch/arm64/boot/dts/qcom/sa8775p.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/qcom/sa8775p.dtsi +1 -0
index c5e2e3256bc4..c0717dac100c 100644
@@ -605,6 +605,7 @@ ufs_mem_hc: ufs@1d84000 {
 			power-domains = <&gcc UFS_PHY_GDSC>;
 			required-opps = <&rpmhpd_opp_nom>;
 			iommus = <&apps_smmu 0x100 0x0>;
+			dma-coherent;
 			clocks = <&gcc GCC_UFS_PHY_AXI_CLK>,
 				 <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>,
 				 <&gcc GCC_UFS_PHY_AHB_CLK>,
Signature · 7 lines
2.39.2


-- 
linux-phy mailing list
[email protected]
https://lists.infradead.org/mailman/listinfo/linux-phy
reviewer Reviewed-by on v1 1/1
#1 lore raw
Quoted 3 lines · Bartosz Golaszewski

From: Bartosz Golaszewski <[email protected]>

The UFS is cache coherent, so mark it as such in the dtsi.

UFS controller

Quoted 2 lines

- Mani

Quoted 19 lines
---
 arch/arm64/boot/dts/qcom/sa8775p.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/qcom/sa8775p.dtsi +1 -0
index c5e2e3256bc4..c0717dac100c 100644
@@ -605,6 +605,7 @@ ufs_mem_hc: ufs@1d84000 {
 			power-domains = <&gcc UFS_PHY_GDSC>;
 			required-opps = <&rpmhpd_opp_nom>;
 			iommus = <&apps_smmu 0x100 0x0>;
+			dma-coherent;
 			clocks = <&gcc GCC_UFS_PHY_AXI_CLK>,
 				 <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>,
 				 <&gcc GCC_UFS_PHY_AHB_CLK>,
Signature · 1 line
2.39.2
Signature · 1 line
மணிவண்ணன் சதாசிவம்