[PATCH v3 0/4] rework thermal protection

AngeloGioacchino Del Regno angelogioacchino.delregno at collabora.com
Wed Dec 14 03:44:27 PST 2022


Il 14/12/22 03:28, Howard Hsu ha scritto:
> Rework thermal protection with the following changes:
> 1. Send thermal fw commands only after mcu init done.
> 2. Firmware expects to disable thermal protect before reconfiguring thermal protect.
> 3. Send fw commands through mt7915_thermal_temp_store() to update firmware
> temperature directly.
> 4. Add error messages for invalid setting.
> 
> Howard Hsu (4):
>    wifi: mt76: mt7915: call mt7915_mcu_set_thermal_throttling() only
>      after init_work
>    wifi: mt76: mt7915: rework mt7915_mcu_set_thermal_throttling
>    wifi: mt76: mt7915: rework mt7915_thermal_temp_store()
>    wifi: mt76: mt7915: add error message in
>      mt7915_thermal_set_cur_throttle_state()
> 
>   .../net/wireless/mediatek/mt76/mt7915/init.c  | 32 +++++++----
>   .../net/wireless/mediatek/mt76/mt7915/main.c  | 11 ++++
>   .../net/wireless/mediatek/mt76/mt7915/mcu.c   | 54 +++++++++++--------
>   .../wireless/mediatek/mt76/mt7915/mt7915.h    |  6 +++
>   4 files changed, 70 insertions(+), 33 deletions(-)
> 


For the entire series:

Tested-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>



More information about the Linux-mediatek mailing list