diff options
| author | 2026-08-30 00:01:48 +0200 | |
|---|---|---|
| committer | 2026-10-18 09:35:06 -0700 | |
| commit | ab003112b4948774057bde1c488b0bdbd96d687c (patch) | |
| tree | 02132ced168d3adbc4853c702292e82904b474ec /scripts/Makefile.thinlto | |
| parent | hwmon: (it87) describe per-chip PWM temperature maps (diff) | |
hwmon: (it87) prepare for extended PWM temp maps
Introduce helper logic for PWM-to-temperature mappings so newer
register layouts can be supported while retaining the legacy two groups
of three temperature sources.
Honor the four global temperature sources on IT8603E and IT8622E instead
of applying the legacy grouping to those chips. Use per-chip masks and
shifts for newer extended mappings.
Newer controllers keep the duty cycle in a separate register, so write
their temperature mapping in both manual and automatic mode. This keeps
the selected mapping across cache refreshes and mode changes.
On older controllers, defer mapping writes while in manual mode and apply
the cached mapping when switching to automatic mode.
Signed-off-by: benoit.masson <yahoo@perenite.com>
Signed-off-by: Jerome Tollet <jerome.tollet@gmail.com>
Link: https://patch.msgid.link/7b4f2befc3d214b646c0582e6410f17e78748b4e.1788040385.git.jerome.tollet@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
