mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v3 0/2] asus-wmi: add support for ROG XFlow tablet mode
@ 2022-08-09  3:30 Luke D. Jones
  2022-08-09  3:30 ` [PATCH v3 1/2] asus-wmi: Adjust tablet/lidflip handling to use enum Luke D. Jones
  2022-08-09  3:30 ` [PATCH v3 2/2] asus-wmi: Add support for ROG X13 tablet mode Luke D. Jones
  0 siblings, 2 replies; 7+ messages in thread
From: Luke D. Jones @ 2022-08-09  3:30 UTC (permalink / raw)
  To: hdegoede
  Cc: andy.shevchenko, platform-driver-x86, linux-kernel, Luke D. Jones

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


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

end of thread, other threads:[~2022-08-09  9:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-09  3:30 [PATCH v3 0/2] asus-wmi: add support for ROG XFlow tablet mode Luke D. Jones
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

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®