drm: rockchip: vop: add rk3066 vop definitions
authorMark Yao <mark.yao@rock-chips.com>
Sat, 29 Dec 2018 13:33:14 +0000 (14:33 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Sat, 12 Jan 2019 18:42:58 +0000 (19:42 +0100)
commitf4a6de855eae10bba725c6dae65fa1e351c9cd25
treed153f10a56a669da305646d7bdcc2e0696cedb57
parentb981a6863e9be995c53cd74f545d3729fcf517f8
drm: rockchip: vop: add rk3066 vop definitions

This patch adds the rk3066 VOP definitions.

The VOP or LCD Controller serves as interface between
framebuffer memory and a display device (LCD panel or TV set).

This SOC has two symmetrical LCDC's for a dual panel application.

A LCDC has 5 display layers.
Only 3 are used here.

- Video layer 0 (Win0)
- Video layer 1 (Win1)
- OSD layer     (Win2)

Win0 and Win1 are exchangeable.
Maximum resolution is 1920x1080.

The LCDC0 output is connected to:
- LCDC0 IO (without IOMUX)
- HDMI TX video input

The LCDC1 output is connected to:
- LCDC1 IO (with IOMUX)
- HDMI TX video input

The HDMI TX input can switch between LCDC0 and LCDC1.

Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20181229133318.18128-4-jbx6244@gmail.com
Documentation/devicetree/bindings/display/rockchip/rockchip-vop.txt
drivers/gpu/drm/rockchip/rockchip_vop_reg.c
drivers/gpu/drm/rockchip/rockchip_vop_reg.h