drm/rockchip/dsi: check phy_cfg_clk only for RK3399
authorChris Zhong <zyw@rock-chips.com>
Wed, 22 Mar 2017 01:54:48 +0000 (09:54 +0800)
committerSean Paul <seanpaul@chromium.org>
Fri, 24 Mar 2017 18:48:58 +0000 (14:48 -0400)
commit25f0b120727e0f191f6a4f6b4476a2191c22497a
treeb793517e24e4a82bb5b8f2c7017e98d022d02ac7
parent8820b68bd378db1821b23b93dbb5a1a06cbbdfdd
drm/rockchip/dsi: check phy_cfg_clk only for RK3399

For RK3399, the phy_cfg_clk is a required clock, if phy_cfg_clk is
disabled, MIPI phy can not work. Let's return a error if there is no
phy_cfg_clk in dts property, when the pdata match RK3399.

Signed-off-by: Chris Zhong <zyw@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/1490147691-4489-2-git-send-email-zyw@rock-chips.com
drivers/gpu/drm/rockchip/dw-mipi-dsi.c