Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4abca30d authored by Odelu Kukatla's avatar Odelu Kukatla
Browse files

ARM: dts: msm: Add the parent supply for CX GDSC for sdm845/670



CX GDSC has a parent supply which is required to be enabled
before turning on CX GDSC; therefore, specify VDD_CX as the
parent supply for CX GDSC.
Also update the min level for VDD_CX regulator.

Change-Id: If770109a03152e98183930289556d6c3cf6ec497
Signed-off-by: default avatarOdelu Kukatla <okukatla@codeaurora.org>
parent d77ce925
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -212,6 +212,11 @@
	vdd_gfx-supply = <&pm8005_s3_level>;
};

&gpu_cx_gdsc {
	/delete-property/ parent-supply;
	parent-supply = <&pm8005_s1_level>;
};

&gpu_gx_gdsc {
	/delete-property/ parent-supply;
	parent-supply = <&pm8005_s3_level>;
+5 −3
Original line number Diff line number Diff line
/* Copyright (c) 2017, The Linux Foundation. All rights reserved.
/* Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -102,7 +102,8 @@
		pm8005_s1_level: regulator-pm8005-s1-level {
			regulator-name = "pm8005_s1_level";
			qcom,set = <RPMH_REGULATOR_SET_ALL>;
			regulator-min-microvolt = <RPMH_REGULATOR_LEVEL_OFF>;
			regulator-min-microvolt
				= <RPMH_REGULATOR_LEVEL_RETENTION>;
			regulator-max-microvolt = <RPMH_REGULATOR_LEVEL_MAX>;
			qcom,min-dropout-voltage-level = <(-1)>;
		};
@@ -110,7 +111,8 @@
		pm8005_s1_level_ao: regulator-pm8005-s1-level-ao {
			regulator-name = "pm8005_s1_level_ao";
			qcom,set = <RPMH_REGULATOR_SET_ACTIVE>;
			regulator-min-microvolt = <RPMH_REGULATOR_LEVEL_OFF>;
			regulator-min-microvolt
				= <RPMH_REGULATOR_LEVEL_RETENTION>;
			regulator-max-microvolt = <RPMH_REGULATOR_LEVEL_MAX>;
			qcom,min-dropout-voltage-level = <(-1)>;
		};
+4 −2
Original line number Diff line number Diff line
@@ -133,7 +133,8 @@
		pm660l_s3_level: regulator-pm660l-s3-level {
			regulator-name = "pm660l_s3_level";
			qcom,set = <RPMH_REGULATOR_SET_ALL>;
			regulator-min-microvolt = <RPMH_REGULATOR_LEVEL_OFF>;
			regulator-min-microvolt
				= <RPMH_REGULATOR_LEVEL_RETENTION>;
			regulator-max-microvolt = <RPMH_REGULATOR_LEVEL_MAX>;
			qcom,min-dropout-voltage-level = <(-1)>;
		};
@@ -141,7 +142,8 @@
		pm660l_s3_level_ao: regulator-pm660l-s3-level-ao {
			regulator-name = "pm660l_s3_level_ao";
			qcom,set = <RPMH_REGULATOR_SET_ACTIVE>;
			regulator-min-microvolt = <RPMH_REGULATOR_LEVEL_OFF>;
			regulator-min-microvolt
				= <RPMH_REGULATOR_LEVEL_RETENTION>;
			regulator-max-microvolt = <RPMH_REGULATOR_LEVEL_MAX>;
			qcom,min-dropout-voltage-level = <(-1)>;
		};
+1 −0
Original line number Diff line number Diff line
@@ -2969,6 +2969,7 @@
};

&gpu_cx_gdsc {
	parent-supply = <&pm660l_s3_level>;
	status = "ok";
};

+4 −0
Original line number Diff line number Diff line
@@ -265,6 +265,10 @@
	/delete-property/ vdd_mx-supply;
};

&gpu_cx_gdsc {
	/delete-property/ parent-supply;
};

&gpu_gx_gdsc {
	/delete-property/ parent-supply;
};
Loading