1 /* SPDX-License-Identifier: GPL-2.0-only */
6 #define EC_SCI_GPI 7 /* GPIO7 is EC_SCI# */
7 #define EC_SMI_GPI 8 /* GPIO8 is EC_SMI# */
8 #define EC_LID_GPI 15 /* GPIO15 is EC_LID_OUT# */
10 /* EC SMI sources TODO - make defines
13 #define EC_NO_EVENT 0x80
15 * DTS temperature update A0h
16 * Decrease brightness event A1h
17 * Increase brightness event A2h
21 #define EC_LID_CLOSE 0xA6
22 /* Bluetooth wake up event A9h
23 * Display change (LCD , CRT) ACh
26 * Battery life in critical low state (LLB) B2h
28 #define EC_BATTERY_CRITICAL 0xB2
30 * Battery life in low power state (LB) B3h
32 * Docked in request BAh
34 * Power button pressed C2h
35 * AC power plug-in C7h
36 * AC power plug-out C8h
38 * PME signal active CEh
39 * Acer Hotkey Function - Make event D5h
40 * Acer Hotkey Function - Break event D6h
44 void parrot_ec_init(void);