Commit Graph

7 Commits

Author SHA1 Message Date
Kever Yang e2bce6e47e rockchip: video: convert display driver to live dt
Convert to live dt for kernel dtb, display driver will depends on
OF_LIVE after this patch.

Change-Id: I536e936d551c0320f30dca82c9cf376e77589ffc
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
2018-02-07 18:12:20 +08:00
Kever Yang 3016d3d41a rockchip: video: reserve memory for fb without bind video driver
The video DM need to bind video driver before relocate in order to
get the size need by video driver, which is fixed in rockchip platform,
we can get it without bind the driver.

With this patch, we don't need to enable the video/display nodes
in pre-reloc, and we can get all these nodes from kernel dtb.

Change-Id: I02d86b69e8c10bbf47e6b421c41b6dae20667a33
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
2018-02-01 10:05:11 +08:00
Algea Cao 8f7c31646f drm/rockchip: Using get device function to get display device.
If the uclass_find_device_by_of_offset display device probe function won't be
called. Display device's pinctrl will not take effect. SO we use
uclass_get_device_by_of_offset to get display device.

Change-Id: I1329eb5b5ffca7609dfc52bcc5623476f99bc8b0
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
2017-11-20 11:54:32 +08:00
Joseph Chen d38403e47b video: dram: remove rockchip logo show from probe
Because charge animation requires screen off when system
power is extrem low. Logo show should be behind after
charge animation, so remove it from probe.

Change-Id: I136416de96acc09b5f3a477890ec3489d8dde96b
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
2017-11-03 11:57:11 +08:00
Joseph Chen f8a3e58740 include: add video_rockchip.h
export interfaces for other driver.

Change-Id: Iaad51ec77a4427ff94d45d2ae32fff8060d72f7b
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
2017-10-31 16:13:16 +08:00
Mark Yao 4b8c2ef13c drm/rockchip: update: some fixes and new features
Change-Id: Ief38022bda85fb0e7e0d1024be7aea279428329d
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
2017-10-23 15:38:40 +08:00
Mark Yao 186f85721a drm/rockhcip: add drm rockchip display support
Change-Id: I5ef0e29d1e0855a7aa47bd0737835b79c53bf25a
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
2017-10-17 15:04:16 +08:00