From 3173f857b63afaa4b4d4119311db7f6fb9191d09 Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Sun, 28 Feb 2021 15:23:59 +0100 Subject: mb/lenovo/x200: Fix docking events Even though `device` entries are children of `chip` entries in the devicetree source format, the chips in the translated C structures are only hooked up to device nodes. Hence, to configure a chip in a device- or overridetree, it always needs a `device` below it. This should fix docking events for the X200 ThinkPad. Change-Id: I561e7ae81f2e096a091868ce51daa1c8f66af067 Signed-off-by: Nico Huber Found-by: Kevin Keijzer Reviewed-on: https://review.coreboot.org/c/coreboot/+/51118 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons Reviewed-by: Kevin Keijzer Reviewed-by: Arthur Heymans --- src/mainboard/lenovo/x200/variants/x200/overridetree.cb | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mainboard/lenovo') diff --git a/src/mainboard/lenovo/x200/variants/x200/overridetree.cb b/src/mainboard/lenovo/x200/variants/x200/overridetree.cb index dd08f1f515..51beecc897 100644 --- a/src/mainboard/lenovo/x200/variants/x200/overridetree.cb +++ b/src/mainboard/lenovo/x200/variants/x200/overridetree.cb @@ -16,6 +16,7 @@ chip northbridge/intel/gm45 device pci 1f.0 on # LPC bridge chip ec/lenovo/pmh7 + device pnp ff.1 on end # dummy register "dock_event_enable" = "0x01" end chip superio/nsc/pc87382 -- cgit v1.2.3