[PATCH v1 00/10] ACPI: thermal: Register thermal class cooling devices under parents
From: Rafael J. Wysocki
Date: Fri Sep 11 2026 - 09:22:08 EST
Hi All,
This series generally changes the way in which thermal class cooling devices
are used by ACPI device drivers registering them (ACPI processor, ACPI fan,
and ACPI video) and by the ACPI thermal zone device driver.
First, it causes the thermal class cooling devices to be registered under
parents in specific locations within the device hierarchy which allows
their relationships with other devices to be recognized more easily. It
also drops custom sysfs attributes registered by the users of the thermal
class cooling devices because they are not particularly useful any more
when those devices get proper parents.
Second, it modifies the ACPI thermal zone device driver to use thermal class
cooling device parent information for binding cooling devices to trip points
in thermal zones, which was previously done with the help of the devdata
pointers of the cooling devices and effectively prevented drivers from using
the devdata pointers for their own purposes as originally intended.
Finally, it updates the ACPI processor and ACPI fan drivers to use the
devdata pointers of thermal class cooling devices in a bit more efficient
way.
The first two patches in the series are preliminary fixes preventing
Sashiko from reporting "pre-existing issues" in the subsequent patches.
The third patch is a thermal core update allowing thermal class cooling
devices to be registered under proper parents.
The other patches update the ACPI processor, ACPI video, and ACPI fan
drivers as per the above.
The details are covered by individual patch changelogs.
Thanks!