Skip to contentSkip to conversation

platform/x86: hp_accel: Add support for HP ZBook 17 G5

PATCH In review Kai-Heng Feng 2 participants 2 messages Jul 10, 2019 – Jul 25, 2019 x86 platform drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 platform/x86: hp_accel: Add support for HP ZBook 17 G5

HP ZBook 17 G5 needs a non-standard mapping, x_inverted.

---
 drivers/platform/x86/hp_accel.c | 1 +
 1 file changed, 1 insertion(+)
drivers/platform/x86/hp_accel.c +1 -0
index f61b8a176e20..cfc0e36a7a5e 100644
@@ -239,6 +239,7 @@ static const struct dmi_system_id lis3lv02d_dmi_ids[] = {
 	AXIS_DMI_MATCH("HPB64xx", "HP EliteBook 84", xy_swap),
 	AXIS_DMI_MATCH("HPB65xx", "HP ProBook 65", x_inverted),
 	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),
 	{ NULL, }
 /* Laptop models without axis info (yet):
Signature · 1 line
2.17.1
#1 lore raw
Quoted 3 lines · Kai-Heng Feng

HP ZBook 17 G5 needs a non-standard mapping, x_inverted.

Pushed to my review and testing queue, thanks!

Quoted 20 lines
---
 drivers/platform/x86/hp_accel.c | 1 +
 1 file changed, 1 insertion(+)
drivers/platform/x86/hp_accel.c +1 -1
index f61b8a176e20..cfc0e36a7a5e 100644
@@ -239,6 +239,7 @@ static const struct dmi_system_id lis3lv02d_dmi_ids[] = {
        AXIS_DMI_MATCH("HPB64xx", "HP EliteBook 84", xy_swap),
        AXIS_DMI_MATCH("HPB65xx", "HP ProBook 65", x_inverted),
        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),
        { NULL, }
 /* Laptop models without axis info (yet):
--

2.17.1

Signature · 2 lines
With Best Regards,
Andy Shevchenko