<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-linux/drivers/thermal/spacemit, branch stable</title>
<subtitle>WireGuard for the Linux kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-linux/atom/drivers/thermal/spacemit?h=stable</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-linux/atom/drivers/thermal/spacemit?h=stable'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/'/>
<updated>2026-08-07T15:18:53Z</updated>
<entry>
<title>thermal/drivers/spacemit: Validate clamped trip thresholds</title>
<updated>2026-08-07T15:18:53Z</updated>
<author>
<name>surendra</name>
<email>kr494167@gmail.com</email>
</author>
<published>2026-07-20T10:36:06Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=68b78ad1e3533c1330dc9b7517947491c1a909c3'/>
<id>urn:sha1:68b78ad1e3533c1330dc9b7517947491c1a909c3</id>
<content type='text'>
k1_tsensor_set_trips() checks the requested trip temperatures before
converting them to the sensor register representation. Distinct
out-of-range temperatures can clamp to the same hardware value, leaving the
sensor with an invalid low/high threshold pair.

Validate the ordering after conversion and clamping.

Fixes: 296a977f2bac ("thermal/drivers/spacemit/k1: Add thermal sensor support")
Signed-off-by: surendra &lt;kr494167@gmail.com&gt;
Signed-off-by: Daniel Lezcano &lt;daniel.lezcano@kernel.org&gt;
Link: https://patch.msgid.link/20260720103606.93924-1-kr494167@gmail.com
</content>
</entry>
<entry>
<title>thermal/drivers/spacemit/k1: Add shutdown action and reorder registration order</title>
<updated>2026-08-07T15:18:39Z</updated>
<author>
<name>Pei Xiao</name>
<email>xiaopei01@kylinos.cn</email>
</author>
<published>2026-07-16T07:04:19Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=9cbf780428ca1102377a228febd5fc4164ea6512'/>
<id>urn:sha1:9cbf780428ca1102377a228febd5fc4164ea6512</id>
<content type='text'>
Add a devm action to clean hardware interrupts, sampling, and control
registers on driver unbind, mirroring what k1_tsensor_init() sets up.

Reorder the registration order within probe(): register the thermal
zones first, then request the IRQ, and register the shutdown action
last.  On removal, the hardware interrupt is disabled first, then the
IRQ is released, and finally the thermal zones are released.  This
avoids the IRQ thread accessing an already unregistered thermal zone
during devres cleanup.

Signed-off-by: Pei Xiao &lt;xiaopei01@kylinos.cn&gt;
Signed-off-by: Daniel Lezcano &lt;daniel.lezcano@kernel.org&gt;
Reviewed-by: Troy Mitchell &lt;troy.mitchell@linux.spacemit.com&gt;
Link: https://patch.msgid.link/1967d2bcc8fede6fbd25fc8eee07f2873fb41472.1784184867.git.xiaopei01@kylinos.cn
</content>
</entry>
<entry>
<title>thermal/drivers/spacemit/k1: Add thermal sensor support</title>
<updated>2026-06-03T07:12:31Z</updated>
<author>
<name>Shuwei Wu</name>
<email>shuwei.wu@mailbox.org</email>
</author>
<published>2026-04-27T07:15:16Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=296a977f2bac45759a427dc57a21edb628f5c86c'/>
<id>urn:sha1:296a977f2bac45759a427dc57a21edb628f5c86c</id>
<content type='text'>
The thermal sensor on K1 supports monitoring five temperature zones.
The driver registers these sensors with the thermal framework
and supports standard operations:
- Reading temperature (millidegree Celsius)
- Setting high/low thresholds for interrupts

Signed-off-by: Shuwei Wu &lt;shuwei.wu@mailbox.org&gt;
Signed-off-by: Daniel Lezcano &lt;daniel.lezcano@kernel.org&gt;
Reviewed-by: Anand Moon &lt;linux.amoon@gmail.com&gt;
Reviewed-by: Troy Mitchell &lt;troy.mitchell@linux.spacemit.com&gt;
Reviewed-by: Yao Zi &lt;me@ziyao.cc&gt;
Tested-by: Anand Moon &lt;linux.amoon@gmail.com&gt;
Tested-by: Vincent Legoll &lt;legoll@online.fr&gt; # OrangePi-RV2
Tested-by: Gong Shuai &lt;gsh517025@gmail.com&gt;
Link: https://patch.msgid.link/20260427-k1-thermal-v5-2-df39187480ed@mailbox.org
</content>
</entry>
</feed>
