]> git.baikalelectronics.ru Git - kernel.git/commit
tools/thermal: Add thermal daemon skeleton
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Wed, 20 Apr 2022 16:09:32 +0000 (18:09 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 19 May 2022 10:11:52 +0000 (12:11 +0200)
commitfffc1c0ecb953ee9a47b54def15b2a261c0635fd
tree883bab1734d81a29c902535e5c92305c483f6f00
parentdcea8d70a30be787aad26333c5afd7b306931ecd
tools/thermal: Add thermal daemon skeleton

This change provides a simple daemon skeleton. It is an example of how
to use the thermal library which wraps all the complex code related to
the netlink and transforms it into a callback oriented code.

The goal of this skeleton is to give a base brick for anyone
interested in writing its own thermal engine or as an example to rely
on to write its own thermal monitoring implementation.

In the future, it will evolve with more features and hopefully more
logic.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Tested-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Link: https://lore.kernel.org/r/20220420160933.347088-5-daniel.lezcano@linaro.org
tools/Makefile
tools/thermal/thermal-engine/Build [new file with mode: 0644]
tools/thermal/thermal-engine/Makefile [new file with mode: 0644]
tools/thermal/thermal-engine/thermal-engine.c [new file with mode: 0644]