blob: bb6eb052a99f69b4db87d40ac70c4c0e6e3745af [file] [log] [blame]
Sven Schnelle3aefab52011-06-22 16:08:32 +02001/*
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 Schnelle3aefab52011-06-22 16:08:32 +020014 */
15
Sven Schnelleffcd1432011-04-11 19:43:32 +000016#ifndef EC_LENOVO_H8EC_CHIP_H
17#define EC_LENOVO_H8EC_CHIP_H
18
Sven Schnelleffcd1432011-04-11 19:43:32 +000019struct 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 Serbinenkof3c3dae2014-01-12 15:19:50 +010046 u8 has_keyboard_backlight;
Vladimir Serbinenko9a3b9c42014-01-11 20:56:47 +010047 u8 has_power_management_beeps;
Vladimir Serbinenko883e7ac2014-08-13 01:22:13 +020048 u8 has_uwb;
Sven Schnelleffcd1432011-04-11 19:43:32 +000049};
Edward O'Callaghanb57fef92014-06-17 20:13:08 +100050
51#endif /* EC_LENOVO_H8EC_CHIP_H */