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)
commit077df623c8344e4b50a7ba6c433f9d6857a94d6b
tree883bab1734d81a29c902535e5c92305c483f6f00
parent110acbc6a4518145db3a1a9c0686d730bb258bf1
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]