From: "Luke D. Jones" <luke@ljones.dev>
To: hdegoede@redhat.com
Cc: corentin.chary@gmail.com, markgross@kernel.org,
linux-kernel@vger.kernel.org,
platform-driver-x86@vger.kernel.org,
"Luke D. Jones" <luke@ljones.dev>
Subject: [PATCH v6 0/1] platform/x86: asus-wmi: add support for ASUS screenpad
Date: Wed, 30 Aug 2023 15:22:36 +1200 [thread overview]
Message-ID: <20230830032237.42987-1-luke@ljones.dev> (raw)
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
next reply other threads:[~2023-08-30 3:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-30 3:22 Luke D. Jones [this message]
2023-08-30 3:22 ` [PATCH v6 1/1] platform/x86: asus-wmi: add support for ASUS screenpad Luke D. Jones
2023-09-11 11:54 ` Hans de Goede
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230830032237.42987-1-luke@ljones.dev \
--to=luke@ljones.dev \
--cc=corentin.chary@gmail.com \
--cc=hdegoede@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=markgross@kernel.org \
--cc=platform-driver-x86@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).