Re: [PATCH] platform/x86: hp_accel: Add support for HP ZBook 17 G5
From: Andy Shevchenko
Date: Thu Jul 25 2019 - 14:09:13 EST
On Wed, Jul 10, 2019 at 8:33 AM Kai-Heng Feng
<kai.heng.feng@xxxxxxxxxxxxx> wrote:
>
> HP ZBook 17 G5 needs a non-standard mapping, x_inverted.
>
Pushed to my review and testing queue, thanks!
> Signed-off-by: Kai-Heng Feng <kai.heng.feng@xxxxxxxxxxxxx>
> ---
> drivers/platform/x86/hp_accel.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/platform/x86/hp_accel.c b/drivers/platform/x86/hp_accel.c
> index f61b8a176e20..cfc0e36a7a5e 100644
> --- a/drivers/platform/x86/hp_accel.c
> +++ b/drivers/platform/x86/hp_accel.c
> @@ -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
>
--
With Best Regards,
Andy Shevchenko