mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
Merge "ARM: dts: msm: Add thermal zone entries for pm8195"
This commit is contained in:
commit
d6ba780f2b
4 changed files with 94 additions and 17 deletions
|
|
@ -139,25 +139,24 @@
|
|||
polling-delay = <0>;
|
||||
thermal-governor = "step_wise";
|
||||
thermal-sensors = <&pm8150_tz>;
|
||||
wake-capable-sensor;
|
||||
|
||||
trips {
|
||||
pm8150_trip0: trip0 {
|
||||
temperature = <95000>;
|
||||
temperature = <105000>;
|
||||
hysteresis = <0>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
pm8150_trip1: trip1 {
|
||||
temperature = <115000>;
|
||||
temperature = <125000>;
|
||||
hysteresis = <0>;
|
||||
type = "passive";
|
||||
type = "critical";
|
||||
};
|
||||
|
||||
trip2 {
|
||||
temperature = <145000>;
|
||||
temperature = <155000>;
|
||||
hysteresis = <0>;
|
||||
type = "passive";
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
io-channels = <&pm8195_1_vadc ADC5_DIE_TEMP>;
|
||||
io-channel-names = "thermal";
|
||||
#thermal-sensor-cells = <0>;
|
||||
qcom,temperature-threshold-set = <1>;
|
||||
};
|
||||
|
||||
pm8195_1_vadc: vadc@3100 {
|
||||
|
|
@ -136,7 +135,6 @@
|
|||
io-channels = <&pm8195_2_vadc ADC5_DIE_TEMP>;
|
||||
io-channel-names = "thermal";
|
||||
#thermal-sensor-cells = <0>;
|
||||
qcom,temperature-threshold-set = <1>;
|
||||
};
|
||||
|
||||
pm8195_2_vadc: vadc@3100 {
|
||||
|
|
@ -216,7 +214,6 @@
|
|||
io-channels = <&pm8195_3_vadc ADC5_DIE_TEMP>;
|
||||
io-channel-names = "thermal";
|
||||
#thermal-sensor-cells = <0>;
|
||||
qcom,temperature-threshold-set = <1>;
|
||||
};
|
||||
|
||||
pm8195_3_vadc: vadc@3100 {
|
||||
|
|
|
|||
|
|
@ -30,11 +30,10 @@ pm8150_1_gpios: &pm8150_gpios {
|
|||
pm8150_2_tz: qcom,temp-alarm@2400 {
|
||||
compatible = "qcom,spmi-temp-alarm";
|
||||
reg = <0x2400>;
|
||||
interrupts = <0x4 0x24 0x0 IRQ_TYPE_EDGE_RISING>;
|
||||
interrupts = <0x4 0x24 0x0 IRQ_TYPE_EDGE_BOTH>;
|
||||
io-channels = <&pm8150_2_vadc ADC5_DIE_TEMP>;
|
||||
io-channel-names = "thermal";
|
||||
#thermal-sensor-cells = <0>;
|
||||
qcom,temperature-threshold-set = <1>;
|
||||
};
|
||||
|
||||
qcom,power-on@800 {
|
||||
|
|
@ -142,25 +141,24 @@ pm8150_1_gpios: &pm8150_gpios {
|
|||
polling-delay = <0>;
|
||||
thermal-governor = "step_wise";
|
||||
thermal-sensors = <&pm8150_2_tz>;
|
||||
wake-capable-sensor;
|
||||
|
||||
trips {
|
||||
pm8150_2_trip0: trip0 {
|
||||
temperature = <95000>;
|
||||
temperature = <105000>;
|
||||
hysteresis = <0>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
pm8150_2_trip1: trip1 {
|
||||
temperature = <115000>;
|
||||
temperature = <125000>;
|
||||
hysteresis = <0>;
|
||||
type = "passive";
|
||||
type = "critical";
|
||||
};
|
||||
|
||||
trip2 {
|
||||
temperature = <145000>;
|
||||
temperature = <155000>;
|
||||
hysteresis = <0>;
|
||||
type = "passive";
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -70,3 +70,86 @@
|
|||
|
||||
#include "sa8195p-regulator.dtsi"
|
||||
#include "pm8195.dtsi"
|
||||
|
||||
&thermal_zones {
|
||||
pm8195_1_temp_alarm: pm8195_1_tz {
|
||||
polling-delay-passive = <100>;
|
||||
polling-delay = <0>;
|
||||
thermal-governor = "step_wise";
|
||||
thermal-sensors = <&pm8195_1_tz>;
|
||||
|
||||
trips {
|
||||
pm8195_1_trip0: trip0 {
|
||||
temperature = <105000>;
|
||||
hysteresis = <0>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
pm8195_1_trip1: trip1 {
|
||||
temperature = <125000>;
|
||||
hysteresis = <0>;
|
||||
type = "critical";
|
||||
};
|
||||
|
||||
trip2 {
|
||||
temperature = <155000>;
|
||||
hysteresis = <0>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pm8195_2_temp_alarm: pm8195_2_tz {
|
||||
polling-delay-passive = <100>;
|
||||
polling-delay = <0>;
|
||||
thermal-governor = "step_wise";
|
||||
thermal-sensors = <&pm8195_2_tz>;
|
||||
|
||||
trips {
|
||||
pm8195_2_trip0: trip0 {
|
||||
temperature = <105000>;
|
||||
hysteresis = <0>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
pm8195_2_trip1: trip1 {
|
||||
temperature = <125000>;
|
||||
hysteresis = <0>;
|
||||
type = "critical";
|
||||
};
|
||||
|
||||
trip2 {
|
||||
temperature = <155000>;
|
||||
hysteresis = <0>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pm8195_3_temp_alarm: pm8195_3_tz {
|
||||
polling-delay-passive = <100>;
|
||||
polling-delay = <0>;
|
||||
thermal-governor = "step_wise";
|
||||
thermal-sensors = <&pm8195_3_tz>;
|
||||
|
||||
trips {
|
||||
pm8195_3_trip0: trip0 {
|
||||
temperature = <105000>;
|
||||
hysteresis = <0>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
pm8195_3_trip1: trip1 {
|
||||
temperature = <125000>;
|
||||
hysteresis = <0>;
|
||||
type = "critical";
|
||||
};
|
||||
|
||||
trip2 {
|
||||
temperature = <155000>;
|
||||
hysteresis = <0>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue