| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Synaptics TouchPad PS/2 mouse driver |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 15 | 16 | * Copyright (c) 1997 C. Scott Ananian <cananian@alumni.priceton.edu> |
|---|
| 16 | 17 | * Copyright (c) 1998-2000 Bruce Kalk <kall@compass.com> |
|---|
| 17 | 18 | * code for the special synaptics commands (from the tpconfig-source) |
|---|
| 18 | | - * |
|---|
| 19 | | - * This program is free software; you can redistribute it and/or modify it |
|---|
| 20 | | - * under the terms of the GNU General Public License version 2 as published by |
|---|
| 21 | | - * the Free Software Foundation. |
|---|
| 22 | 19 | * |
|---|
| 23 | 20 | * Trademarks are the property of their respective owners. |
|---|
| 24 | 21 | */ |
|---|
| .. | .. |
|---|
| 182 | 179 | "LEN0093", /* T480 */ |
|---|
| 183 | 180 | "LEN0096", /* X280 */ |
|---|
| 184 | 181 | "LEN0097", /* X280 -> ALPS trackpoint */ |
|---|
| 185 | | - "LEN0099", /* X1 Extreme 1st */ |
|---|
| 182 | + "LEN0099", /* X1 Extreme Gen 1 / P1 Gen 1 */ |
|---|
| 186 | 183 | "LEN009b", /* T580 */ |
|---|
| 184 | + "LEN0402", /* X1 Extreme Gen 2 / P1 Gen 2 */ |
|---|
| 187 | 185 | "LEN200f", /* T450s */ |
|---|
| 188 | 186 | "LEN2044", /* L470 */ |
|---|
| 189 | 187 | "LEN2054", /* E480 */ |
|---|
| 190 | 188 | "LEN2055", /* E580 */ |
|---|
| 189 | + "LEN2068", /* T14 Gen 1 */ |
|---|
| 191 | 190 | "SYN3052", /* HP EliteBook 840 G4 */ |
|---|
| 192 | 191 | "SYN3221", /* HP 15-ay000 */ |
|---|
| 193 | 192 | "SYN323d", /* HP Spectre X360 13-w013dx */ |
|---|
| .. | .. |
|---|
| 202 | 201 | }; |
|---|
| 203 | 202 | |
|---|
| 204 | 203 | /* |
|---|
| 205 | | - * Send a command to the synpatics touchpad by special commands |
|---|
| 204 | + * Send a command to the synaptics touchpad by special commands |
|---|
| 206 | 205 | */ |
|---|
| 207 | 206 | static int synaptics_send_cmd(struct psmouse *psmouse, u8 cmd, u8 *param) |
|---|
| 208 | 207 | { |
|---|
| .. | .. |
|---|
| 716 | 715 | |
|---|
| 717 | 716 | serio->id.type = SERIO_PS_PSTHRU; |
|---|
| 718 | 717 | strlcpy(serio->name, "Synaptics pass-through", sizeof(serio->name)); |
|---|
| 719 | | - strlcpy(serio->phys, "synaptics-pt/serio0", sizeof(serio->name)); |
|---|
| 718 | + strlcpy(serio->phys, "synaptics-pt/serio0", sizeof(serio->phys)); |
|---|
| 720 | 719 | serio->write = synaptics_pt_write; |
|---|
| 721 | 720 | serio->start = synaptics_pt_start; |
|---|
| 722 | 721 | serio->stop = synaptics_pt_stop; |
|---|
| .. | .. |
|---|
| 1755 | 1754 | .kernel_tracking = false, |
|---|
| 1756 | 1755 | .topbuttonpad = topbuttonpad, |
|---|
| 1757 | 1756 | }, |
|---|
| 1758 | | - .f30_data = { |
|---|
| 1757 | + .gpio_data = { |
|---|
| 1759 | 1758 | .buttonpad = SYN_CAP_CLICKPAD(info->ext_cap_0c), |
|---|
| 1760 | 1759 | .trackstick_buttons = |
|---|
| 1761 | 1760 | !!SYN_CAP_EXT_BUTTONS_STICK(info->ext_cap_10), |
|---|