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

Commit debcd41d authored by Ram Chandrasekar's avatar Ram Chandrasekar
Browse files

drivers: thermal: virtual-sensor: update the virtual sensor name



Update the virtual sensor names from silver-virt-max-usr and
gold-virt-max-usr to silv-virt-max-step and gold-virt-max-step
respectively.

The name change reflects that the virtual sensors will be using the
step_wise governor instead of userspace governor.

Change-Id: I57de42315f2638c3f4b78ca79d9597b568797d77
Signed-off-by: default avatarRam Chandrasekar <rkumbako@codeaurora.org>
parent b17d98c5
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
@@ -3261,10 +3261,10 @@
			};
		};

		silver-virt-max-usr {
			polling-delay-passive = <100>;
			polling-delay = <100>;
			thermal-governor = "user_space";
		silv-virt-max-step {
			polling-delay-passive = <0>;
			polling-delay = <0>;
			thermal-governor = "step_wise";
			trips {
				silver-trip {
					temperature = <120000>;
@@ -3274,10 +3274,10 @@
			};
		};

		gold-virt-max-usr {
			polling-delay-passive = <100>;
			polling-delay = <100>;
			thermal-governor = "user_space";
		gold-virt-max-step {
			polling-delay-passive = <0>;
			polling-delay = <0>;
			thermal-governor = "step_wise";
			trips {
				gold-trip {
					temperature = <120000>;
+2 −2
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@ static const struct virtual_sensor_data qti_virtual_sensors[] = {
		.logic = VIRT_MAXIMUM,
	},
	{
		.virt_zone_name = "silver-virt-max-usr",
		.virt_zone_name = "silv-virt-max-step",
		.num_sensors = 4,
		.sensor_names = {"cpu0-silver-usr",
				"cpu1-silver-usr",
@@ -38,7 +38,7 @@ static const struct virtual_sensor_data qti_virtual_sensors[] = {
		.logic = VIRT_MAXIMUM,
	},
	{
		.virt_zone_name = "gold-virt-max-usr",
		.virt_zone_name = "gold-virt-max-step",
		.num_sensors = 4,
		.sensor_names = {"cpu0-gold-usr",
				"cpu1-gold-usr",