platform-driver-x86.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v6 0/1] platform/x86: asus-wmi: add support for ASUS screenpad
@ 2023-08-30  3:22 Luke D. Jones
  2023-08-30  3:22 ` [PATCH v6 1/1] " Luke D. Jones
  0 siblings, 1 reply; 3+ messages in thread
From: Luke D. Jones @ 2023-08-30  3:22 UTC (permalink / raw)
  To: hdegoede
  Cc: corentin.chary, markgross, linux-kernel, platform-driver-x86,
	Luke D. Jones

Add support for the WMI methods used to turn off and adjust the
brightness of the secondary "screenpad" device found on some high-end
ASUS laptops like the GX650P series and others.

Changelog:
- V6
  - Move bulk of cover letter in to commit message
  - Add define for ASUS_SCREENPAD_BRIGHT_DEFAULT to be used on boot
  - Remove the use of max() in update_screenpad_bl_status()
  - Previous: https://lore.kernel.org/all/20230827232358.80512-1-luke@ljones.dev/
- V5
  - Add minimum brightness to prevent screen from becoming invisible
  - Previous: https://lore.kernel.org/all/20230630041743.911303-1-luke@ljones.dev/
- V4
  - Fix a null dereference that happened if the display was powered off and dev struct uninitialised yet
  - Previous: https://lore.kernel.org/all/20230620030033.55033-1-luke@ljones.dev/
- V3
  - Refactor error handling in all functions
- V2
  - Complete refactor to use as a backlight device

Luke D. Jones (1):
  platform/x86: asus-wmi: add support for ASUS screenpad

 drivers/platform/x86/asus-wmi.c            | 133 +++++++++++++++++++++
 drivers/platform/x86/asus-wmi.h            |   1 +
 include/linux/platform_data/x86/asus-wmi.h |   4 +
 3 files changed, 138 insertions(+)

-- 
2.41.0


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

end of thread, other threads:[~2023-09-11 22:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-30  3:22 [PATCH v6 0/1] platform/x86: asus-wmi: add support for ASUS screenpad Luke D. Jones
2023-08-30  3:22 ` [PATCH v6 1/1] " Luke D. Jones
2023-09-11 11:54   ` 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;
as well as URLs for NNTP newsgroup(s).