]> git.baikalelectronics.ru Git - kernel.git/commit
drm/rockchip: cdn-dp: add cdn DP support for rk3399
authorChris Zhong <zyw@rock-chips.com>
Sun, 5 Feb 2017 07:54:56 +0000 (15:54 +0800)
committerMark Yao <mark.yao@rock-chips.com>
Sun, 5 Feb 2017 08:29:29 +0000 (16:29 +0800)
commitd756e54da84002101cbace7e6e18df8a2a8b140f
treef9383e034daa8152728a47a05484b1ddc813d21a
parent0985741d238d15b1ddcd49b32acf993040a7f722
drm/rockchip: cdn-dp: add cdn DP support for rk3399

Add support for cdn DP controller which is embedded in the rk3399
SoCs. The DP is compliant with DisplayPort Specification,
Version 1.3, This IP is compatible with the rockchip type-c PHY IP.
There is a uCPU in DP controller, it need a firmware to work,
please put the firmware file to /lib/firmware/rockchip/dptx.bin. The
uCPU in charge of aux communication and link training, the host use
mailbox to communicate with the ucpu.
The dclk pin_pol of vop must not be invert for DP.

Signed-off-by: Chris Zhong <zyw@rock-chips.com>
[seanpaul fixed up some races between the worker and modeset]
[seanpaul squashed ~15 commits from chromium.org gerrit]
Signed-off-by: Sean Paul <seanpaul@chromium.org>
[groeck fixed compilation errors when building as module]
Signed-off-by: Guenter Roeck <groeck@chromium.org>
drivers/gpu/drm/rockchip/Kconfig
drivers/gpu/drm/rockchip/Makefile
drivers/gpu/drm/rockchip/cdn-dp-core.c [new file with mode: 0644]
drivers/gpu/drm/rockchip/cdn-dp-core.h [new file with mode: 0644]
drivers/gpu/drm/rockchip/cdn-dp-reg.c [new file with mode: 0644]
drivers/gpu/drm/rockchip/cdn-dp-reg.h [new file with mode: 0644]
drivers/gpu/drm/rockchip/rockchip_drm_vop.c
drivers/gpu/drm/rockchip/rockchip_drm_vop.h
drivers/gpu/drm/rockchip/rockchip_vop_reg.c