<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-dev/drivers/thermal/st, branch master</title>
<subtitle>Linux kernel development work - see feature branches</subtitle>
<id>https://git.zx2c4.com/linux-dev/atom/drivers/thermal/st?h=master</id>
<link rel='self' href='https://git.zx2c4.com/linux-dev/atom/drivers/thermal/st?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/'/>
<updated>2022-08-17T12:09:38Z</updated>
<entry>
<title>thermal/drivers/st: Switch to new of API</title>
<updated>2022-08-17T12:09:38Z</updated>
<author>
<name>Daniel Lezcano</name>
<email>daniel.lezcano@linexp.org</email>
</author>
<published>2022-08-04T22:43:28Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=7e96f35408b6b196a3dc20db757878a7d26bf02d'/>
<id>urn:sha1:7e96f35408b6b196a3dc20db757878a7d26bf02d</id>
<content type='text'>
The thermal OF code has a new API allowing to migrate the OF
initialization to a simpler approach. The ops are no longer device
tree specific and are the generic ones provided by the core code.

Convert the ops to the thermal_zone_device_ops format and use the new
API to register the thermal zone with these generic ops.

Signed-off-by: Daniel Lezcano &lt;daniel.lezcano@linexp.org&gt;
Link: https://lore.kernel.org/r/20220804224349.1926752-13-daniel.lezcano@linexp.org
Signed-off-by: Daniel Lezcano &lt;daniel.lezcano@linaro.org&gt;
</content>
</entry>
<entry>
<title>thermal/drivers/st: Use devm_platform_get_and_ioremap_resource()</title>
<updated>2021-06-14T17:01:15Z</updated>
<author>
<name>Yang Yingliang</name>
<email>yangyingliang@huawei.com</email>
</author>
<published>2021-06-05T12:02:05Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=d7539260cd9ad9c18eaf2a1ff71401abdbdfb5cb'/>
<id>urn:sha1:d7539260cd9ad9c18eaf2a1ff71401abdbdfb5cb</id>
<content type='text'>
Use devm_platform_get_and_ioremap_resource() to simplify
code and remove error message which within
devm_platform_get_and_ioremap_resource() already.

Signed-off-by: Yang Yingliang &lt;yangyingliang@huawei.com&gt;
Signed-off-by: Daniel Lezcano &lt;daniel.lezcano@linaro.org&gt;
Link: https://lore.kernel.org/r/20210605120205.2459578-1-yangyingliang@huawei.com
</content>
</entry>
<entry>
<title>thermal: stm32: simplify the return expression of stm_thermal_prepare()</title>
<updated>2020-10-12T10:08:35Z</updated>
<author>
<name>Qinglang Miao</name>
<email>miaoqinglang@huawei.com</email>
</author>
<published>2020-09-21T13:11:07Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=be52a1963f8333a0ca1bba3d3c28e6332114432a'/>
<id>urn:sha1:be52a1963f8333a0ca1bba3d3c28e6332114432a</id>
<content type='text'>
Simplify the return expression.

Signed-off-by: Qinglang Miao &lt;miaoqinglang@huawei.com&gt;
Signed-off-by: Daniel Lezcano &lt;daniel.lezcano@linaro.org&gt;
Link: https://lore.kernel.org/r/20200921131107.93273-1-miaoqinglang@huawei.com
</content>
</entry>
<entry>
<title>drivers: thermal: Kconfig: fix spelling mistake "acces" -&gt; "access"</title>
<updated>2020-10-12T10:08:34Z</updated>
<author>
<name>Colin Ian King</name>
<email>colin.king@canonical.com</email>
</author>
<published>2020-08-10T08:27:39Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=c071cde00bd52a0b8ca0024eb8b5dbe2430c2c3c'/>
<id>urn:sha1:c071cde00bd52a0b8ca0024eb8b5dbe2430c2c3c</id>
<content type='text'>
There is a spelling mistake in the Kconfig text, fix it.

Signed-off-by: Colin Ian King &lt;colin.king@canonical.com&gt;
Signed-off-by: Daniel Lezcano &lt;daniel.lezcano@linaro.org&gt;
Link: https://lore.kernel.org/r/20200810082739.48007-1-colin.king@canonical.com
</content>
</entry>
<entry>
<title>thermal: Explicitly enable non-changing thermal zone devices</title>
<updated>2020-06-29T18:26:37Z</updated>
<author>
<name>Andrzej Pietrasiewicz</name>
<email>andrzej.p@collabora.com</email>
</author>
<published>2020-06-29T12:29:22Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=bbcf90c0646ac797700269fa6645a6a46466c79f'/>
<id>urn:sha1:bbcf90c0646ac797700269fa6645a6a46466c79f</id>
<content type='text'>
Some thermal zone devices never change their state, so they should be
always enabled.

