]> 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)
commited777500a5c4a8f3153f9ef0745f847e2e14536c
treef9383e034daa8152728a47a05484b1ddc813d21a
parent477e04702f04872eae60f9798a5ad050662aa5ad
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