[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241112052211.3087348-1-nico@fluxnic.net>
Date: Tue, 12 Nov 2024 00:19:37 -0500
From: Nicolas Pitre <nico@...xnic.net>
To: Daniel Lezcano <daniel.lezcano@...aro.org>,
"Rafael J . Wysocki" <rafael@...nel.org>,
linux-pm@...r.kernel.org,
linux-mediatek@...ts.infradead.org,
devicetree@...r.kernel.org
Cc: linux-kernel@...r.kernel.org,
Nicolas Pitre <npitre@...libre.com>,
Alexandre Bailon <abailon@...libre.com>
Subject: [PATCH 0/5] thermal: multi-sensor aggregation support
This series provides support for thermal aggregation of multiple sensors.
The "one sensor per zone" model is preserved for all its advantages.
Aggregation is performed via the creation of a special zone whose purpose
consists in aggregating its associated primary zones using a weighted
average.
Motivation for this work stems from use cases where multiple sensors are
contained within the same performance domain. In such case it is preferable
to apply thermal mitigation while considering all such sensors as a whole.
Previous incarnation by Alexandre Bailon can be found here:
https://patchwork.kernel.org/project/linux-pm/cover/20240613132410.161663-1-abailon@baylibre.com/
diffstat:
.../bindings/thermal/thermal-zones.yaml | 5 +-
arch/arm64/boot/dts/mediatek/mt8195.dtsi | 210 +-----
drivers/thermal/Kconfig | 27 +
drivers/thermal/thermal_core.c | 643 ++++++++++++++++++
drivers/thermal/thermal_core.h | 14 +
drivers/thermal/thermal_of.c | 86 ++-
6 files changed, 780 insertions(+), 205 deletions(-)
Powered by blists - more mailing lists