diff mbox series

[v2,1/2] arm64: dts: msm8998: Add UFS phy reset

Message ID 57ba143d-eea5-4f8c-10b8-9f45fc9a8001@free.fr (mailing list archive)
State Accepted
Headers show
Series [v2,1/2] arm64: dts: msm8998: Add UFS phy reset | expand

Commit Message

Marc Gonzalez April 1, 2019, 2:38 p.m. UTC
Fixup MSM8998 UFS DT nodes now that Evan's reset series has landed.
https://lore.kernel.org/lkml/20190321171800.104681-1-evgreen@chromium.org/

Signed-off-by: Marc Gonzalez <marc.w.gonzalez@free.fr>
---
 arch/arm64/boot/dts/qcom/msm8998.dtsi | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi
index 893eeaaaedec..1cffa706c909 100644
--- a/arch/arm64/boot/dts/qcom/msm8998.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi
@@ -1085,6 +1085,7 @@ 
 			phy-names = "ufsphy";
 			lanes-per-direction = <2>;
 			power-domains = <&gcc UFS_GDSC>;
+			#reset-cells = <1>;
 
 			clock-names =
 				"core_clk",
@@ -1132,6 +1133,9 @@ 
 				<&gcc GCC_UFS_CLKREF_CLK>,
 				<&gcc GCC_UFS_PHY_AUX_CLK>;
 
+			reset-names = "ufsphy";
+			resets = <&ufshc 0>;
+
 			ufsphy_lanes: lanes@1da7400 {
 				reg = <0x01da7400 0x128>,
 				      <0x01da7600 0x1fc>,