Re: [PATCH] tools/lib/thermal: Add a thermal library

From: Daniel Lezcano
Date: Fri Feb 04 2022 - 13:13:33 EST


On 04/02/2022 18:11, Rafael J. Wysocki wrote:
CC Rui and Srinivas

On Fri, Feb 4, 2022 at 5:15 PM Daniel Lezcano <daniel.lezcano@xxxxxxxxxx> wrote:

The thermal framework implements a netlink notification mechanism to
be used by the userspace to have a thermal configuration discovery,
trip point changes or violation, cooling device changes notifications,
etc...

This library provides a level of abstraction for the thermal netlink
notification allowing the userspace to connect to the notification
mechanism more easily. The library is callback oriented.

As it is the very first iteration, the API may be subject to
changes. For this reason, the documentation will be provided after
those are stabilized.

So shouldn't this be an RFC?

Yes, it could be.

Also, I would prefer documentation to be provided or at least some
intended usage examples to be given.

Sure, no problem.

I'll resend with the RFC and the examples

--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog