drm/mediatek: dp: Remove unused register definitions
authorBo-Chen Chen <rex-bc.chen@mediatek.com>
Fri, 16 Sep 2022 13:38:20 +0000 (21:38 +0800)
committerDmitry Osipenko <dmitry.osipenko@collabora.com>
Mon, 19 Sep 2022 09:17:42 +0000 (12:17 +0300)
Some definitions in mtk_dp_reg.h are not used, so remove these
redundant codes.

Signed-off-by: Bo-Chen Chen <rex-bc.chen@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Acked-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
Signed-off-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220916133821.27980-3-rex-bc.chen@mediatek.com
drivers/gpu/drm/mediatek/mtk_dp_reg.h

index 096ad65..84e38ce 100644 (file)
 #define CH_STATUS_1_DP_ENC0_P0_MASK                    GENMASK(15, 0)
 #define MTK_DP_ENC0_P0_3094                    0x3094
 #define CH_STATUS_2_DP_ENC0_P0_MASK                    GENMASK(7, 0)
-#define MTK_DP_ENC0_P0_30A0                    0x30a0
-#define DP_ENC0_30A0_MASK                              (BIT(7) | BIT(8) | BIT(12))
 #define MTK_DP_ENC0_P0_30A4                    0x30a4
 #define AU_TS_CFG_DP_ENC0_P0_MASK                      GENMASK(7, 0)
 #define MTK_DP_ENC0_P0_30A8                    0x30a8
 #define MTK_DP_ENC0_P0_312C                    0x312c
 #define ASP_HB2_DP_ENC0_P0_MASK                                GENMASK(7, 0)
 #define ASP_HB3_DP_ENC0_P0_MASK                                GENMASK(15, 8)
-#define MTK_DP_ENC0_P0_3130                    0x3130
-#define MTK_DP_ENC0_P0_3138                    0x3138
 #define MTK_DP_ENC0_P0_3154                    0x3154
 #define PGEN_HTOTAL_DP_ENC0_P0_MASK                    GENMASK(13, 0)
 #define MTK_DP_ENC0_P0_3158                    0x3158
 #define SDP_PACKET_TYPE_DP_ENC1_P0_MASK                        GENMASK(4, 0)
 #define SDP_PACKET_W_DP_ENC1_P0                                BIT(5)
 #define SDP_PACKET_W_DP_ENC1_P0_MASK                   BIT(5)
-#define MTK_DP_ENC1_P0_328C                    0x328c
-#define VSC_DATA_RDY_VESA_DP_ENC1_P0_MASK              BIT(7)
 #define MTK_DP_ENC1_P0_3300                    0x3300
 #define VIDEO_AFIFO_RDY_SEL_DP_ENC1_P0_VAL             2
 #define VIDEO_AFIFO_RDY_SEL_DP_ENC1_P0_MASK            GENMASK(9, 8)