aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-yocto/workarounds/0001-QCLINUX-arm64-dts-qcom-qcm6490-disable-sdhc1-for-ufs.patch
blob: 4366bc466ba59e0084e50901d3504c84ce74f9e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
From 8f721d3288ce338203da845578ecd356d49a33ef Mon Sep 17 00:00:00 2001
From: Manish Pandey <quic_mapa@quicinc.com>
Date: Fri, 13 Oct 2023 19:38:59 +0530
Subject: [PATCH] QCLINUX: arm64: dts: qcom: qcm6490: disable sdhc1 for ufs
 target

Disable sdhc1 for QCM6490 for ufs boot target to avoid probe
for sdhc1 as vreg_l7b_2p9 is shared regulator for both ufs vcc
and emmc vcc. Currently this is causing probe failure for ufs.

Signed-off-by: Manish Pandey <quic_mapa@quicinc.com>
Signed-off-by: Salendarsingh Gaud <quic_sgaud@quicinc.com>
Signed-off-by: Atul Dhudase <quic_adhudase@quicinc.com>
Upstream-Status: Pending
---
 arch/arm64/boot/dts/qcom/qcm6490-idp.dts | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/qcm6490-idp.dts b/arch/arm64/boot/dts/qcom/qcm6490-idp.dts
index c1845ef64112..970dbceeea17 100644
--- a/arch/arm64/boot/dts/qcom/qcm6490-idp.dts
+++ b/arch/arm64/boot/dts/qcom/qcm6490-idp.dts
@@ -250,6 +250,10 @@ &gpi_dma1 {
 	status = "okay";
 };
 
+&sdhc_1 {
+	status = "disabled";
+};
+
 &pm8350c_pwm {
 	status = "okay";
 };
-- 
2.25.1