1 /* SPDX-License-Identifier: GPL-2.0-only */
7 * EC communication interface for ITE Embedded Controller
10 #ifndef _EC_STARLABS_CEZANNE_EC_DEFS_H
11 #define _EC_STARLABS_CEZANNE_EC_DEFS_H
13 /* IT5570 chip ID byte values */
14 #define ITE_CHIPID_VAL 0x5570
17 #define ECRAM_TRACKPAD_STATE 0x14
18 #define ECRAM_FN_CTRL_REVERSE 0x1a
19 #define ECRAM_MAX_CHARGE 0x31
20 #define ECRAM_FAN_MODE 0x32
21 #define ECRAM_KBL_TIMEOUT 0x34
22 #define ECRAM_KBL_STATE 0x35
23 #define ECRAM_KBL_BRIGHTNESS 0x36
24 #define ECRAM_FN_LOCK_STATE 0x70
25 #define ECRAM_FAST_CHARGE dead_code_t(uint8_t)
26 #define ECRAM_MIRROR_FLAG 0x05