WSL2-Linux-Kernel/include
Daniel Lezcano fae11de507 thermal/core: Add thermal_trip in thermal_zone
The thermal trip points are properties of a thermal zone and the
different sub systems should be able to save them in the thermal zone
structure instead of having their own definition.

Give the opportunity to the drivers to create a thermal zone with
thermal trips which will be accessible directly from the thermal core
framework.

As we added the thermal trip points structure in the thermal zone,
let's extend the thermal zone register function to have the thermal
trip structures as a parameter and store it in the 'trips' field of
the thermal zone structure.

The thermal zone contains the trip point, we can store them directly
when registering the thermal zone. That will allow another step
forward to remove the duplicate thermal zone structure we find in the
thermal_of code.

Cc: Alexandre Bailon <abailon@baylibre.com>
Cc: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linexp.org>
Link: https://lore.kernel.org/r/20220722200007.1839356-9-daniel.lezcano@linexp.org
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
2022-07-28 17:29:56 +02:00
..
acpi Power management updates for 5.19-rc1 2022-05-24 16:04:25 -07:00
asm-generic Scheduler changes in this cycle were: 2022-05-24 11:11:13 -07:00
clocksource clocksource/drivers: Add a goldfish-timer clocksource 2022-04-11 11:48:01 +02:00
crypto
drm
dt-bindings dt-bindings: clk: mpfs: add defines for two new clocks 2022-04-22 18:40:15 -07:00
keys KEYS: trusted: Introduce support for NXP CAAM-based trusted keys 2022-05-23 18:47:50 +03:00
kunit
kvm
linux thermal/core: Add thermal_trip in thermal_zone 2022-07-28 17:29:56 +02:00
math-emu
media
memory memory: renesas-rpc-if: Fix HF/OSPI data transfer in Manual Mode 2022-04-21 17:00:24 +02:00
misc
net Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec 2022-05-18 12:47:36 +01:00
pcmcia
ras
rdma
scsi scsi: iscsi: Fix NOP handling during conn recovery 2022-04-11 22:09:35 -04:00
soc Power management updates for 5.19-rc1 2022-05-24 16:04:25 -07:00
sound ASoC: Fixes for v5.18 2022-04-19 17:26:01 +02:00
target target: pass a block_device to target_configure_unmap_from_queue 2022-04-17 19:49:58 -06:00
trace drivers/thermal/cpufreq_cooling : Refactor thermal_power_cpu_get_power tracing 2022-07-28 17:29:42 +02:00
uapi for-linus-2022052401 2022-05-24 15:21:15 -07:00
vdso
video
xen xen: sync xs_wire.h header with upstream xen 2022-05-19 14:44:05 +02:00