]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/rockchip/dsi: dw-mipi: support RK3399 mipi dsi
authorChris Zhong <zyw@rock-chips.com>
Mon, 20 Feb 2017 08:02:18 +0000 (16:02 +0800)
committerSean Paul <seanpaul@chromium.org>
Wed, 1 Mar 2017 19:49:01 +0000 (14:49 -0500)
commitef6eba19927c72c8168db6ef73b1c9a424b4b660
treeee2d86f2d923f2bbb215f7015cf19c0ec35f5fc7
parent7fea5243d1ae912285b7caea81d756ff18f2bcaa
drm/rockchip/dsi: dw-mipi: support RK3399 mipi dsi

The vopb/vopl switch register of RK3399 mipi is different from RK3288,
the default setting for mipi dsi mode is different too, so add a
of_device_id structure to distinguish them, and make sure set the
correct mode before mipi phy init.

Signed-off-by: Chris Zhong <zyw@rock-chips.com>
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/1487577744-2855-3-git-send-email-zyw@rock-chips.com
drivers/gpu/drm/rockchip/dw-mipi-dsi.c