]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9e12c260446a12ff55e0c26d66151b0115169ea0
tree91a2f5aea4f8b9fd047e4c78852c42cebe3ab005
parent2f25f214edd8fbd0bfd6687e481a9d48fff6a210
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