coreboot/src/ec
Daisuke Nojiri d182b63347 mainboard/google/fizz: Check HDMI HPD and DisplayPort HPD
Some type-c monitors do not immediately assert HPD. If we continue
to boot without HPD asserted, Depthcharge fails to show pictures
on a monitor even if HPD is asserted later.

Also, if an HDMI monitor is connected, no wait is needed. If only
an HDMI monitor is connected, currently the API always loops until
the stopwatch expires.

This patch will make the AP skip DisplayPort wait loop if it detects
an HDMI monitor. And if an HDMI monitor is not detected, the AP will
wait for DisplayPort mode (like before) but also its HPD signal.

This patch also extends the wait loop time-out to 3 seconds.

BUG=b:72387533
BRANCH=none
TEST=Verify firmware screen is displayed even when a type-c monitor
does not immediately assert HPD. Verify if HDMI monitor is connected,
AP does not wait (and firmware screen is displayed on HDMI monitor).

Change-Id: I0e1afdffbebf4caf35bbb792e7f4637fae89fa49
Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
Reviewed-on: https://review.coreboot.org/23816
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
2018-03-06 08:50:51 +00:00
..
acpi ec/acpi: add mechanisms to clear EC output queue 2017-11-07 12:26:42 +00:00
compal/ene932 device/pnp: remove struct io_info 2017-06-13 15:21:58 +02:00
google/chromeec mainboard/google/fizz: Check HDMI HPD and DisplayPort HPD 2018-03-06 08:50:51 +00:00
hp/kbc1126 ec/hp/kbc1126: change the default offset of the blobs 2017-12-25 14:44:23 +00:00
kontron/it8516e device/pnp: remove struct io_info 2017-06-13 15:21:58 +02:00
lenovo ec/h8: Store PWRS and notify CPU on AC power plug/unplug events 2018-01-17 17:08:22 +00:00
purism/librem ec/purism/librem: fix battery present rate 2017-09-19 14:11:07 +00:00
quanta ec/quanta/it8518: add missing HID to SIO device 2017-09-19 14:11:26 +00:00
roda/it8518 device/pnp: remove struct io_info 2017-06-13 15:21:58 +02:00
smsc/mec1308 ec/mec1308: Fix fan control ACPI 2017-07-08 19:06:00 +00:00
ec.h mainboards,ec: provide common declaration for mainboard_ec_init() 2016-09-26 23:53:12 +02:00