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
12 CMD_RADIO_CTRL
= 0x2b,
16 /* Touchpad (TP) and mouse related. The EC seems to
17 default to 0 which results in the TP not working. */
18 enum ec_mouse_setting
{
19 SERIAL_MOUSE
= 0, /* Disable TP, force use of a serial mouse */
20 PS2_MOUSE
, /* Disable TP when using a PS/2 mouse */
21 TP_PS2_MOUSE
/* Leave TP enabled when using a PS/2 mouse */
24 #define RADIO_CTRL_NUM_ARGS 3
36 u8
mec5035_mouse_touchpad(enum ec_mouse_setting setting
);
37 void mec5035_cpu_ok(void);
38 void mec5035_early_init(void);
39 void mec5035_control_radio(enum ec_radio_dev device
, enum ec_radio_state state
);
41 #endif /* _EC_DELL_MEC5035_H_ */