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 <siro@das-labor.org> Reviewed-on: https://review.coreboot.org/29418 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
This commit is contained in:
committed by
Felix Held
parent
d2c2f83964
commit
c0a1625df1
@@ -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.
|
||||
|
Reference in New Issue
Block a user