From b6ac3a299769ad458dbc28c6348f186342d4d556 Mon Sep 17 00:00:00 2001 From: Marc Jones Date: Thu, 5 Oct 2017 21:57:33 -0600 Subject: kahlee: Set Kahlee GPEs Add GPE configuration table. Remove GPE3 from the power button ASL and set the EC to GPE3(AGPIO22). Set the EC and PCIE/WLAN SCI GPIO signals. Set GPE ASL methods for: PCIE/WLAN 8h EHCI 18h XHCI 1fh Note EC GPE3 methods are in the EC ASL. BUG=b:63268311 BRANCH=none TEST=Test lidswitch powers the device on and off at the login screen. Change-Id: I27c880ee84b6797d999d4d5951602b654ede948e Signed-off-by: Marc Jones Reviewed-on: https://review.coreboot.org/22096 Reviewed-by: Aaron Durbin Tested-by: build bot (Jenkins) --- src/mainboard/google/kahlee/mainboard.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/mainboard/google/kahlee/mainboard.h (limited to 'src/mainboard/google/kahlee/mainboard.h') diff --git a/src/mainboard/google/kahlee/mainboard.h b/src/mainboard/google/kahlee/mainboard.h new file mode 100644 index 0000000000..5540d1b5db --- /dev/null +++ b/src/mainboard/google/kahlee/mainboard.h @@ -0,0 +1,23 @@ +/* + * This file is part of the coreboot project. + * + * Copyright (C) 2017 Advanced Micro Devices, Inc. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + +#ifndef MAINBOARD_H +#define MAINBOARD_H + +#include + +const struct sci_source *get_gpe_table(size_t *num); + +#endif /* MAINBOARD_H */ -- cgit v1.2.3