mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-11-08 11:45:53 -05:00
Add an SPMI PMIC arbiter device so that it is possible to communicate with PMICs attached to the SPMI bus and also add top level slave devices and their peripherals. Change-Id: If999da320e3212e787af6d22ceed562b808cf690
115 lines
2 KiB
Devicetree
115 lines
2 KiB
Devicetree
#include "pm8540.dtsi"
|
|
|
|
&thermal_zones {
|
|
pm8540_1_temp_alarm: pm8540_1_tz {
|
|
polling-delay-passive = <100>;
|
|
polling-delay = <0>;
|
|
thermal-governor = "step_wise";
|
|
thermal-sensors = <&pm8540_1_tz>;
|
|
wake-capable-sensor;
|
|
|
|
trips {
|
|
pm8540_1_trip0: trip0 {
|
|
temperature = <105000>;
|
|
hysteresis = <0>;
|
|
type = "passive";
|
|
};
|
|
|
|
pm8540_1_trip1: trip1 {
|
|
temperature = <125000>;
|
|
hysteresis = <0>;
|
|
type = "critical";
|
|
};
|
|
|
|
trip2 {
|
|
temperature = <155000>;
|
|
hysteresis = <0>;
|
|
type = "critical";
|
|
};
|
|
};
|
|
};
|
|
|
|
pm8540_2_temp_alarm: pm8540_2_tz {
|
|
polling-delay-passive = <100>;
|
|
polling-delay = <0>;
|
|
thermal-governor = "step_wise";
|
|
thermal-sensors = <&pm8540_2_tz>;
|
|
wake-capable-sensor;
|
|
|
|
trips {
|
|
pm8540_2_trip0: trip0 {
|
|
temperature = <105000>;
|
|
hysteresis = <0>;
|
|
type = "passive";
|
|
};
|
|
|
|
pm8540_2_trip1: trip1 {
|
|
temperature = <125000>;
|
|
hysteresis = <0>;
|
|
type = "critical";
|
|
};
|
|
|
|
trip2 {
|
|
temperature = <155000>;
|
|
hysteresis = <0>;
|
|
type = "critical";
|
|
};
|
|
};
|
|
};
|
|
|
|
pm8540_3_temp_alarm: pm8540_3_tz {
|
|
polling-delay-passive = <100>;
|
|
polling-delay = <0>;
|
|
thermal-governor = "step_wise";
|
|
thermal-sensors = <&pm8540_3_tz>;
|
|
wake-capable-sensor;
|
|
|
|
trips {
|
|
pm8540_3_trip0: trip0 {
|
|
temperature = <105000>;
|
|
hysteresis = <0>;
|
|
type = "passive";
|
|
};
|
|
|
|
pm8540_3_trip1: trip1 {
|
|
temperature = <125000>;
|
|
hysteresis = <0>;
|
|
type = "critical";
|
|
};
|
|
|
|
trip2 {
|
|
temperature = <155000>;
|
|
hysteresis = <0>;
|
|
type = "critical";
|
|
};
|
|
};
|
|
};
|
|
|
|
pm8540_4_temp_alarm: pm8540_4_tz {
|
|
polling-delay-passive = <100>;
|
|
polling-delay = <0>;
|
|
thermal-governor = "step_wise";
|
|
thermal-sensors = <&pm8540_4_tz>;
|
|
wake-capable-sensor;
|
|
|
|
trips {
|
|
pm8540_4_trip0: trip0 {
|
|
temperature = <105000>;
|
|
hysteresis = <0>;
|
|
type = "passive";
|
|
};
|
|
|
|
pm8540_4_trip1: trip1 {
|
|
temperature = <125000>;
|
|
hysteresis = <0>;
|
|
type = "critical";
|
|
};
|
|
|
|
trip2 {
|
|
temperature = <155000>;
|
|
hysteresis = <0>;
|
|
type = "critical";
|
|
};
|
|
};
|
|
};
|
|
};
|