drm/rockchip: analogix_dp: split the lcdc select setting into device data
authorYakir Yang <ykk@rock-chips.com>
Wed, 29 Jun 2016 09:15:01 +0000 (17:15 +0800)
committerYakir Yang <ykk@rock-chips.com>
Tue, 5 Jul 2016 01:16:33 +0000 (09:16 +0800)
commitd9c900b0270a18101403cf5e95c1639fccd43a9f
tree5a8e0a2b66f5804f0f79ebb94ea189023194b723
parent5dd0775e502b26b44e5bcb5f504a977a565f2f3e
drm/rockchip: analogix_dp: split the lcdc select setting into device data

eDP controller need to declare which vop provide the video source,
and it's defined in GRF registers.

But different chips have different GRF register address, so we need to
create a device data to declare the GRF messages for each chips.

Signed-off-by: Yakir Yang <ykk@rock-chips.com>
Acked-by: Mark Yao <mark.yao@rock-chips.com>
Reviewed-by: Tomasz Figa <tfiga@chromium.org>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
drivers/gpu/drm/rockchip/analogix_dp-rockchip.c