projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9abf231
)
platform/x86: asus-wmi: Add support for ROG X16 tablet mode
author
Luke D. Jones
<luke@ljones.dev>
Mon, 10 Oct 2022 06:30:09 +0000
(19:30 +1300)
committer
Hans de Goede
<hdegoede@redhat.com>
Mon, 24 Oct 2022 09:24:08 +0000
(11:24 +0200)
Add quirk for ASUS ROG X16 Flow 2-in-1 to enable tablet mode with
lid flip (all screen rotations).
Signed-off-by: Luke D. Jones <luke@ljones.dev>
Link:
https://lore.kernel.org/r/20221010063009.32293-1-luke@ljones.dev
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/asus-nb-wmi.c
patch
|
blob
|
history
diff --git
a/drivers/platform/x86/asus-nb-wmi.c
b/drivers/platform/x86/asus-nb-wmi.c
index
613c45c
..
c685a70
100644
(file)
--- a/
drivers/platform/x86/asus-nb-wmi.c
+++ b/
drivers/platform/x86/asus-nb-wmi.c
@@
-464,6
+464,15
@@
static const struct dmi_system_id asus_quirks[] = {
},
.driver_data = &quirk_asus_tablet_mode,
},
+ {
+ .callback = dmi_matched,
+ .ident = "ASUS ROG FLOW X16",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
+ DMI_MATCH(DMI_PRODUCT_NAME, "GV601R"),
+ },
+ .driver_data = &quirk_asus_tablet_mode,
+ },
{},
};