This patchset add support for the rk3399 eDP. It has been tested on the pinebook pro and Google Kevin chromeos devices.
The changes have been written by studying the linux code, since I didn't find any manual for theses part of the RK3399 SoC. On the linux kernel side, on recent kernels, it needs commit "pwm: rockchip: Keep enabled PWMs running while probing" otherwise the pinebook pro will freeze when probing the display. Changes since v3: - Fix typos - Remove plat->base change. The plat->base modification was more to get a predictible framebuffer address. - Fix debug format patch to use 0x%ld Changes since v2: - Respect alphabetical order in uboot.dtsi in patch "rk3399-pinebook-pro-u-boot.dtsi: Enable edp" - drop "configs/pinebook-pro-rk3399_defconfig: enable SYS_USB_EVENT_POLL_VIA_INT_QUEUE" (pbp_defconfig_usb_poll.patch) patch, since the same change has been merged with change https://gitlab.denx.de/u-boot/custodians/u-boot-rockchip/-/commit/b197c934b11f611dcc1a083d90e68019d1e010cf - change patch subjects. Changes since v1: - Add reset support for the VOP and eDP. This was needed and it appears to also solve the issue with warm reset. - Fix a debug string in the vop driver - Drop the patch "drivers/video/rockchip/rk_edp.c: Change clock rate". - Address various comments