]> git.baikalelectronics.ru Git - 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)
commit5f43156d90be001f8074e13aa19a68c8c5f5c85e
treeee2d86f2d923f2bbb215f7015cf19c0ec35f5fc7
parent4a7141ba5b66216b2fe7d528413c309fd1a4e959
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