Loading qcom/pm5100.dtsi +32 −0 Original line number Diff line number Diff line Loading @@ -38,6 +38,8 @@ compatible = "qcom,spmi-temp-alarm"; reg = <0xa00>; interrupts = <0x0 0xa 0x0 IRQ_TYPE_EDGE_BOTH>; io-channels = <&pm5100_adc PM5100_ADC5_GEN3_DIE_TEMP>; io-channel-names = "thermal"; #thermal-sensor-cells = <0>; }; Loading Loading @@ -156,3 +158,33 @@ }; }; }; &thermal_zones { pm5100_tz { polling-delay-passive = <100>; polling-delay = <0>; thermal-governor = "step_wise"; thermal-sensors = <&pm5100_tz>; wake-capable-sensor; trips { pm5100_trip0: trip0 { temperature = <95000>; hysteresis = <0>; type = "passive"; }; pm5100_trip1: trip1 { temperature = <115000>; hysteresis = <0>; type = "critical"; }; trip2 { temperature = <145000>; hysteresis = <0>; type = "critical"; }; }; }; }; Loading
qcom/pm5100.dtsi +32 −0 Original line number Diff line number Diff line Loading @@ -38,6 +38,8 @@ compatible = "qcom,spmi-temp-alarm"; reg = <0xa00>; interrupts = <0x0 0xa 0x0 IRQ_TYPE_EDGE_BOTH>; io-channels = <&pm5100_adc PM5100_ADC5_GEN3_DIE_TEMP>; io-channel-names = "thermal"; #thermal-sensor-cells = <0>; }; Loading Loading @@ -156,3 +158,33 @@ }; }; }; &thermal_zones { pm5100_tz { polling-delay-passive = <100>; polling-delay = <0>; thermal-governor = "step_wise"; thermal-sensors = <&pm5100_tz>; wake-capable-sensor; trips { pm5100_trip0: trip0 { temperature = <95000>; hysteresis = <0>; type = "passive"; }; pm5100_trip1: trip1 { temperature = <115000>; hysteresis = <0>; type = "critical"; }; trip2 { temperature = <145000>; hysteresis = <0>; type = "critical"; }; }; }; };