forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/drivers/platform/x86/hp_accel.c
....@@ -1,23 +1,10 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * hp_accel.c - Interface between LIS3LV02DL driver and HP ACPI BIOS
34 *
45 * Copyright (C) 2007-2008 Yan Burman
56 * Copyright (C) 2008 Eric Piel
67 * Copyright (C) 2008-2009 Pavel Machek
7
- *
8
- * This program is free software; you can redistribute it and/or modify
9
- * it under the terms of the GNU General Public License as published by
10
- * the Free Software Foundation; either version 2 of the License, or
11
- * (at your option) any later version.
12
- *
13
- * This program is distributed in the hope that it will be useful,
14
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
- * GNU General Public License for more details.
17
- *
18
- * You should have received a copy of the GNU General Public License
19
- * along with this program; if not, write to the Free Software
20
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
218 */
229
2310 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
....@@ -245,6 +232,7 @@
245232 AXIS_DMI_MATCH("HPB440G3", "HP ProBook 440 G3", x_inverted_usd),
246233 AXIS_DMI_MATCH("HPB440G4", "HP ProBook 440 G4", x_inverted),
247234 AXIS_DMI_MATCH("HPB442x", "HP ProBook 442", xy_rotated_left),
235
+ AXIS_DMI_MATCH("HPB450G0", "HP ProBook 450 G0", x_inverted),
248236 AXIS_DMI_MATCH("HPB452x", "HP ProBook 452", y_inverted),
249237 AXIS_DMI_MATCH("HPB522x", "HP ProBook 522", xy_swap),
250238 AXIS_DMI_MATCH("HPB532x", "HP ProBook 532", y_inverted),
....@@ -255,6 +243,7 @@
255243 AXIS_DMI_MATCH("HPB64xx", "HP EliteBook 84", xy_swap),
256244 AXIS_DMI_MATCH("HPB65xx", "HP ProBook 65", x_inverted),
257245 AXIS_DMI_MATCH("HPZBook15", "HP ZBook 15", x_inverted),
246
+ AXIS_DMI_MATCH("HPZBook17G5", "HP ZBook 17 G5", x_inverted),
258247 AXIS_DMI_MATCH("HPZBook17", "HP ZBook 17", xy_swap_yz_inverted),
259248 { NULL, }
260249 /* Laptop models without axis info (yet):