blob: 6942c391a32587b69b6052a40af7be1fc76e97d3 [file] [log] [blame]
/* SPDX-License-Identifier: GPL-2.0-only */
#include <assert.h>
#include <stdint.h>
/*
* EC communication interface for ITE Embedded Controller
*/
#ifndef _EC_STARLABS_CEZANNE_EC_DEFS_H
#define _EC_STARLABS_CEZANNE_EC_DEFS_H
/* IT5570 chip ID byte values */
#define ITE_CHIPID_VAL 0x5570
/* EC RAM offsets */
#define ECRAM_TRACKPAD_STATE 0x14
#define ECRAM_FN_CTRL_REVERSE 0x1a
#define ECRAM_MAX_CHARGE 0x31
#define ECRAM_FAN_MODE 0x32
#define ECRAM_KBL_TIMEOUT 0x34
#define ECRAM_KBL_STATE 0x35
#define ECRAM_KBL_BRIGHTNESS 0x36
#define ECRAM_FN_LOCK_STATE 0x70
#define ECRAM_FAST_CHARGE dead_code_t(uint8_t)
#endif