Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 3ced78fc authored by Ram Chandrasekar's avatar Ram Chandrasekar
Browse files

drivers: thermal: of-thermal: Add support for virtual sensor



of-thermal assumes that there will be only one sensor per thermal zone.
But there can be multiple sensors in the thermal zone and the
temperatures can be aggregated together.

Add support for of-thermal to take multiple sensors per thermal zone and
provide three ways for aggregating the sensor temperatures. The
temperatures can be aggregated based on coefficients or get the maximum of
all temperatures or get minimum of all temperatures.

Change-Id: Id30fe6f437bbd916aa89963c4be983b27dbe23ff
Signed-off-by: default avatarRam Chandrasekar <rkumbako@codeaurora.org>
parent b492c607
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment