<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/thermal/samsung, branch linux-4.19.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.19.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.19.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2021-09-26T11:39:47Z</updated>
<entry>
<title>thermal/drivers/exynos: Fix an error code in exynos_tmu_probe()</title>
<updated>2021-09-26T11:39:47Z</updated>
<author>
<name>Dan Carpenter</name>
</author>
<published>2021-08-10T08:44:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5286a3101efc6bceeaeb64617085537bf5a185d8'/>
<id>urn:sha1:5286a3101efc6bceeaeb64617085537bf5a185d8</id>
<content type='text'>
commit 02d438f62c05f0d055ceeedf12a2f8796b258c08 upstream.

This error path return success but it should propagate the negative
error code from devm_clk_get().

Fixes: 6c247393cfdd ("thermal: exynos: Add TMU support for Exynos7 SoC")
Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Reviewed-by: Krzysztof Kozlowski &lt;krzysztof.kozlowski@canonical.com&gt;
Signed-off-by: Daniel Lezcano &lt;daniel.lezcano@linaro.org&gt;
Link: https://lore.kernel.org/r/20210810084413.GA23810@kili
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>thermal: samsung: Fix incorrect check after code merge</title>
<updated>2019-04-20T07:15:56Z</updated>
<author>
<name>Marek Szyprowski</name>
</author>
<published>2019-01-22T15:47:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8fd403fc2a8ef3edf27468075029030d92663d51'/>
<id>urn:sha1:8fd403fc2a8ef3edf27468075029030d92663d51</id>
<content type='text'>
[ Upstream commit 3b5236cc5d086dd3ddd01113ee9255421aab9fab ]

