<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/thermal/samsung, branch linux-4.1.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.1.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.1.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2015-08-17T03:52:25Z</updated>
<entry>
<title>thermal: exynos: Disable the regulator on probe failure</title>
<updated>2015-08-17T03:52:25Z</updated>
<author>
<name>Krzysztof Kozlowski</name>
</author>
<published>2015-06-08T01:35:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=00d707ae64f062c2c4b488c76306278a1298557a'/>
<id>urn:sha1:00d707ae64f062c2c4b488c76306278a1298557a</id>
<content type='text'>
commit 5f09a5cbd14ae16e93866040fa44d930ff885650 upstream.

During probe the regulator (if present) was enabled but not disabled in
case of failure. So an unsuccessful probe lead to enabling the
regulator which was actually not needed because the device was not
enabled.

Additionally each deferred probe lead to increase of regulator enable
count so it would not be effectively disabled during removal of the
device.

Test HW: Exynos4412 - Trats2 board

Signed-off-by: Krzysztof Kozlowski &lt;k.kozlowski@samsung.com&gt;
Fixes: 498d22f616f6 ("thermal: exynos: Support for TMU regulator defined at device tree")
Reviewed-by: Javier Martinez Canillas &lt;javier.martinez@collabora.co.uk&gt;
Signed-off-by: Lukasz Majewski &lt;l.majewski@samsung.com&gt;
Tested-by: Lukasz Majewski &lt;l.majewski@samsung.com&gt;
Signed-off-by: Eduardo Valentin &lt;edubezval@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>thermal: exynos: Fix wrong control of power down detection mode for Exynos7</title>
<updated>2015-03-02T09:04:51Z</updated>
<author>
<name>Chanwoo Choi</name>
</author>
<published>2015-02-24T04:56:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=42b696e808bbea3a4ebf8029e1965d2314612402'/>
<id>urn:sha1:42b696e808bbea3a4ebf8029e1965d2314612402</id>
<content type='text'>
This patch fixes the wrong control of PD_DET_EN (power down detection mode)
for Exynos7 because exynos7_tmu_control() always enables the power down detection
mode regardless 'on' parameter.

Cc: Zhang Rui &lt;rui.zhang@intel.com&gt;
Cc: Eduardo Valentin &lt;edubezval@gmail.com&gt;
Signed-off-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
Tested-by: Abhilash Kesavan &lt;a.kesavan@samsung.com&gt;
Signed-off-by: Lukasz Majewski &lt;l.majewski@samsung.com&gt;
</content>
</entry>
<entry>
<title>thermal: exynos: Clean-up code to use oneline entry for exynos compatible table</title>
<updated>2015-02-24T19:00:00Z</updated>
<author>
<name>Chanwoo Choi</name>
</author>
<published>2015-02-24T04:56:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b71d399c7f2fe06b60b96155ec0b9ae167334e4a'/>
<id>urn:sha1:b71d399c7f2fe06b60b96155ec0b9ae167334e4a</id>
<content type='text'>
This patch cleanup the code to use oneline for entry of exynos compatible
table.

Cc: Zhang Rui &lt;rui.zhang@intel.com&gt;
Cc: Eduardo Valentin &lt;edubezval@gmail.com&gt;
Signed-off-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
Acked-by: Lukasz Majewski &lt;l.majewski@samsung.com&gt;
Signed-off-by: Eduardo Valentin &lt;edubezval@gmail.com&gt;
</content>
</entry>
<entry>
<title>thermal: exynos: fix: Check if data-&gt;tmu_read callback is present before read</title>
<updated>2015-02-20T13:57:02Z</updated>
<author>
<name>Lukasz Majewski</name>
</author>
<published>2015-02-06T13:07:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4531fa1684bb883ee01f1a182900b1e15d461b34'/>
<id>urn:sha1:4531fa1684bb883ee01f1a182900b1e15d461b34</id>
<content type='text'>
The exynos_tmu_data() function should on entrance test not only for valid
data pointer, but also for data-&gt;tmu_read one.
It is important, since afterwards it is dereferenced to get temperature code.

Signed-off-by: Lukasz Majewski &lt;l.majewski@samsung.com&gt;
Tested-by: Abhilash Kesavan &lt;a.kesavan@samsung.com&gt;
Signed-off-by: Zhang Rui &lt;rui.zhang@intel.com&gt;
</content>
</entry>
<entry>
<title>thermal: exynos: Add TMU support for Exynos7 SoC</title>
<updated>2015-01-31T19:20:45Z</updated>
<author>
<name>Abhilash Kesavan</name>
</author>
<published>2015-01-27T05:48:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6c247393cfdd6695717f80ff31f9fd9af8c2c525'/>
<id>urn:sha1:6c247393cfdd6695717f80ff31f9fd9af8c2c525</id>
<content type='text'>
Add registers, bit fields and compatible strings for Exynos7 TMU
(Thermal Management Unit). Following are a few of the differences
in the Exynos7 TMU from earlier SoCs:
        - 8 trigger levels
        - Different bit offsets and more registers for the rising
        and falling thresholds.
        - New power down detection bit in the TMU_CONTROL register
        which does not update the CURRENT_TEMP0 when tmu power down
        is detected.
        - Change in bit offset for the NEXT_DATA field of EMUL_CON
        register. EMUL_CON register address has also changed.
        - INTSTAT and INTCLEAR registers present in earlier SoCs
        have been combined into one INTPEND register. The register
        address for INTCLEAR and INTPEND is also different.
        - Since there are 8 rising/falling interrupts as against
        at most 4 in earlier SoCs the INTEN bit offsets are different.
        - Multiple probe support which is handled by a TMU_CONTROL1
        register (No support for this in the current patch).

