public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/1] HP: wmi: added support for 4 zone keyboard rgb
@ 2024-07-07 17:54 Carlos Ferreira
  2024-07-07 17:54 ` [PATCH v3 1/1] " Carlos Ferreira
  0 siblings, 1 reply; 9+ messages in thread
From: Carlos Ferreira @ 2024-07-07 17:54 UTC (permalink / raw)
  To: hdegoede; +Cc: platform-driver-x86, linux-kernel, carlosmiguelferreira.2003

Hi,
As suggested, this driver now uses the multicolor led api.

Please note that for brightness, it takes the brightness files in
each zone and uses them as one as there is no per zone brightness
control, so all the files control the brightness of the entire keyboard.
Also, when the backlight toggle key is pressed it updates the brightness
on all the zones to avoid some edge case problems i ran into
where setting the same color more than once would set the brightness
to the previous value.

Please let me know if this is a good approach.

Carlos Ferreira (1):
  HP: wmi: added support for 4 zone keyboard rgb

 drivers/platform/x86/hp/hp-wmi.c | 248 +++++++++++++++++++++++++++++--
 1 file changed, 239 insertions(+), 9 deletions(-)

-- 
2.45.2


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

end of thread, other threads:[~2024-07-13 11:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-07 17:54 [PATCH v3 0/1] HP: wmi: added support for 4 zone keyboard rgb Carlos Ferreira
2024-07-07 17:54 ` [PATCH v3 1/1] " Carlos Ferreira
2024-07-07 22:22   ` kernel test robot
2024-07-08  0:36   ` kernel test robot
2024-07-11  8:41   ` Ilpo Järvinen
2024-07-11 15:17     ` Hans de Goede
2024-07-11 17:37   ` Hans de Goede
2024-07-12 16:39     ` Carlos Ferreira
2024-07-13 11:29       ` Hans de Goede

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