<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/thermal, branch v2020.07-rc2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/drivers/thermal?h=v2020.07-rc2</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/thermal?h=v2020.07-rc2'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2020-05-10T18:55:20Z</updated>
<entry>
<title>thermal: imx_tmu: support i.MX8MP</title>
<updated>2020-05-10T18:55:20Z</updated>
<author>
<name>Peng Fan</name>
<email>peng.fan@nxp.com</email>
</author>
<published>2020-05-03T14:19:51Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=634fe73eedb9551a13296f356afae67539583f17'/>
<id>urn:sha1:634fe73eedb9551a13296f356afae67539583f17</id>
<content type='text'>
Support i.MX8MP thermal which has two probes and supports
temperature range from -40 to 125. Still uses default 1p HW
calibration at 25C and loads calibration parameters from fuse.

Signed-off-by: Ye Li &lt;ye.li@nxp.com&gt;
Signed-off-by: Peng Fan &lt;peng.fan@nxp.com&gt;
</content>
</entry>
<entry>
<title>thermal: imx_tmu: Check the TEMP range for iMX8MM</title>
<updated>2020-05-10T18:55:20Z</updated>
<author>
<name>Peng Fan</name>
<email>peng.fan@nxp.com</email>
</author>
<published>2020-05-03T14:19:50Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=951bf19dae2198c7684e4bb3f1eae10ba60d3677'/>
<id>urn:sha1:951bf19dae2198c7684e4bb3f1eae10ba60d3677</id>
<content type='text'>
On iMX8MM, the V flag in TRISTR register only reflect the state of SNSR
value, not the calibrated TEMP value. So checking this flag is not
reliable. Per IC suggestion, change to read the TEMP/AVG_TEMP directly
and check whether it in valid range 10-125C.

Signed-off-by: Ye Li &lt;ye.li@nxp.com&gt;
Signed-off-by: Peng Fan &lt;peng.fan@nxp.com&gt;
</content>
</entry>
<entry>
<title>thermal: imx_tmu: Fix for temperature out of range</title>
<updated>2020-05-10T18:55:20Z</updated>
<author>
<name>Peng Fan</name>
<email>peng.fan@nxp.com</email>
</author>
<published>2020-05-03T14:19:49Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=b5447b98f24784459225ea0cc2729b1cdb1e3136'/>
<id>urn:sha1:b5447b98f24784459225ea0cc2729b1cdb1e3136</id>
<content type='text'>
When the temperature is out of sensor's range, the Valid bit won't be
set in TRITSR register. So the polling loop won't go out.

Change the codes to retry 10 times with 100ms interval for the Valid bit.
If the timeout, we give a warning for the invalid data.

Modifed from Ye's NXP patch

Signed-off-by: Peng Fan &lt;peng.fan@nxp.com&gt;
</content>
</entry>
<entry>
<title>thermal: imx_tmu: support TMU arch level initialization</title>
<updated>2020-05-10T18:55:20Z</updated>
<author>
<name>Peng Fan</name>
<email>peng.fan@nxp.com</email>
</author>
<published>2020-05-03T14:19:48Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=84897408c688e3d3962e8cd7e92f3ad99c17005d'/>
<id>urn:sha1:84897408c688e3d3962e8cd7e92f3ad99c17005d</id>
<content type='text'>
i.MX8MM TMU needs to load some registers from fuse, this is arch
dependent operation and may vary on different platforms. So add
a interface for arch level initialization.

Signed-off-by: Peng Fan &lt;peng.fan@nxp.com&gt;
</content>
</entry>
<entry>
<title>thermal: imx_tmu: Add support for thermal sensor on iMX8MM</title>
<updated>2020-05-10T18:55:20Z</updated>
<author>
<name>Peng Fan</name>
<email>peng.fan@nxp.com</email>
</author>
<published>2020-05-03T14:19:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=fc8657b7fb526b253c9d97f1fe34e40ceadc7c35'/>
<id>urn:sha1:fc8657b7fb526b253c9d97f1fe34e40ceadc7c35</id>
<content type='text'>
The analog sensors on iMX8MM are new, used for 14LPP process. So the
Temperature Sensor Monitoring Unit (TMU) has some change accordingly.
We use version 2 in TMU driver to represent the new TMU, so the one
driver can service for both i.MX8MQ/M.