Merge commit 19785cf93b6c ("Merge branch 'linus' of
git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux-soc-thermal")
broke the code introduced by commit ffe6e16f14fa ("thermal: exynos: Reduce
severity of too early temperature read"). Restore the original code from
the mentioned commit to finally fix the warning message during boot:

thermal thermal_zone0: failed to read out thermal zone (-22)

Reported-by: Marian Mihailescu &lt;mihailescu2m@gmail.com&gt;
Signed-off-by: Marek Szyprowski &lt;m.szyprowski@samsung.com&gt;
Fixes: 19785cf93b6c ("Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux-soc-thermal")
Reviewed-by: Krzysztof Kozlowski &lt;krzk@kernel.org&gt;
Signed-off-by: Zhang Rui &lt;rui.zhang@intel.com&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>thermal: samsung: Remove Exynos5440 clock handling left-overs</title>
<updated>2018-07-27T23:21:40Z</updated>
<author>
<name>Krzysztof Kozlowski</name>
</author>
<published>2018-07-17T15:46:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c0c04707033c71d0490a412b0a941d87011949a3'/>
<id>urn:sha1:c0c04707033c71d0490a412b0a941d87011949a3</id>
<content type='text'>
Commit 8014220d48e7 ("thermal: samsung: Remove support for Exynos5440")
removed the Exynos5440 specific part of code for accessing TMU interrupt
registers but the surrounding clock handling was left.

Clean it up.

Signed-off-by: Krzysztof Kozlowski &lt;krzk@kernel.org&gt;
Acked-by: Bartlomiej Zolnierkiewicz &lt;b.zolnierkie@samsung.com&gt;
Signed-off-by: Eduardo Valentin &lt;edubezval@gmail.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux-soc-thermal</title>
<updated>2018-06-12T20:23:51Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2018-06-12T20:23:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=19785cf93b6c4252981894394f2dbd35c5e5d1ec'/>
<id>urn:sha1:19785cf93b6c4252981894394f2dbd35c5e5d1ec</id>
<content type='text'>
Pull thermal SoC updates from Zhang Rui:
 "Thermal SoC management updates:

   - imx thermal driver now supports i.MX7 thermal sensor (Anson Huang)

   - exynos thermal driver dropped support for exynos 5440 (Krzysztof
     Kozlowski)

   - rcar_thermal now supports r8a77995 (Yoshihiro Kaneko)

   - rcar_gen3_thermal now supports r8a77965 (Niklas Söderlund)

   - qcom-spmi-temp-alarm now supports GEN2 PMIC peripherals (David
     Collins)

   - uniphier thermal now supports UniPhier PXs3 (Kunihiko Hayashi)

   - mediatek thermal now supports MT7622 SoC (Sean Wang)

   - considerable refactoring of exynos driver (Bartlomiej
     Zolnierkiewicz)

   - small fixes all over the place on different drivers"

* 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux-soc-thermal: (50 commits)
  thermal: qcom: tsens: Allow number of sensors to come from DT
  thermal: tegra: soctherm: add const to struct thermal_cooling_device_ops
  thermal: exynos: Reduce severity of too early temperature read
  thermal: imx: Switch to SPDX identifier
  thermal: qcom-spmi-temp-alarm: add support for GEN2 PMIC peripherals
  thermal: ti-soc-thermal: fix incorrect entry in omap5430_adc_to_temp[]
  thermal: rcar_thermal: add r8a77995 support
  dt-bindings: thermal: rcar-thermal: add R8A77995 support
  thermal: mediatek: use of_device_get_match_data()
  thermal: exynos: remove trip reporting to user-space
  thermal: exynos: remove unused defines for Exynos5433
  thermal: exynos: cleanup code for enabling threshold interrupts
  thermal: exynos: check return values of -&gt;get_trip_[temp, hyst] methods
  thermal: exynos: move trips setting to exynos_tmu_initialize()
  thermal: exynos: set trips in ascending order in exynos7_tmu_initialize()
  thermal: exynos: do not use trips structure directly in -&gt;tmu_initialize
  thermal: exynos: add exynos*_tmu_set_[trip,hyst]() helpers
  thermal: exynos: move IRQs clearing to exynos_tmu_initialize()
  thermal: exynos: clear IRQs later in exynos4412_tmu_initialize()
  thermal: exynos: make -&gt;tmu_initialize method void
  ...
</content>
</entry>
<entry>
<title>thermal: exynos: Reduce severity of too early temperature read</title>
<updated>2018-06-01T21:32:01Z</updated>
<author>
<name>Krzysztof Kozlowski</name>
</author>
<published>2018-05-13T17:54:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ffe6e16f14faf5af6bae7293ebddb481a1d77ae6'/>
<id>urn:sha1:ffe6e16f14faf5af6bae7293ebddb481a1d77ae6</id>
<content type='text'>
Thermal core tries to read temperature during sensor registering in
thermal_zone_of_sensor_register().  In that time Exynos TMU driver and
hardware are not yet initialized.  Commit 0eb875d88aaa ("thermal:
exynos: Reading temperature makes sense only when TMU is turned on")
added a boolean flag to prevent reading bogus temperature in such
case but it exposed warning message during boot:
	[    3.864913] thermal thermal_zone0: failed to read out thermal zone (-22)

Return EAGAIN in such case to skip omitting such message because it
might mislead user.

Signed-off-by: Krzysztof Kozlowski &lt;krzk@kernel.org&gt;
Acked-by: Bartlomiej Zolnierkiewicz &lt;b.zolnierkie@samsung.com&gt;
Signed-off-by: Eduardo Valentin &lt;edubezval@gmail.com&gt;
</content>
</entry>
<entry>
<title>thermal: exynos: remove trip reporting to user-space</title>
<updated>2018-05-06T23:49:03Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
</author>
<published>2018-04-26T11:51:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b43e3cfe232ab01f7cf1f60179a1d005f62d6cc0'/>
<id>urn:sha1:b43e3cfe232ab01f7cf1f60179a1d005f62d6cc0</id>
<content type='text'>
Remove trip reporting to user-space - I'm not aware of any user-space
program which relies on it and there is a thermal user-space governor
which does it in proper way nowadays.

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;b.zolnierkie@samsung.com&gt;
Reviewed-by: Daniel Lezcano &lt;daniel.lezcano@linaro.org&gt;
Signed-off-by: Eduardo Valentin &lt;edubezval@gmail.com&gt;
</content>
</entry>
<entry>
<title>thermal: exynos: remove unused defines for Exynos5433</title>
<updated>2018-05-06T23:47:48Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
</author>
<published>2018-04-26T11:51:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2b2426a72702b04fffe359bfbabeec4a4e41d9c7'/>
<id>urn:sha1:2b2426a72702b04fffe359bfbabeec4a4e41d9c7</id>
<content type='text'>
Remove unused defines for Exynos5433.

There should be no functional changes caused by this patch.

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;b.zolnierkie@samsung.com&gt;
Signed-off-by: Eduardo Valentin &lt;edubezval@gmail.com&gt;
</content>
</entry>
<entry>
<title>thermal: exynos: cleanup code for enabling threshold interrupts</title>
<updated>2018-05-06T23:46:22Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
</author>
<published>2018-04-26T11:51:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=64e94192451ea5810768797e002021950f671ae0'/>
<id>urn:sha1:64e94192451ea5810768797e002021950f671ae0</id>
<content type='text'>
Cleanup code for enabling threshold interrupts in -&gt;tmu_control
method implementations.

There should be no functional changes caused by this patch.

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;b.zolnierkie@samsung.com&gt;
Signed-off-by: Eduardo Valentin &lt;edubezval@gmail.com&gt;
</content>
</entry>
<entry>
<title>thermal: exynos: check return values of -&gt;get_trip_[temp, hyst] methods</title>
<updated>2018-05-06T23:42:05Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
</author>
<published>2018-04-26T11:51:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=89335c203a8d45a9380c9fec4cdc8cda404569ad'/>
<id>urn:sha1:89335c203a8d45a9380c9fec4cdc8cda404569ad</id>
<content type='text'>
Check return values of -&gt;get_trip_[temp,hyst] methods in
exynos_tmu_initialize().

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;b.zolnierkie@samsung.com&gt;
Signed-off-by: Eduardo Valentin &lt;edubezval@gmail.com&gt;
</content>
</entry>
<entry>
<title>thermal: exynos: move trips setting to exynos_tmu_initialize()</title>
<updated>2018-05-06T23:40:48Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
</author>
<published>2018-04-26T11:51:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c8f8f7682e13d219699f6980cd0ba067f06d0dcf'/>
<id>urn:sha1:c8f8f7682e13d219699f6980cd0ba067f06d0dcf</id>
<content type='text'>
* Add dummy exynos4210_tmu_set_trip_hyst() helper.

* Add -&gt;tmu_set_trip_temp and -&gt;tmu_set_trip_hyst methods to struct
  exynos_tmu_data and set them in exynos_map_dt_data().

* Move trips setting to exynos_tmu_initialize().

There should be no functional changes caused by this patch.

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;b.zolnierkie@samsung.com&gt;
Signed-off-by: Eduardo Valentin &lt;edubezval@gmail.com&gt;
</content>
</entry>
</feed>
