rk3288: support edp HPD function

Hardware / Coreboot - huang lin [rock-chips.com] - 15 April 2015 15:13 UTC

we use the delay 200ms to meet the edp power timing request before, it waste time, so we use the HPD function to detect the edp panel now. In previous version, the hardware may not support the edp HPD function, so in the code it will spend 200ms to detect hpd single, if it don't get the hpd single, it will contiue the edp initialization process, to compatible all of the hardware version.

BUG=chrome-os-partner:35623 TEST=Boot from Mighty, and display normal BRANCH=None

Change-Id: I82c6a80e37fa42eef3521e6ebbf190d7e80fcece

c14e426 rk3288: support edp HPD function
src/mainboard/google/veyron_jerry/devicetree.cb | 1 -
src/mainboard/google/veyron_jerry/mainboard.c | 4 ++
src/mainboard/google/veyron_mighty/devicetree.cb | 1 -
src/mainboard/google/veyron_mighty/mainboard.c | 4 ++
src/mainboard/google/veyron_pinky/devicetree.cb | 1 -
src/mainboard/google/veyron_pinky/mainboard.c | 4 ++
src/mainboard/google/veyron_speedy/devicetree.cb | 1 -
src/mainboard/google/veyron_speedy/mainboard.c | 4 ++
src/soc/rockchip/rk3288/chip.h | 1 -
src/soc/rockchip/rk3288/display.c | 1 -
src/soc/rockchip/rk3288/edp.c | 45 ++++++++++++++++++++++
src/soc/rockchip/rk3288/include/soc/grf.h | 6 ++-
12 files changed, 66 insertions(+), 7 deletions(-)

Upstream: review.coreboot.org


  • Share