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

Commit d470fc18 authored by Justin Weng's avatar Justin Weng Committed by Cyan_Hsieh
Browse files

Merge "thermal: add thermal sensors for panel audio throttling" into rvc-dev

Change-Id: I9c1acd7469b90189ca111a4150c33600e415c883
Change-Id: I169959a7c94eb2f1056889ae8662217a0db71abf
Change-Id: If7ea28e956c2da6bdf8a25a2c2e935e2226cb0c6
Change-Id: If3fbc0acba4e6faddb2186387ed395c0ddee3d40
Change-Id: Ib7762fc504a7c39fa1947955cb104fd0988e3684
Change-Id: I77b60ee2f375343ac89c99f3e148b04433a3f7b5
parents b16d8e56 04f261ae
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -31,3 +31,7 @@ on property:sys.retaildemo.enabled=1

on property:sys.retaildemo.enabled=0
    write /sys/class/thermal/cdev-by-name/dc_icl/cur_state 0

on late-init
    chown system system /sys/devices/virtual/thermal/tz-by-name/panel-audio-therm/trip_point_0_temp
    chown system system /sys/devices/virtual/thermal/tz-by-name/panel-audio-therm/trip_point_0_hyst
+49 −0
Original line number Diff line number Diff line
@@ -244,6 +244,55 @@
            "VrThreshold":"NAN",
            "Multiplier":0.001,
            "Monitor":true
        },
        {
            "Name":"panel-audio-therm",
            "Type":"UNKNOWN",
            "HotThreshold":[
                "NAN",
                "41.0",
                "NAN",
                "NAN",
                "NAN",
                "NAN",
                "NAN"
            ],
            "HotHysteresis":[
                0.0,
                1.9,
                0.0,
                0.0,
                0.0,
                0.0,
                0.0
            ],
            "VrThreshold":"NAN",
            "Multiplier":0.001,
            "Monitor":true
        },
        {
            "Name":"sdm-therm",
            "Type":"UNKNOWN",
            "HotThreshold":[
                "NAN",
                "NAN",
                "NAN",
                "NAN",
                "NAN",
                "NAN",
                "NAN"
            ],
            "HotHysteresis":[
                0.0,
                0.0,
                0.0,
                0.0,
                0.0,
                0.0,
                0.0
            ],
            "VrThreshold":"NAN",
            "Multiplier":0.001
        }
    ],
    "CoolingDevices":[