]> git.karo-electronics.de Git - linux-beck.git/commit
drm: bridge: analogix/dp: split exynos dp driver to bridge directory
authorYakir Yang <ykk@rock-chips.com>
Tue, 29 Mar 2016 01:57:03 +0000 (09:57 +0800)
committerYakir Yang <ykk@rock-chips.com>
Tue, 5 Apr 2016 02:11:48 +0000 (10:11 +0800)
commit3424e3a4f844c0a62128feb388d04ed6b65f6b20
tree4fbf40149ee162867228da3fe1c7362ab6c844f1
parent4604202ca8d2a5e33b4bca0812b5d92975ed1bd8
drm: bridge: analogix/dp: split exynos dp driver to bridge directory

Split the dp core driver from exynos directory to bridge directory,
and rename the core driver to analogix_dp_*, rename the platform
code to exynos_dp.

Beside the new analogix_dp driver would export six hooks.
"analogix_dp_bind()" and "analogix_dp_unbind()"
"analogix_dp_suspned()" and "analogix_dp_resume()"
"analogix_dp_detect()" and "analogix_dp_get_modes()"

The bind/unbind symbols is used for analogix platform driver to connect
with analogix_dp core driver. And the detect/get_modes is used for analogix
platform driver to init the connector.

They reason why connector need register in helper driver is rockchip drm
haven't implement the atomic API, but Exynos drm have implement it, so
there would need two different connector helper functions, that's why we
leave the connector register in helper driver.

Acked-by: Inki Dae <inki.dae@samsung.com>
Tested-by: Caesar Wang <wxt@rock-chips.com>
Tested-by: Douglas Anderson <dianders@chromium.org>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Tested-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Yakir Yang <ykk@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
13 files changed:
drivers/gpu/drm/bridge/Kconfig
drivers/gpu/drm/bridge/Makefile
drivers/gpu/drm/bridge/analogix/Kconfig [new file with mode: 0644]
drivers/gpu/drm/bridge/analogix/Makefile [new file with mode: 0644]
drivers/gpu/drm/bridge/analogix/analogix_dp_core.c [new file with mode: 0644]
drivers/gpu/drm/bridge/analogix/analogix_dp_core.h [new file with mode: 0644]
drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c [moved from drivers/gpu/drm/exynos/exynos_dp_reg.c with 84% similarity]
drivers/gpu/drm/bridge/analogix/analogix_dp_reg.h [moved from drivers/gpu/drm/exynos/exynos_dp_reg.h with 98% similarity]
drivers/gpu/drm/exynos/Kconfig
drivers/gpu/drm/exynos/Makefile
drivers/gpu/drm/exynos/exynos_dp_core.c
drivers/gpu/drm/exynos/exynos_dp_core.h [deleted file]
include/drm/bridge/analogix_dp.h [new file with mode: 0644]