Sep 12 – 14, 2022
Europe/Dublin timezone

Unified structure for thermal zone device registration

Sep 14, 2022, 3:25 PM
"Pembroke" (Clayton Hotel on Burlington Road)


Clayton Hotel on Burlington Road

Power Management and Thermal Control MC Power Management and Thermal Control MC


Rui Zhang


To register a thermal zone device, the number of parameters required has been increase from 4 when it is first introduced to 8, and people are still willing to add more.
This is hard to maintain because every time a new parameter is needed, either a new wrapper is added, or all the current thermal zone drivers need to be updated.
Plus, there is already a structure, aka “struct thermal_zone_params”, available, and it has already been used for registration time configuration.
Here, I propose to use one structure for registration phase configuration, or combine with the existing struct thermal_zone_params for better maintenance.

I agree to abide by the anti-harassment policy Yes

Primary author

Rui Zhang

Presentation materials

Diamond Sponsor

Platinum Sponsors

Gold Sponsors

Silver Sponsors

Speaker Gift Sponsor

Catchbox Sponsor

Video Recording Sponsor

Livestream Sponsor

T-Shirt Sponsor

Conference Services Provided by