1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #ifndef _EC_DELL_MEC5035_H_
4 #define _EC_DELL_MEC5035_H_
8 #define NUM_REGISTERS 32
10 /* Touchpad (TP) and mouse related. The EC seems to
11 default to 0 which results in the TP not working. */
12 #define CMD_MOUSE_TP 0x1a
13 #define SERIAL_MOUSE 0 /* Disable TP, force use of a serial mouse */
14 #define PS2_MOUSE 1 /* Disable TP when using a PS/2 mouse */
15 #define TP_PS2_MOUSE 2 /* Leave TP enabled when using a PS/2 mouse */
17 #define CMD_CPU_OK 0xc2
19 u8
mec5035_mouse_touchpad(u8 setting
);
20 void mec5035_cpu_ok(void);
21 void mec5035_early_init(void);
23 #endif /* _EC_DELL_MEC5035_H_ */