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

Commit f4bbc33b authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ARM: dts: msm: Add BCL configuration for yupik IDP with PM7250B"

parents fdb43836 8c659779
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -424,7 +424,7 @@
};

&thermal_zones {
	pm7250b_tz {
	pm7250b_temp_alarm: pm7250b_tz {
		polling-delay-passive = <100>;
		polling-delay = <0>;
		thermal-governor = "step_wise";
@@ -440,13 +440,13 @@
			pm7250b_trip1: trip1 {
				temperature = <115000>;
				hysteresis = <0>;
				type = "passive";
				type = "critical";
			};

			trip2 {
			pm7250b_trip2: trip2 {
				temperature = <145000>;
				hysteresis = <0>;
				type = "passive";
				type = "critical";
			};
		};
	};
@@ -535,7 +535,7 @@
		trips {
			socd_trip:socd-trip {
				temperature = <90>;
				hysteresis = <1>;
				hysteresis = <0>;
				type = "passive";
			};
		};
+92 −37
Original line number Diff line number Diff line
@@ -33,6 +33,75 @@
		};
	};

	pm7250b-bcl-lvl0 {
		cooling-maps {
			vbat_cpu4 {
				trip = <&b_bcl_lvl0>;
				cooling-device = <&cpu4_isolate 1 1>;
			};

			vbat_cpu5 {
				trip = <&b_bcl_lvl0>;
				cooling-device = <&cpu5_isolate 1 1>;
			};

			vbat_cpu6 {
				trip = <&b_bcl_lvl0>;
				cooling-device = <&cpu6_isolate 1 1>;
			};

			vbat_cpu7 {
				trip = <&b_bcl_lvl0>;
				cooling-device = <&cpu7_isolate 1 1>;
			};

			vbat_cdsp0 {
				trip = <&b_bcl_lvl0>;
				cooling-device = <&cdsp_sw 2 2>;
			};

			vbat_modem0 {
				trip = <&b_bcl_lvl0>;
				cooling-device = <&modem_pa 2 2>;
			};

			vbat_modem1 {
				trip = <&b_bcl_lvl0>;
				cooling-device = <&modem_tj 1 1>;
			};
		};
	};

	pm7250b-bcl-lvl1 {
		cooling-maps {
			vbat_gpu {
				trip = <&b_bcl_lvl1>;
				cooling-device = <&msm_gpu THERMAL_MAX_LIMIT
							THERMAL_MAX_LIMIT>;
			};

			vbat_cdsp1 {
				trip = <&b_bcl_lvl1>;
				cooling-device = <&cdsp_sw 4 4>;
			};

			vbat_modem2 {
				trip = <&b_bcl_lvl1>;
				cooling-device = <&modem_tj 3 3>;
			};
		};
	};

	pm7250b-bcl-lvl2 {
		cooling-maps {
			vbat_cdsp2 {
				trip = <&b_bcl_lvl2>;
				cooling-device = <&cdsp_sw THERMAL_MAX_LIMIT
							THERMAL_MAX_LIMIT>;
			};
		};
	};

	pm8350c-bcl-lvl0 {
		disable-thermal-zone;
		cooling-maps {
@@ -46,9 +115,14 @@
				cooling-device = <&cpu5_isolate 1 1>;
			};

			vph_gpu0 {
			vph_cpu6 {
				trip = <&c_bcl_lvl0>;
				cooling-device = <&msm_gpu 2 2>;
				cooling-device = <&cpu6_isolate 1 1>;
			};

			vph_cpu7 {
				trip = <&c_bcl_lvl0>;
				cooling-device = <&cpu7_isolate 1 1>;
			};

			vph_cdsp0 {
@@ -56,12 +130,12 @@
				cooling-device = <&cdsp_sw 2 2>;
			};

			vbat_modem0 {
			vph_modem0 {
				trip = <&c_bcl_lvl0>;
				cooling-device = <&modem_pa 2 2>;
			};

			vbat_modem1 {
			vph_modem1 {
				trip = <&c_bcl_lvl0>;
				cooling-device = <&modem_tj 1 1>;
			};
@@ -71,19 +145,10 @@
	pm8350c-bcl-lvl1 {
		disable-thermal-zone;
		cooling-maps {
			vph_cpu6 {
				trip = <&c_bcl_lvl1>;
				cooling-device = <&cpu6_isolate 1 1>;
			};

			vph_cpu7 {
			vph_gpu {
				trip = <&c_bcl_lvl1>;
				cooling-device = <&cpu7_isolate 1 1>;
			};

			vph_gpu1 {
				trip = <&c_bcl_lvl1>;
				cooling-device = <&msm_gpu 4 4>;
				cooling-device = <&msm_gpu THERMAL_MAX_LIMIT
							THERMAL_MAX_LIMIT>;
			};

			vph_cdsp1 {
@@ -91,7 +156,7 @@
				cooling-device = <&cdsp_sw 4 4>;
			};

			vbat_modem0 {
			vph_modem2 {
				trip = <&c_bcl_lvl1>;
				cooling-device = <&modem_tj 3 3>;
			};
@@ -101,12 +166,6 @@
	pm8350c-bcl-lvl2 {
		disable-thermal-zone;
		cooling-maps {
			vph_gpu2 {
				trip = <&c_bcl_lvl2>;
				cooling-device = <&msm_gpu THERMAL_MAX_LIMIT
							THERMAL_MAX_LIMIT>;
			};

			vph_cdsp2 {
				trip = <&c_bcl_lvl2>;
				cooling-device = <&cdsp_sw THERMAL_MAX_LIMIT
@@ -115,27 +174,23 @@
		};
	};

	pm7325_tz {
	pm7250b_tz {
		cooling-maps {
			pm7325_gpu {
				trip = <&pm7325_trip0>;
				cooling-device = <&msm_gpu THERMAL_MAX_LIMIT
			battery_cdev {
				trip = <&pm7250b_trip0>;
				cooling-device = <&battery_charger
							THERMAL_MAX_LIMIT
							THERMAL_MAX_LIMIT>;
			};

			pm7325_cpu1 {
				trip = <&pm7325_trip0>;
				cooling-device = <&cpu1_isolate 1 1>;
		};

			pm7325_cpu2 {
				trip = <&pm7325_trip0>;
				cooling-device = <&cpu2_isolate 1 1>;
	};

			pm7325_cpu3 {
	pm7325_tz {
		cooling-maps {
			pm7325_gpu {
				trip = <&pm7325_trip0>;
				cooling-device = <&cpu3_isolate 1 1>;
				cooling-device = <&msm_gpu THERMAL_MAX_LIMIT
							THERMAL_MAX_LIMIT>;
			};

			pm7325_cpu4 {