Signed-off-by: Andrzej Pietrasiewicz &lt;andrzej.p@collabora.com&gt;
Reviewed-by: Bartlomiej Zolnierkiewicz &lt;b.zolnierkie@samsung.com&gt;
Signed-off-by: Daniel Lezcano &lt;daniel.lezcano@linaro.org&gt;
Link: https://lore.kernel.org/r/20200629122925.21729-9-andrzej.p@collabora.com
</content>
</entry>
<entry>
<title>thermal: Delete an error message in four functions</title>
<updated>2020-04-14T09:41:12Z</updated>
<author>
<name>Markus Elfring</name>
<email>elfring@users.sourceforge.net</email>
</author>
<published>2020-04-05T16:35:16Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=8cb775bb005c568857ba7909a1c5a297ed4c33ee'/>
<id>urn:sha1:8cb775bb005c568857ba7909a1c5a297ed4c33ee</id>
<content type='text'>
The function “platform_get_irq” can log an error already.
Thus omit redundant messages for the exception handling in the
calling functions.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring &lt;elfring@users.sourceforge.net&gt;
Reviewed-by: Amit Kucheria &lt;amit.kucheria@linaro.org&gt;
Reviewed-by: Keerthy &lt;j-keerthy@ti.com&gt;
Signed-off-by: Daniel Lezcano &lt;daniel.lezcano@linaro.org&gt;
Link: https://lore.kernel.org/r/05f49ae7-5cc7-d6a0-fc3d-abaf2a0b373c@web.de
</content>
</entry>
<entry>
<title>thermal/x86_pkg_temp: Make pkg_temp_lock a raw_spinlock_t</title>
<updated>2020-03-21T09:01:02Z</updated>
<author>
<name>Clark Williams</name>
<email>williams@redhat.com</email>
</author>
<published>2019-10-08T11:00:21Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=afa58b49ac52dff053e1bb363a425f09dbebc0a3'/>
<id>urn:sha1:afa58b49ac52dff053e1bb363a425f09dbebc0a3</id>
<content type='text'>
The spinlock pkg_temp_lock has the potential of being taken in atomic
context because it can be acquired from the thermal IRQ vector.
It's static and limited scope so go ahead and make it a raw spinlock.

Signed-off-by: Clark Williams &lt;williams@redhat.com&gt;
Signed-off-by: Sebastian Andrzej Siewior &lt;bigeasy@linutronix.de&gt;
Signed-off-by: Zhang Rui &lt;rui.zhang@intel.com&gt;
Signed-off-by: Daniel Lezcano &lt;daniel.lezcano@linaro.org&gt;
Link: https://lore.kernel.org/r/20191008110021.2j44ayunal7fkb7i@linutronix.de
</content>
</entry>
<entry>
<title>thermal: stm32: fix spelling mistake "preprare" -&gt; "prepare"</title>
<updated>2020-01-31T09:52:13Z</updated>
<author>
<name>Colin Ian King</name>
<email>colin.king@canonical.com</email>
</author>
<published>2020-01-30T10:05:37Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=8c173d5e044d7e7fc9f6070c0fc1c79c0f8256a6'/>
<id>urn:sha1:8c173d5e044d7e7fc9f6070c0fc1c79c0f8256a6</id>
<content type='text'>
There is a spelling mistake in a dev_err error message. Fix it.

Signed-off-by: Colin Ian King &lt;colin.king@canonical.com&gt;
Signed-off-by: Daniel Lezcano &lt;daniel.lezcano@linaro.org&gt;
Link: https://lore.kernel.org/r/20200130100537.18069-1-colin.king@canonical.com
</content>
</entry>
<entry>
<title>thermal: stm32: Fix low threshold interrupt flood</title>
<updated>2020-01-27T14:40:26Z</updated>
<author>
<name>Pascal Paillet</name>
<email>p.paillet@st.com</email>
</author>
<published>2020-01-10T10:16:05Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=2f23e319b133c7392493e77f515a237c8e1e6dd6'/>
<id>urn:sha1:2f23e319b133c7392493e77f515a237c8e1e6dd6</id>
<content type='text'>
With the STM32 thermal peripheral, it is not possible to dump the
temperature that has caused the interrupt.
When the temperature reaches the low threshold, we generally read
a temperature that is a little bit higher than the low threshold.
This maybe due to sampling precision, and also because the CPU becomes
hotter when it quits WFI mode.
In that case, the framework does not change the trip points. This leads
to a lot of low threshold interrupts.

The fix is to set the low threshold value 0.5 degrees Celsius
below the actual request.

The problem is not so frequent with the high threshold and it would
no be a good idea to set the threshold value higher than the request.

Signed-off-by: Pascal Paillet &lt;p.paillet@st.com&gt;
Signed-off-by: Daniel Lezcano &lt;daniel.lezcano@linaro.org&gt;
Link: https://lore.kernel.org/r/20200110101605.24984-7-p.paillet@st.com
</content>
</entry>
<entry>
<title>thermal: stm32: Improve temperature computing</title>
<updated>2020-01-27T14:40:21Z</updated>
<author>
<name>Pascal Paillet</name>
<email>p.paillet@st.com</email>
</author>
<published>2020-01-10T10:16:04Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=9d8593f22ea33a88f89075b14fc58a95fc15b8ae'/>
<id>urn:sha1:9d8593f22ea33a88f89075b14fc58a95fc15b8ae</id>
<content type='text'>
Change the way of computing to avoid rounds by 1 or 2 degrees.
Also simplify the sampling time management that is hard-coded
to maximum value during probe.

Signed-off-by: Pascal Paillet &lt;p.paillet@st.com&gt;
Signed-off-by: Daniel Lezcano &lt;daniel.lezcano@linaro.org&gt;
Link: https://lore.kernel.org/r/20200110101605.24984-6-p.paillet@st.com
</content>
</entry>
</feed>
