From c0a1625df13ac9e95ca4de849ac52bb3af29c7b6 Mon Sep 17 00:00:00 2001 From: Patrick Rudolph Date: Tue, 30 Oct 2018 17:38:13 +0100 Subject: mb/lenovo/t400: Improve docking code * Remove dead code * Add support for types 2504 and 2505 * Print dock info at romstage entry * Improve dock disconnect for type 2505 * Move defines into dock.h for future ACPI code * Reduce timeouts according to spec to decrease boot time on error * Fix no docking detection (reduces boot time by 1 second) * Configure GPIO LDN before reading GPIOs * Use Kconfig values instead of fixed defines * Add documentation Tested on Lenovo T500 with docking 2504 and 2505. Change-Id: Ic4510ffadc67da95961cecd51a6d8ed856b3ac99 Signed-off-by: Patrick Rudolph Reviewed-on: https://review.coreboot.org/29418 Tested-by: build bot (Jenkins) Reviewed-by: Felix Held --- Documentation/mainboard/lenovo/t4xx_series.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'Documentation/mainboard/lenovo/t4xx_series.md') diff --git a/Documentation/mainboard/lenovo/t4xx_series.md b/Documentation/mainboard/lenovo/t4xx_series.md index e5e90f1e6f..3ca70470a1 100644 --- a/Documentation/mainboard/lenovo/t4xx_series.md +++ b/Documentation/mainboard/lenovo/t4xx_series.md @@ -18,3 +18,17 @@ the whole device. * Unplug the power cable * Remove the bottom enclosure * Flip the mainboard and remove the main frame + +## Docking stations +The following docking stations are supported by coreboot: +* Type 2505 + * VGA, Ethernet, Modem, PS2, 4 USB Ports + * Dock ID on pc87382 reads as: 2 +* Type 2504 + * Serial, LPT, LEDs, Audio, DVI, VGA, Ethernet, Modem, PS2, 4 USB Ports + * Dock ID on pc87382 reads as: 1 + * PNP IO address of SuperIO pc87384: 0x2e + +There's no hotplug support for LPT and Serial on Type 2504. + +The Dock ID reads as 7 if no dock is connected. -- cgit v1.2.3