platform/x86: hp_accel: Add support for HP ZBook 17 G5
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.
Signed-off-by Kai-Heng Feng <[email protected]>
--- drivers/platform/x86/hp_accel.c | 1 + 1 file changed, 1 insertion(+)
drivers/platform/x86/hp_accel.c +1 -0
@@ -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
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
Signed-off-by Kai-Heng Feng <[email protected]>--- drivers/platform/x86/hp_accel.c | 1 + 1 file changed, 1 insertion(+)drivers/platform/x86/hp_accel.c +1
-1@@ -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