mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [RFC PATCH 0/1] Ensure safe fan state during restart
@ 2026-03-06 13:34 florin.leotescu
  2026-03-06 13:34 ` [RFC PATCH 1/1] hwmon: emc2305: Set max PWM state during shutdown florin.leotescu
  0 siblings, 1 reply; 3+ messages in thread
From: florin.leotescu @ 2026-03-06 13:34 UTC (permalink / raw)
  To: Guenter Roeck, linux-hwmon, linux-kernel
  Cc: daniel.baluta, linux-arm-kernel, imx, festevam, Florin Leotescu

From: Florin Leotescu <florin.leotescu@nxp.com>

Hi,

The EMC2305 fan controller retains the last PWM duty cycle programmed
by the kernel until it is reconfigured by another software stage.

During a soft reboot, if the system remains powered while the restart
handoff occurs, the controller may continue driving the fans with the
previously programmed duty cycle. On systems where no later stage
reconfigures the controller promptly, this may leave the fans running
below a desired fail-safe level.

This RFC proposes setting all fan channels to maximum PWM duty cycle
during the driver's shutdown callback so that the controller is left in
a safe cooling state before the restart handoff.

Feedback is welcome on whether this behaviour is appropriate for the
driver or if it should instead be controlled through a platform-specific
mechanism.

Florin Leotescu (1):
  hwmon: emc2305: Set max PWM state during shutdown

 drivers/hwmon/emc2305.c | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

-- 
2.34.1


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

end of thread, other threads:[~2026-03-06 15:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-03-06 13:34 [RFC PATCH 0/1] Ensure safe fan state during restart florin.leotescu
2026-03-06 13:34 ` [RFC PATCH 1/1] hwmon: emc2305: Set max PWM state during shutdown florin.leotescu
2026-03-06 15:55   ` Guenter Roeck

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

all inboxes | Powered by JetHome®