1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #ifndef EC_CLEVO_IT5570E_EC_H
4 #define EC_CLEVO_IT5570E_EC_H
6 #include <device/device.h>
9 #define IT5570E_UART1 0x01 /* UART1 */
10 #define IT5570E_UART2 0x02 /* UART2 */
11 #define IT5570E_SWUC 0x04 /* System Wake-Up Control */
12 #define IT5570E_KBCM 0x05 /* PS/2 KBC Mouse */
13 #define IT5570E_KBCK 0x06 /* PS/2 KBC Keyboard */
14 #define IT5570E_CIR 0x0a /* Consumer IR */
15 #define IT5570E_SMFI 0x0f /* Shared Memory/Flash Interface */
16 #define IT5570E_RTCT 0x10 /* RTC-like Timer */
17 #define IT5570E_PM1 0x11 /* Power Management Channel 1 */
18 #define IT5570E_PM2 0x12 /* Power Management Channel 2 */
19 #define IT5570E_SSPI 0x13 /* Serial Peripheral Interface */
20 #define IT5570E_PECI 0x14 /* Platform Environment Control Interface */
21 #define IT5570E_PM3 0x17 /* Power Management Channel 3 */
22 #define IT5570E_PM4 0x18 /* Power Management Channel 4 */
23 #define IT5570E_PM5 0x19 /* Power Management Channel 5 */
26 #define HLPCRAMBA_15_12 0xf5
27 #define HLPCRAMBA_23_16 0xf6
28 #define HLPCRAMBA_24 0xfc
30 void ec_fan_curve_fill_ssdt(const struct device
*dev
);
32 #endif /* EC_CLEVO_IT5570E_EC_H */