lkml.org 
[lkml]   [2019]   [Oct]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v6 05/15] arm: dts: msm8974: thermal: Add thermal zones for each sensor
    Date
    msm8974 has 11 sensors connected to a single TSENS IP. Define a thermal
    zone for each of those sensors to expose the temperature of each zone.

    Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
    Tested-by: Brian Masney <masneyb@onstation.org>
    Reviewed-by: Stephen Boyd <swboyd@chromium.org>
    ---
    arch/arm/boot/dts/qcom-msm8974.dtsi | 90 +++++++++++++++++++++++++++++
    1 file changed, 90 insertions(+)

    diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi
    index 369e58f64145d..33c534370fd5c 100644
    --- a/arch/arm/boot/dts/qcom-msm8974.dtsi
    +++ b/arch/arm/boot/dts/qcom-msm8974.dtsi
    @@ -217,6 +217,96 @@
    };
    };
    };
    +
    + q6-dsp-thermal {
    + polling-delay-passive = <250>;
    + polling-delay = <1000>;
    +
    + thermal-sensors = <&tsens 1>;
    +
    + trips {
    + q6_dsp_alert0: trip-point0 {
    + temperature = <90000>;
    + hysteresis = <2000>;
    + type = "hot";
    + };
    + };
    + };
    +
    + modemtx-thermal {
    + polling-delay-passive = <250>;
    + polling-delay = <1000>;
    +
    + thermal-sensors = <&tsens 2>;
    +
    + trips {
    + modemtx_alert0: trip-point0 {
    + temperature = <90000>;
    + hysteresis = <2000>;
    + type = "hot";
    + };
    + };
    + };
    +
    + video-thermal {
    + polling-delay-passive = <250>;
    + polling-delay = <1000>;
    +
    + thermal-sensors = <&tsens 3>;
    +
    + trips {
    + video_alert0: trip-point0 {
    + temperature = <95000>;
    + hysteresis = <2000>;
    + type = "hot";
    + };
    + };
    + };
    +
    + wlan-thermal {
    + polling-delay-passive = <250>;
    + polling-delay = <1000>;
    +
    + thermal-sensors = <&tsens 4>;
    +
    + trips {
    + wlan_alert0: trip-point0 {
    + temperature = <105000>;
    + hysteresis = <2000>;
    + type = "hot";
    + };
    + };
    + };
    +
    + gpu-thermal-top {
    + polling-delay-passive = <250>;
    + polling-delay = <1000>;
    +
    + thermal-sensors = <&tsens 9>;
    +
    + trips {
    + gpu1_alert0: trip-point0 {
    + temperature = <90000>;
    + hysteresis = <2000>;
    + type = "hot";
    + };
    + };
    + };
    +
    + gpu-thermal-bottom {
    + polling-delay-passive = <250>;
    + polling-delay = <1000>;
    +
    + thermal-sensors = <&tsens 10>;
    +
    + trips {
    + gpu2_alert0: trip-point0 {
    + temperature = <90000>;
    + hysteresis = <2000>;
    + type = "hot";
    + };
    + };
    + };
    };

    cpu-pmu {
    --
    2.17.1
    \
     
     \ /
      Last update: 2019-10-21 12:37    [W:3.956 / U:0.988 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site