X86 platform drivers
 help / color / mirror / Atom feed
* [PATCH 0/2] platform/x86: clamp charge thresholds on fujitsu
@ 2025-06-09 10:21 Jelle van der Waa
  2025-06-09 10:21 ` [PATCH 1/2] platform/x86: fujitsu: use unsigned int for kstrtounit Jelle van der Waa
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Jelle van der Waa @ 2025-06-09 10:21 UTC (permalink / raw)
  To: Jonathan Woithe, Hans de Goede, Ilpo Järvinen
  Cc: Jelle van der Waa, platform-driver-x86

For userspace programs it is not know what the valid charge control
threshold values are, clamping them to the nearest supported threshold
makes the API easier to use for power management daemons such as UPower.

Jelle van der Waa (2):
  platform/x86: fujitsu: use unsigned int for kstrtounit
  platform/x86: fujitsu: clamp charge_control_end_threshold values to 50

 drivers/platform/x86/fujitsu-laptop.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

-- 
2.49.0


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

end of thread, other threads:[~2025-06-13 10:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-09 10:21 [PATCH 0/2] platform/x86: clamp charge thresholds on fujitsu Jelle van der Waa
2025-06-09 10:21 ` [PATCH 1/2] platform/x86: fujitsu: use unsigned int for kstrtounit Jelle van der Waa
2025-06-09 10:36   ` Hans de Goede
2025-06-13 10:14   ` Ilpo Järvinen
2025-06-09 10:21 ` [PATCH 2/2] platform/x86: fujitsu: clamp charge_control_end_threshold values to 50 Jelle van der Waa
2025-06-09 10:38   ` Hans de Goede
2025-06-09 10:47 ` [PATCH 0/2] platform/x86: clamp charge thresholds on fujitsu Jonathan Woithe

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