/* SPDX-License-Identifier: GPL-2.0-only */ /* * EC communication interface for ITE Embedded Controller */ #ifndef _EC_STARLABS_CML_EC_DEFS_H #define _EC_STARLABS_CML_EC_DEFS_H /* IT8987 chip ID byte values */ #define ITE_CHIPID_VAL 0x8987 /* EC RAM offsets */ #define ECRAM_KBL_TIMEOUT 0x07 #define ECRAM_FN_CTRL_REVERSE 0x08 #define ECRAM_FAN_MODE 0x09 #define ECRAM_MAX_CHARGE 0x10 #define ECRAM_TRACKPAD_STATE 0x14 #define ECRAM_KBL_STATE 0x18 #define ECRAM_KBL_BRIGHTNESS 0x19 #define ECRAM_FN_LOCK_STATE 0x2c #endif