This patch adds special clock support required only for Exynos7. It
also updates the "code_to_temp" prototype as Exynos7 has 9 bit
code-temp mapping.

Acked-by: Lukasz Majewski &lt;l.majewski@samsung.com&gt;
Tested-by: Lukasz Majewski &lt;l.majewski@samsung.com&gt;
Signed-off-by: Abhilash Kesavan &lt;a.kesavan@samsung.com&gt;
Signed-off-by: Eduardo Valentin &lt;edubezval@gmail.com&gt;
</content>
</entry>
<entry>
<title>thermal: exynos: Correct sanity check at exynos_report_trigger() function</title>
<updated>2015-01-28T05:29:02Z</updated>
<author>
<name>Lukasz Majewski</name>
</author>
<published>2015-01-28T15:25:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=eccb60145415dd8e171687cd1694f50141f50d6d'/>
<id>urn:sha1:eccb60145415dd8e171687cd1694f50141f50d6d</id>
<content type='text'>
Up till now, by mistake, wrong variable was tested against being NULL.
Since exynos_report_trigger() is always called with valid p pointer,
it is only necessary to check if a valid thermal zone device is passed.

Reported-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Lukasz Majewski &lt;l.majewski@samsung.com&gt;
Signed-off-by: Eduardo Valentin &lt;edubezval@gmail.com&gt;
</content>
</entry>
<entry>
<title>thermal: Kconfig: Remove config for not used EXYNOS_THERMAL_CORE</title>
<updated>2015-01-27T14:54:56Z</updated>
<author>
<name>Lukasz Majewski</name>
</author>
<published>2015-01-27T11:13:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d3a5247e5332eb56d8f4833570b6d88f26709b18'/>
<id>urn:sha1:d3a5247e5332eb56d8f4833570b6d88f26709b18</id>
<content type='text'>
After removing exynos_thermal_common.[c|h] files the CONFIG_EXYNOS_THERMA_CORE
is not needed anymore.
This patch removes this entry from Kconfig.

Reported-by: Paul Bolle &lt;pebolle@tiscali.nl&gt;
Signed-off-by: Lukasz Majewski &lt;l.majewski@samsung.com&gt;
Signed-off-by: Eduardo Valentin &lt;edubezval@gmail.com&gt;
</content>
</entry>
<entry>
<title>thermal: exynos: Remove exynos_tmu_data.c file</title>
<updated>2015-01-26T14:31:14Z</updated>
<author>
<name>Lukasz Majewski</name>
</author>
<published>2015-01-23T12:10:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1024cf8b0fcdd17212688440410ab2cf4dfe7bd3'/>
<id>urn:sha1:1024cf8b0fcdd17212688440410ab2cf4dfe7bd3</id>
<content type='text'>
Data already present in the exynos_tmu_data.c file has been moved to the
appropriate device tree files.

Signed-off-by: Lukasz Majewski &lt;l.majewski@samsung.com&gt;
Signed-off-by: Eduardo Valentin &lt;edubezval@gmail.com&gt;
</content>
</entry>
<entry>
<title>thermal: exynos: Remove exynos_thermal_common.[c|h] files</title>
<updated>2015-01-24T21:40:49Z</updated>
<author>
<name>Lukasz Majewski</name>
</author>
<published>2015-01-23T12:10:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1fd2273f966a095ff825cb20304878fdf14a6b45'/>
<id>urn:sha1:1fd2273f966a095ff825cb20304878fdf14a6b45</id>
<content type='text'>
After defining all necessary Exynos data in the device tree and heavy
reusage of the of-thermal.c those files can be removed.

Signed-off-by: Lukasz Majewski &lt;l.majewski@samsung.com&gt;
Signed-off-by: Eduardo Valentin &lt;edubezval@gmail.com&gt;
</content>
</entry>
<entry>
<title>thermal: samsung: core: Exynos TMU rework to use device tree for configuration</title>
<updated>2015-01-24T21:39:32Z</updated>
<author>
<name>Lukasz Majewski</name>
</author>
<published>2015-01-23T12:10:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3b6a1a805f342472a0e68e2a0eb1decaadf7fa02'/>
<id>urn:sha1:3b6a1a805f342472a0e68e2a0eb1decaadf7fa02</id>
<content type='text'>
This patch brings support for providing configuration via device tree.
Previously this data has been hardcoded in the exynos_tmu_data.c file.
Such approach was not scalable and very often required copying the whole
data.

Signed-off-by: Lukasz Majewski &lt;l.majewski@samsung.com&gt;
Signed-off-by: Eduardo Valentin &lt;edubezval@gmail.com&gt;
</content>
</entry>
</feed>
