coreboot-kgpe-d16/src/mainboard/lenovo/x200
Arthur Heymans a17796e601 mb/lenovo/x200/dock.asl: Issue DOCK ACPI events based on Dock ID
Some Dock events only need to happen based on the Dock Id (which
functions as a presence detect GPIO).

Inspired by vendor bios DSDT.

This fixes undock ACPI events being issued when pulling out the power
when docked or undocked (but still generates one when forcibly
undocked)

Tested on X200: pull power and see if undock events are generated in
dmesg.

Change-Id: I1eef971d49508bcd94d5d1cf2b70395b7cd80b1c
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/22919
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kevin Keijzer <kevin@quietlife.nl>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2018-01-15 01:06:27 +00:00
..
acpi mb/lenovo/x200/dock.asl: Issue DOCK ACPI events based on Dock ID 2018-01-15 01:06:27 +00:00
acpi_tables.c mb/lenovo/*/acpi_tables: Add critical and passive threshold 2017-08-27 13:07:21 +00:00
blc.c mb/lenovo/x200/blc: Add LTD121EQ3B panel at 447Hz 2017-05-25 17:04:14 +02:00
board_info.txt lenovo/x200/board_info.txt: Add SOIC-8 to ROM package 2016-11-21 21:50:02 +01:00
cmos.default mb/*/*: Remove rtc nvram configurable baud rate 2017-09-23 11:06:25 +00:00
cmos.layout mb/*/*: Remove rtc nvram configurable baud rate 2017-09-23 11:06:25 +00:00
cstates.c lenovo/x200,t400: enable C4 cpu low power state 2016-08-27 00:15:41 +02:00
devicetree.cb mb/lenovo/*/devicetree: Add BDC detection support 2017-09-11 23:14:26 +00:00
dock.c
dock.h lenovo: Don't use extern with functions 2016-12-13 19:16:56 +01:00
dsdt.asl
fadt.c
gpio.h lenovo/x200,t400: use gpio.h instead of gpio_setup 2016-09-02 18:08:01 +02:00
hda_verb.c
Kconfig Kconfig: Rework MAINBOARD_HAS_NATIVE_VGA_INIT_TEXTMODECFG 2017-06-02 18:35:41 +02:00
Kconfig.name
mainboard.c mb/lenvovo/*: Clean mainboard.c and devicetree 2017-05-21 16:38:52 +02:00
Makefile.inc Update files with no newline at the end 2017-07-24 15:08:16 +00:00
mptable.c
romstage.c sb/intel/i82801ix: fetch initial timestamp in bootblock 2017-11-23 04:59:26 +00:00