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

Commit 7d177e01 authored by Manaf Meethalavalappu Pallikunhi's avatar Manaf Meethalavalappu Pallikunhi
Browse files

ARM: dts: msm: Add wakeup capable flag to all thermal zones for sdxprairie



All TSENS and ADC sensor interrupts are wakeup capable. More over all
cooling devices are platform cooling devices and will not loose
mitigation state after suspend resume. So add wakeup capable sensor
flag to all TSENS, ADC sensors and pmic alarm sensor for sdxprairie.
This will ignore post suspend thermal zone re-evaluation for these
thermal zones.

Change-Id: I5970b5add40ff6e23704a7d080ccc2836310cb92
Signed-off-by: default avatarManaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
parent 91aa9b06
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
/*
 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
 * Copyright (c) 2018-2020, 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
@@ -173,6 +173,7 @@
		polling-delay = <0>;
		thermal-governor = "step_wise";
		thermal-sensors = <&pmxprairie_tz>;
		wake-capable-sensor;

		trips {
			pmxprairie_trip0: trip0 {
+6 −1
Original line number Diff line number Diff line
/* Copyright (c) 2019, The Linux Foundation. All rights reserved.
/* Copyright (c) 2019-2020, 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
@@ -143,6 +143,7 @@
		polling-delay = <0>;
		thermal-sensors = <&pmxprairie_adc_tm_iio ADC_XO_THERM_PU2>;
		thermal-governor = "user_space";
		wake-capable-sensor;
	};

	pa-therm1-usr {
@@ -150,6 +151,7 @@
		polling-delay = <0>;
		thermal-sensors = <&pmxprairie_adc_tm_iio ADC_AMUX_THM1_PU2>;
		thermal-governor = "user_space";
		wake-capable-sensor;
	};

	pa-therm2-usr {
@@ -157,6 +159,7 @@
		polling-delay = <0>;
		thermal-sensors = <&pmxprairie_adc_tm_iio ADC_AMUX_THM2_PU2>;
		thermal-governor = "user_space";
		wake-capable-sensor;
	};

	sdx-case-therm-usr {
@@ -164,6 +167,7 @@
		polling-delay = <0>;
		thermal-sensors = <&pmxprairie_adc_tm_iio ADC_AMUX_THM3_PU2>;
		thermal-governor = "user_space";
		wake-capable-sensor;
	};

	ambient-therm-usr {
@@ -171,6 +175,7 @@
		polling-delay = <0>;
		thermal-sensors = <&pmxprairie_adc_tm_iio ADC_GPIO1_PU2>;
		thermal-governor = "user_space";
		wake-capable-sensor;
	};
};
+6 −1
Original line number Diff line number Diff line
/* Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
/* Copyright (c) 2018-2020, 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
@@ -143,6 +143,7 @@
		polling-delay = <0>;
		thermal-sensors = <&pmxprairie_adc_tm_iio ADC_XO_THERM_PU2>;
		thermal-governor = "user_space";
		wake-capable-sensor;
	};

	pa-therm1-usr {
@@ -150,6 +151,7 @@
		polling-delay = <0>;
		thermal-sensors = <&pmxprairie_adc_tm_iio ADC_AMUX_THM1_PU2>;
		thermal-governor = "user_space";
		wake-capable-sensor;
	};

	pa-therm2-usr {
@@ -157,6 +159,7 @@
		polling-delay = <0>;
		thermal-sensors = <&pmxprairie_adc_tm_iio ADC_AMUX_THM2_PU2>;
		thermal-governor = "user_space";
		wake-capable-sensor;
	};

	sdx-case-therm-usr {
@@ -164,6 +167,7 @@
		polling-delay = <0>;
		thermal-sensors = <&pmxprairie_adc_tm_iio ADC_AMUX_THM3_PU2>;
		thermal-governor = "user_space";
		wake-capable-sensor;
	};

	ambient-therm-usr {
@@ -171,6 +175,7 @@
		polling-delay = <0>;
		thermal-sensors = <&pmxprairie_adc_tm_iio ADC_GPIO1_PU2>;
		thermal-governor = "user_space";
		wake-capable-sensor;
	};
};

+6 −1
Original line number Diff line number Diff line
/* Copyright (c) 2019, The Linux Foundation. All rights reserved.
/* Copyright (c) 2019-2020, 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
@@ -143,6 +143,7 @@
		polling-delay = <0>;
		thermal-sensors = <&pmxprairie_adc_tm_iio ADC_XO_THERM_PU2>;
		thermal-governor = "user_space";
		wake-capable-sensor;
	};

	pa-therm1-usr {
@@ -150,6 +151,7 @@
		polling-delay = <0>;
		thermal-sensors = <&pmxprairie_adc_tm_iio ADC_AMUX_THM1_PU2>;
		thermal-governor = "user_space";
		wake-capable-sensor;
	};

	pa-therm2-usr {
@@ -157,6 +159,7 @@
		polling-delay = <0>;
		thermal-sensors = <&pmxprairie_adc_tm_iio ADC_AMUX_THM2_PU2>;
		thermal-governor = "user_space";
		wake-capable-sensor;
	};

	sdx-case-therm-usr {
@@ -164,6 +167,7 @@
		polling-delay = <0>;
		thermal-sensors = <&pmxprairie_adc_tm_iio ADC_AMUX_THM3_PU2>;
		thermal-governor = "user_space";
		wake-capable-sensor;
	};

	ambient-therm-usr {
@@ -171,6 +175,7 @@
		polling-delay = <0>;
		thermal-sensors = <&pmxprairie_adc_tm_iio ADC_GPIO1_PU2>;
		thermal-governor = "user_space";
		wake-capable-sensor;
	};
};

+6 −1
Original line number Diff line number Diff line
/* Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
/* Copyright (c) 2018-2020, 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
@@ -143,6 +143,7 @@
		polling-delay = <0>;
		thermal-sensors = <&pmxprairie_adc_tm_iio ADC_XO_THERM_PU2>;
		thermal-governor = "user_space";
		wake-capable-sensor;
	};

	pa-therm1-usr {
@@ -150,6 +151,7 @@
		polling-delay = <0>;
		thermal-sensors = <&pmxprairie_adc_tm_iio ADC_AMUX_THM1_PU2>;
		thermal-governor = "user_space";
		wake-capable-sensor;
	};

	pa-therm2-usr {
@@ -157,6 +159,7 @@
		polling-delay = <0>;
		thermal-sensors = <&pmxprairie_adc_tm_iio ADC_AMUX_THM2_PU2>;
		thermal-governor = "user_space";
		wake-capable-sensor;
	};

	sdx-case-therm-usr {
@@ -164,6 +167,7 @@
		polling-delay = <0>;
		thermal-sensors = <&pmxprairie_adc_tm_iio ADC_AMUX_THM3_PU2>;
		thermal-governor = "user_space";
		wake-capable-sensor;
	};

	ambient-therm-usr {
@@ -171,6 +175,7 @@
		polling-delay = <0>;
		thermal-sensors = <&pmxprairie_adc_tm_iio ADC_GPIO1_PU2>;
		thermal-governor = "user_space";
		wake-capable-sensor;
	};
};

Loading