drm/mediatek: move hardware register to node data
authorchunhui dai <chunhui.dai@mediatek.com>
Wed, 3 Oct 2018 03:41:42 +0000 (11:41 +0800)
committerCK Hu <ck.hu@mediatek.com>
Wed, 3 Oct 2018 03:56:31 +0000 (11:56 +0800)
commit0ace4b993c7a524962c6c17f3956a2d3cf2454e1
treed0e221a02461e5e379cfc1d6ba924e82d73fe601
parent4e90a6eb769a2041a81efb3c288a087790ae885d
drm/mediatek: move hardware register to node data

The address of register DPI_H_FRE_CON is different in different IC.
Using of_node data to find this address.

Signed-off-by: chunhui dai <chunhui.dai@mediatek.com>
Signed-off-by: CK Hu <ck.hu@mediatek.com>
drivers/gpu/drm/mediatek/mtk_dpi.c
drivers/gpu/drm/mediatek/mtk_dpi_regs.h