X86 platform drivers
 help / color / mirror / Atom feed
* Thermal driver with safeguards
@ 2024-12-02 14:52 Werner Sembach
  2025-01-09 20:10 ` Werner Sembach
  2025-01-09 21:36 ` Daniel Lezcano
  0 siblings, 2 replies; 8+ messages in thread
From: Werner Sembach @ 2024-12-02 14:52 UTC (permalink / raw)
  To: linux-acpi@vger.kernel.org, Rafael J . Wysocki
  Cc: rui.zhang, Hans de Goede, Armin Wolf, Ilpo Järvinen,
	linux-kernel@vger.kernel.org, platform-driver-x86

Hi,

given a pair of a temperature sensor and a fan, I want to implement a driver. 
that allows userspace to directly control the fan if it wants to. But have a 
minimum fan speed when certain high temperatures are reached to avoid crashes or 
hardware damage.

e.g.

- temperature of target die is 80°C -> fan speed must be at least 30%

- temperature of target die is 90°C -> fan speed must be at least 40%

- temperature of target die is 105°C -> fan speed must be 100%

- temperature of target die is 110°C -> device shuts off to protect the hardware

Would the thermal subsystem be the right place for this to implement this 
protection in driver?

It already has functions around periodic temperature polling and trip points.

Kind regards,

Werner Sembach


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-01-16 11:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-02 14:52 Thermal driver with safeguards Werner Sembach
2025-01-09 20:10 ` Werner Sembach
2025-01-13 22:17   ` Pavel Machek
2025-01-14 10:14     ` Werner Sembach
2025-01-09 21:36 ` Daniel Lezcano
2025-01-10 16:56   ` Werner Sembach
2025-01-10 17:43     ` Daniel Lezcano
2025-01-16 11:00       ` Werner Sembach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox