DRM: mipi: support rk3399 mipi dsi
authorChris Zhong <zyw@rock-chips.com>
Sat, 19 Mar 2016 03:31:37 +0000 (11:31 +0800)
committerGerrit Code Review <gerrit@rock-chips.com>
Thu, 31 Mar 2016 10:46:57 +0000 (18:46 +0800)
commitaad61833765eb0b0b3b5c94d2ab933af2a3a0e84
treef9957f22fe5f8e46fecd9b5bf7de102f088404cb
parent0a58123e6e902de54b363daecf61d6a9069173ae
DRM: 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.

Change-Id: I54542752dddd1b28fc0500c0a763f14c29fe98f0
Signed-off-by: Chris Zhong <zyw@rock-chips.com>
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
drivers/gpu/drm/rockchip/dw-mipi-dsi.c