Signed-off-by: Peng Fan &lt;peng.fan@nxp.com&gt;
</content>
</entry>
<entry>
<title>thermal: Add thermal driver for i.MX8M</title>
<updated>2020-05-10T18:55:20Z</updated>
<author>
<name>Peng Fan</name>
<email>peng.fan@nxp.com</email>
</author>
<published>2020-05-03T14:19:46Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2cd7f47983a38397c32bdf4fefeb35cd13600edb'/>
<id>urn:sha1:2cd7f47983a38397c32bdf4fefeb35cd13600edb</id>
<content type='text'>
The driver is ported form Linux Kernel and support driver model.
Users need to provide the tmu node and sensors nodes in DTB.

Signed-off-by: Ye Li &lt;ye.li@nxp.com&gt;
Signed-off-by: Peng Fan &lt;peng.fan@nxp.com&gt;
</content>
</entry>
<entry>
<title>thermal: imx_scu_thermal: Update driver for i.MX8QM thermal sensor</title>
<updated>2020-05-10T18:55:20Z</updated>
<author>
<name>Ye Li</name>
<email>ye.li@nxp.com</email>
</author>
<published>2020-05-03T14:19:45Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=6039d669f4eaf9f2b7442bafb89efaa32a8ee567'/>
<id>urn:sha1:6039d669f4eaf9f2b7442bafb89efaa32a8ee567</id>
<content type='text'>
Add iMX8QM thermal compatible string and its driver data.

Signed-off-by: Ye Li &lt;ye.li@nxp.com&gt;
Signed-off-by: Peng Fan &lt;peng.fan@nxp.com&gt;
</content>
</entry>
<entry>
<title>thermal: ti-bandgap: Fix adc value datatype</title>
<updated>2020-01-20T04:40:28Z</updated>
<author>
<name>Faiz Abbas</name>
<email>faiz_abbas@ti.com</email>
</author>
<published>2019-11-11T09:45:30Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2695584a5c279a1c2b6245466b66cd3735f1f00f'/>
<id>urn:sha1:2695584a5c279a1c2b6245466b66cd3735f1f00f</id>
<content type='text'>
The CORE_TEMP_SENSOR_MPU register gives a raw adc value which needs to
be indexed into a lookup table to get the actual temperature. Fix the
naming and datatype of the adc value variable.

Signed-off-by: Faiz Abbas &lt;faiz_abbas@ti.com&gt;
Signed-off-by: Lokesh Vutla &lt;lokeshvutla@ti.com&gt;
</content>
</entry>
<entry>
<title>thermal: add i.MX8 thermal driver</title>
<updated>2019-07-19T13:17:05Z</updated>
<author>
<name>Peng Fan</name>
<email>peng.fan@nxp.com</email>
</author>
<published>2019-05-05T13:23:54Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=5ef5b6d46f6b2a375230fa7dee8695e4574b78be'/>
<id>urn:sha1:5ef5b6d46f6b2a375230fa7dee8695e4574b78be</id>
<content type='text'>
Add i.MX8 thermal driver to support get temperature from SCU.

Signed-off-by: Peng Fan &lt;peng.fan@nxp.com&gt;
</content>
</entry>
<entry>
<title>SPDX: Convert all of our single license tags to Linux Kernel style</title>
<updated>2018-05-07T13:34:12Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2018-05-06T21:58:06Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=83d290c56fab2d38cd1ab4c4cc7099559c1d5046'/>
<id>urn:sha1:83d290c56fab2d38cd1ab4c4cc7099559c1d5046</id>
<content type='text'>
When U-Boot started using SPDX tags we were among the early adopters and
there weren't a lot of other examples to borrow from.  So we picked the
area of the file that usually had a full license text and replaced it
with an appropriate SPDX-License-Identifier: entry.  Since then, the
Linux Kernel has adopted SPDX tags and they place it as the very first
line in a file (except where shebangs are used, then it's second line)
and with slightly different comment styles than us.

In part due to community overlap, in part due to better tag visibility
and in part for other minor reasons, switch over to that style.

This commit changes all instances where we have a single declared
license in the tag as both the before and after are identical in tag
contents.  There's also a few places where I found we did not have a tag
and have introduced one.

Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
</feed>
