Skip to content

[RK3568][DTS] Add VOP settings for LVDS support

Michele Cirinei requested to merge feature/lvds_panel into seco_2017.09_next

Original version of RK u-boot loads kernel device tree as soon as possible, that is much more detailed. We could do the same by:

  • using CONFIG_ROCKCHIP_EARLY_DISTRO_DTB_PATH, CONFIG_ROCKCHIP_EARLY_DISTRO_DTB and CONFIG_USING_KERNEL_DTB
  • declaring the boot partition as active (that is bootable)

However, this has several drawbacks:

  • using DTBOs in kernel, we do not have full DTBs ready to use, and should either implement dedicated DTBO management or prepare a specific kernel dtb to use
  • kernel DTB uses features from kernel drivers, which may, or may not, be present in u-boot; therefore, we should fix whatever is not correctly present in u-boot either in drivers or in device tree

We prefer to maintain kernel and u-boot as separated as possible, and import in u-boot everything that is necessary in u-boot.

This patch imports from kernel to u-boot device tree some settings that are necessary to correctly load and lvds display. We decided to limit the porting to what is strictly necessary, instead of copying every part of the display subsystem that is different in kernel.

Merge request reports

Loading