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

Commit bcda1b34 authored by Ram Chandrasekar's avatar Ram Chandrasekar Committed by Jeevan Shriram
Browse files

ARM: dts: msm: Configure low voltage restricion for msmcobalt



Configure thermal driver to do low voltage restriction for CX,
APSS and graphics rails, when temperature goes below 5 degree C.
This restriction will be cleared if the tsens temperature goes
above 10 degree C.

CRs-Fixed: 1010111
Change-Id: I36a1ba6adb9ce847ae552d904dff1bbd0ce3cb77
Signed-off-by: default avatarRam Chandrasekar <rkumbako@codeaurora.org>
parent 0783f592
Loading
Loading
Loading
Loading
+28 −0
Original line number Diff line number Diff line
@@ -1934,6 +1934,34 @@
						<1 4 &CPU4 &CPU5 &CPU6 &CPU7>;
		clock-names = "osm";
		clocks = <&clock_cpu clk_pwrcl_clk>;

		qcom,vdd-restriction-temp = <5>;
		qcom,vdd-restriction-temp-hysteresis = <10>;

		vdd-dig-supply = <&pmcobalt_s1_floor_level>;
		vdd-gfx-supply = <&gfx_vreg>;

		qcom,vdd-dig-rstr{
			qcom,vdd-rstr-reg = "vdd-dig";
			qcom,levels = <RPM_SMD_REGULATOR_LEVEL_NOM
					RPM_SMD_REGULATOR_LEVEL_TURBO
					RPM_SMD_REGULATOR_LEVEL_TURBO>;
				/* Nominal, Super Turbo, Super Turbo */
			qcom,min-level = <RPM_SMD_REGULATOR_LEVEL_NONE>;
				/* No Request */
		};

		qcom,vdd-gfx-rstr{
			qcom,vdd-rstr-reg = "vdd-gfx";
			qcom,levels = <5 6 6>; /* Nominal, Turbo, Turbo */
			qcom,min-level = <1>; /* No Request */
		};

		msm_thermal_freq: qcom,vdd-apps-rstr{
			qcom,vdd-rstr-reg = "vdd-apps";
			qcom,levels = <1248000>;
			qcom,freq-req;
		};
	};

	qcom,ssc@5c00000 {