coreboot/src
Kenneth Chan 961cb4f04f mb/google/dedede: Add HPD GPIOs on dexi variant
Some Type-C monitors do not immediately assert HPD. If we enter FSP-S
before HDP is asserted, display initialisation may fail. So wait for
HPD.

This is similar to commit b40c600914 ("mainboard/hatch: Fix puff DP
output on cold boots") on puff, except we don't use
google_chromeec_wait_for_displayport() since that EC command was removed
for TCPMv2 (https://crrev.com/c/4221975). Instead we use the HPD signals
only. By waiting for any HPD signal (Type-C or HDMI), we skip waiting if
HDMI is connected, which is the same behaviour as puff and fizz.

BUG=b:303533815
BRANCH=dedede
TEST=On dexi, connect a display via a Type-C to HDMI dongle and check
the dev and recovery screens are now displayed correctly. Also check the
logs in the following cases:

Cold reboot in dev mode, Type-C to HDMI dongle:
HPD ready after 800 ms

Warm reboot in dev mode, Type-C to HDMI dongle:
HPD ready after 0 ms

Cold/warm reboot in dev mode, direct Type-C:
HPD ready after 0 ms

Cold/warm reboot in dev mode, direct HDMI:
HPD ready after 0 ms

Cold/warm reboot in dev mode, no display:
HPD not ready after 3000 ms. Abort.

Change-Id: Ib4fc071cac98a542072ffbeb6943bff4c988554c
Signed-off-by: Kenneth Chan <kenneth.chan@quanta.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/78450
Reviewed-by: Sheng-Liang Pan <sheng-liang.pan@quanta.corp-partner.google.com>
Reviewed-by: Ren Kuo <ren.kuo@quanta.corp-partner.google.com>
Reviewed-by: Eric Lai <ericllai@google.com>
Reviewed-by: David Wu <david_wu@quanta.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2023-10-23 13:01:28 +00:00
..
acpi acpi/acpigen: Allow general namestring in write mutex functions 2023-10-16 07:59:21 +00:00
arch x86: Add ramstage CBFS cache scratchpad support 2023-10-20 14:33:20 +00:00
commonlib cbfs: Restore 32-bit padding in cbfs_header 2023-10-06 10:11:31 +00:00
console commonlib,console,nb,sb,security: Add SPDX licenses to Makefiles 2023-08-14 15:14:45 +00:00
cpu cpu/intel/common: Define build time physical address reserved bits 2023-10-20 17:51:46 +00:00
device device/device.h: Rename pci_domain_scan_bus 2023-10-20 14:24:57 +00:00
drivers drivers/pc80/rtc/option.c: Stop resetting CMOS during s3 resume 2023-10-23 12:58:40 +00:00
ec Revert "ec/dell/mec5035: Hook up radio enables to option API" 2023-10-20 17:11:45 +00:00
include device/device.h: Rename pci_domain_scan_bus 2023-10-20 14:24:57 +00:00
lib x86: Add ramstage CBFS cache scratchpad support 2023-10-20 14:33:20 +00:00
mainboard mb/google/dedede: Add HPD GPIOs on dexi variant 2023-10-23 13:01:28 +00:00
northbridge x86: Add pre-memory stages CBFS cache scratchpad support 2023-10-20 14:32:44 +00:00
sbom payloads/Yabits: Remove deprecated Yabits Payload 2023-02-17 01:21:43 +00:00
security security/tpm: Enable Hibernate on setup failure 2023-10-02 17:06:32 +00:00
soc soc/amd/*: Set AMD_FW_AB_POSITION to either 64 or 128 bytes 2023-10-20 19:32:43 +00:00
southbridge sb/intel/bd82x6x/pcie: Drop register write 2023-10-12 12:41:17 +00:00
superio superio/smsc/sch5545/acpi/superio.asl: Clear PME status bits on SCI 2023-10-19 07:45:02 +00:00
vendorcode vc/intel/raptorlake: Use FSP v4301.01 headers for Google 2023-10-19 04:50:26 +00:00
Kconfig Kconfig: Bring HEAP_SIZE to a common, large value 2023-10-11 12:09:01 +00:00