diff options
| author | Ryan Leung <untilscour@protonmail.com> | 2026-07-19 02:14:19 +0000 |
|---|---|---|
| committer | Felix Fietkau <nbd@nbd.name> | 2026-07-31 12:25:38 +0000 |
| commit | 313f1a27ebcb8687e3f8629e36631f7c593212eb (patch) | |
| tree | a8da4055554bc6a61a42a78aaf3e1eb56003720b /tools/lib/python/kdoc/python_version.py | |
| parent | 217f9e7bb02558759be9d9ecfe532e9708741c50 (diff) | |
wifi: mt76: mt7915: add thermal zone device registration
Register the mt7915 phy as a thermal zone sensor using
devm_thermal_of_zone_register() so that device tree thermal-zones
nodes can reference the Wi-Fi chip as a temperature source. This
allows the kernel thermal governor to control external cooling
devices such as PWM fans based on Wi-Fi chip temperature.
Registration is non-fatal: -ENODEV is returned when no
thermal-sensors DT property references this device, which is the
expected case on platforms without a thermal zone configured.
Signed-off-by: Ryan Leung <untilscour@protonmail.com>
Link: https://patch.msgid.link/20260719-mt7915-thermal-zone-device-registration-v2-1-0eac68c2741e@protonmail.com
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
