drm/exynos/hdmi: use mappings for registers with IP dependent address
authorAndrzej Hajda <a.hajda@samsung.com>
Fri, 25 Sep 2015 12:48:16 +0000 (14:48 +0200)
committerInki Dae <daeinki@gmail.com>
Mon, 26 Oct 2015 06:09:27 +0000 (15:09 +0900)
commit633d00b327c0ef5ec0113e27d2d5e36073ebca7d
tree91a2f5aea4f8b9fd047e4c78852c42cebe3ab005
parente68d547b8ae109c7ecaaaad665c8de8373a215bc
drm/exynos/hdmi: use mappings for registers with IP dependent address

Some registers resides at different offsets depending on device version.
This patch adds infrastructure for mapping such registers to proper address
based on hdmi_type. It adds also mappings to some registers.

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Reviewed-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_hdmi.c
drivers/gpu/drm/exynos/regs-hdmi.h