Sven Schnelle | 3aefab5 | 2011-06-22 16:08:32 +0200 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * Copyright (C) 2011 Sven Schnelle <svens@stackframe.org> |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License as published by |
| 8 | * the Free Software Foundation; version 2 of the License. |
| 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
Sven Schnelle | 3aefab5 | 2011-06-22 16:08:32 +0200 | [diff] [blame] | 14 | */ |
| 15 | |
Sven Schnelle | ffcd143 | 2011-04-11 19:43:32 +0000 | [diff] [blame] | 16 | #ifndef EC_LENOVO_H8EC_CHIP_H |
| 17 | #define EC_LENOVO_H8EC_CHIP_H |
| 18 | |
Sven Schnelle | ffcd143 | 2011-04-11 19:43:32 +0000 | [diff] [blame] | 19 | struct ec_lenovo_h8_config { |
| 20 | |
| 21 | u8 config0; |
| 22 | u8 config1; |
| 23 | u8 config2; |
| 24 | u8 config3; |
| 25 | |
| 26 | u8 beepmask0; |
| 27 | u8 beepmask1; |
| 28 | |
| 29 | u8 event0_enable; |
| 30 | u8 event1_enable; |
| 31 | u8 event2_enable; |
| 32 | u8 event3_enable; |
| 33 | u8 event4_enable; |
| 34 | u8 event5_enable; |
| 35 | u8 event6_enable; |
| 36 | u8 event7_enable; |
| 37 | u8 event8_enable; |
| 38 | u8 event9_enable; |
| 39 | u8 eventa_enable; |
| 40 | u8 eventb_enable; |
| 41 | u8 eventc_enable; |
| 42 | u8 eventd_enable; |
| 43 | u8 evente_enable; |
| 44 | u8 eventf_enable; |
| 45 | |
Vladimir Serbinenko | f3c3dae | 2014-01-12 15:19:50 +0100 | [diff] [blame] | 46 | u8 has_keyboard_backlight; |
Vladimir Serbinenko | 9a3b9c4 | 2014-01-11 20:56:47 +0100 | [diff] [blame] | 47 | u8 has_power_management_beeps; |
Vladimir Serbinenko | 883e7ac | 2014-08-13 01:22:13 +0200 | [diff] [blame] | 48 | u8 has_uwb; |
Sven Schnelle | ffcd143 | 2011-04-11 19:43:32 +0000 | [diff] [blame] | 49 | }; |
Edward O'Callaghan | b57fef9 | 2014-06-17 20:13:08 +1000 | [diff] [blame] | 50 | |
| 51 | #endif /* EC_LENOVO_H8EC_CHIP_H */ |