From: "Luke D. Jones" <luke@ljones.dev>
To: hdegoede@redhat.com
Cc: andy.shevchenko@gmail.com, platform-driver-x86@vger.kernel.org,
linux-kernel@vger.kernel.org, "Luke D. Jones" <luke@ljones.dev>
Subject: [PATCH v3 0/2] asus-wmi: add support for ROG XFlow tablet mode
Date: Tue, 9 Aug 2022 15:30:46 +1200 [thread overview]
Message-ID: <20220809033048.1634583-1-luke@ljones.dev> (raw)
This patch series refactors a part of the tablet/lid-flip code to
use an enum to set the different behaviours, and adds support for
the ASUS ROG XFlow (X13) 2-in-1 laptop.
Changelog:
- V3:
+ Use dev_err() in place of pr_err() in asus_wmi_input_init()
+ Adjust declaration of variables vs instantiation to match expected pattern
- V2:
+ Refactor the base handling paths of tablet modes to use enum
+ Add support for ROG XFlow using the refactored code
This obsoletes a previous patch I submitted:
- https://lkml.org/lkml/2022/8/3/94
Luke D. Jones (2):
asus-wmi: Adjust tablet/lidflip handling to use enum
asus-wmi: Add support for ROG X13 tablet mode
drivers/platform/x86/asus-nb-wmi.c | 28 ++++--
drivers/platform/x86/asus-wmi.c | 104 ++++++++++++++++-----
drivers/platform/x86/asus-wmi.h | 10 +-
include/linux/platform_data/x86/asus-wmi.h | 1 +
4 files changed, 112 insertions(+), 31 deletions(-)
--
2.37.1
next reply other threads:[~2022-08-09 3:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-09 3:30 Luke D. Jones [this message]
2022-08-09 3:30 ` [PATCH v3 1/2] asus-wmi: Adjust tablet/lidflip handling to use enum Luke D. Jones
2022-08-09 8:37 ` Andy Shevchenko
2022-08-09 3:30 ` [PATCH v3 2/2] asus-wmi: Add support for ROG X13 tablet mode Luke D. Jones
2022-08-09 8:40 ` Andy Shevchenko
2022-08-09 8:46 ` Hans de Goede
2022-08-09 9:03 ` Luke Jones
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=20220809033048.1634583-1-luke@ljones.dev \
--to=luke@ljones.dev \
--cc=andy.shevchenko@gmail.com \
--cc=hdegoede@redhat.com \
--cc=linux-kernel@vger.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
all inboxes | Powered by JetHome®