aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-yocto/workarounds/0001-PENDING-arm64-dts-qcom-Remove-voltage-vote-support-f.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/linux/linux-yocto/workarounds/0001-PENDING-arm64-dts-qcom-Remove-voltage-vote-support-f.patch')
-rw-r--r--recipes-kernel/linux/linux-yocto/workarounds/0001-PENDING-arm64-dts-qcom-Remove-voltage-vote-support-f.patch49
1 files changed, 49 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-yocto/workarounds/0001-PENDING-arm64-dts-qcom-Remove-voltage-vote-support-f.patch b/recipes-kernel/linux/linux-yocto/workarounds/0001-PENDING-arm64-dts-qcom-Remove-voltage-vote-support-f.patch
new file mode 100644
index 0000000..a2359f6
--- /dev/null
+++ b/recipes-kernel/linux/linux-yocto/workarounds/0001-PENDING-arm64-dts-qcom-Remove-voltage-vote-support-f.patch
@@ -0,0 +1,49 @@
+From 328f42bd030f43574f516906fa0f25fcc5f19c30 Mon Sep 17 00:00:00 2001
+From: Umang Chheda <quic_uchheda@quicinc.com>
+Date: Wed, 11 Oct 2023 20:32:47 +0530
+Subject: [PATCH 1/2] PENDING: arm64: dts: qcom: Remove voltage vote support
+ for UFS for IDP
+
+UFS rails have different voltage requirement for UFS2.x v/s UFS3.x.
+Bootloader sets the proper voltage based on UFS type. There can be
+case where the voltage set by bootloader is overridden by HLOS client.
+
+To prevent above issue, Add change to remove voltage voting support
+for UFS rails.
+
+Signed-off-by: Umang Chheda <quic_uchheda@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 | 14 ++++++++++++++
+ 1 file changed, 14 insertions(+)
+
+diff --git a/arch/arm64/boot/dts/qcom/qcm6490-idp.dts b/arch/arm64/boot/dts/qcom/qcm6490-idp.dts
+index 7f682093e954..5b96b77db0c2 100644
+--- a/arch/arm64/boot/dts/qcom/qcm6490-idp.dts
++++ b/arch/arm64/boot/dts/qcom/qcm6490-idp.dts
+@@ -505,6 +505,20 @@ &usb_1_qmpphy {
+ status = "okay";
+ };
+
++&vreg_l7b_2p952 {
++ /delete-property/regulator-min-microvolt;
++ /delete-property/regulator-max-microvolt;
++ regulator-allow-set-load;
++ regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM RPMH_REGULATOR_MODE_HPM>;
++};
++
++&vreg_l9b_1p2 {
++ /delete-property/regulator-min-microvolt;
++ /delete-property/regulator-max-microvolt;
++ regulator-allow-set-load;
++ regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM RPMH_REGULATOR_MODE_HPM>;
++};
++
+ &wifi {
+ memory-region = <&wlan_fw_mem>;
+ };
+--
+2.25.1
+