diff options
author | Tom Rini <trini@konsulko.com> | 2020-10-30 22:55:16 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-10-30 23:13:13 -0400 |
commit | 2c31d7e746766f47a007f39c030706e493a9cc77 (patch) | |
tree | be0e2fb0bef7a7b5195817dcaf9a3d025ea34484 /drivers/video | |
parent | 63d4607e03e5f1f7ab9a18bc640e31f7d28874b4 (diff) | |
parent | 43ed7a098d62e700ac024ab913f3be17a6974bb2 (diff) | |
download | u-boot-2c31d7e746766f47a007f39c030706e493a9cc77.tar.gz u-boot-2c31d7e746766f47a007f39c030706e493a9cc77.tar.bz2 u-boot-2c31d7e746766f47a007f39c030706e493a9cc77.zip |
Merge tag 'u-boot-rockchip-20201031' of https://gitlab.denx.de/u-boot/custodians/u-boot-rockchip
- New PX30 board: Engicam PX30.Core;
- Fix USB HID support for rock960;
- Remove host endianness dependency for rockchip mkimage;
- dts update for rk3288-tinker;
- Enable console MUX for some ROCKPi boards;
- Add config-based ddr selection for px30;
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/rockchip/Kconfig | 4 | ||||
-rw-r--r-- | drivers/video/rockchip/rk_edp.c | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/drivers/video/rockchip/Kconfig b/drivers/video/rockchip/Kconfig index 5215a71f99..0ade631bd5 100644 --- a/drivers/video/rockchip/Kconfig +++ b/drivers/video/rockchip/Kconfig @@ -22,7 +22,7 @@ menuconfig VIDEO_ROCKCHIP config VIDEO_ROCKCHIP_MAX_XRES int "Maximum horizontal resolution (for memory allocation purposes)" depends on VIDEO_ROCKCHIP - default 3840 if ROCKCHIP_RK3399 && DISPLAY_ROCKCHIP_HDMI + default 3840 if DISPLAY_ROCKCHIP_HDMI default 1920 help The maximum horizontal resolution to support for the framebuffer. @@ -32,7 +32,7 @@ config VIDEO_ROCKCHIP_MAX_XRES config VIDEO_ROCKCHIP_MAX_YRES int "Maximum vertical resolution (for memory allocation purposes)" depends on VIDEO_ROCKCHIP - default 2160 if ROCKCHIP_RK3399 && DISPLAY_ROCKCHIP_HDMI + default 2160 if DISPLAY_ROCKCHIP_HDMI default 1080 help The maximum vertical resolution to support for the framebuffer. diff --git a/drivers/video/rockchip/rk_edp.c b/drivers/video/rockchip/rk_edp.c index 000bd48140..a032eb6889 100644 --- a/drivers/video/rockchip/rk_edp.c +++ b/drivers/video/rockchip/rk_edp.c @@ -559,6 +559,12 @@ static int rk_edp_link_train_ce(struct rk_edp_priv *edp) channel_eq = 0; for (tries = 0; tries < 5; tries++) { rk_edp_set_link_training(edp, edp->train_set); + ret = rk_edp_dpcd_write(regs, DPCD_TRAINING_LANE0_SET, + edp->train_set, + edp->link_train.lane_count); + if (ret) + return ret; + udelay(400); if (rk_edp_dpcd_read_link_status(edp, status) < 0) { |