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

Commit b9795e11 authored by Manaf Meethalavalappu Pallikunhi's avatar Manaf Meethalavalappu Pallikunhi Committed by Gerrit - the friendly Code Review server
Browse files

drivers: thermal: virtual-sensor: Add new virtual sensor for BENGAL



Add new virtual sensor definition for hepta-cpu-max-step for BENGAL.
This virtual sensor can be used to monitor the overall temperature of
CPU subsystem.

Change-Id: Iaf22102a26a0f0f274adef0f0a09f89007677e89
Signed-off-by: default avatarManaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
parent 12c0afc9
Loading
Loading
Loading
Loading
+12 −1
Original line number Diff line number Diff line
@@ -151,7 +151,18 @@ static const struct virtual_sensor_data qti_virtual_sensors[] = {
				"cpuss-1-usr"},
		.logic = VIRT_MAXIMUM,
	},

	{
		.virt_zone_name = "hepta-cpu-max-step",
		.num_sensors = 7,
		.sensor_names = {"cpu-1-0-usr",
				"cpu-1-1-usr",
				"cpu-1-2-usr",
				"cpu-1-3-usr",
				"cpuss-0-usr",
				"cpuss-1-usr",
				"cpuss-2-usr"},
		.logic = VIRT_MAXIMUM,
	},
};

int qti_virtual_sensor_register(struct device *dev)