[PATCH] hp_accel: add support for HP Pavilion Gaming Laptop
From: Pavel Skripkin
Date: Fri Nov 13 2026 - 10:49:44 EST
Accelerometer in that laptop uses inverted X axes.
Signed-off-by: Pavel Skripkin <paskripkin@xxxxxxxxx>
---
drivers/platform/x86/hp/hp_accel.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/platform/x86/hp/hp_accel.c b/drivers/platform/x86/hp/hp_accel.c
index 40e1b9fb1b6d..46ae98deb919 100644
--- a/drivers/platform/x86/hp/hp_accel.c
+++ b/drivers/platform/x86/hp/hp_accel.c
@@ -233,6 +233,7 @@ static const struct dmi_system_id lis3lv02d_dmi_ids[] = {
AXIS_DMI_MATCH("HPZBook15", "HP ZBook 15", x_inverted),
AXIS_DMI_MATCH("HPZBook17G5", "HP ZBook 17 G5", x_inverted),
AXIS_DMI_MATCH("HPZBook17", "HP ZBook 17", xy_swap_yz_inverted),
+ AXIS_DMI_MATCH("HPPavilion15ec", "HP Pavilion Gaming Laptop 15-ec1xxx", x_inverted),
{ NULL, }
/* Laptop models without axis info (yet):
* "NC6910" "HP Compaq 6910"
--
2.56.0