]> 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)
commit2cb311c125f4a16d8cbdcea3233cd3ee673b05d9
tree883bab1734d81a29c902535e5c92305c483f6f00
parent841daa11cda74156940f1ade13ff97f81e178036
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]