OMAP4: DSS2: HDMI: Move the EDID definition from HDMI
authorMythri P K <mythripk@ti.com>
Thu, 8 Sep 2011 13:36:22 +0000 (19:06 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 30 Sep 2011 13:16:32 +0000 (16:16 +0300)
Clean up to move the EDID definition from the IP dependent header file to hdmi.c

Signed-off-by: Mythri P K <mythripk@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/hdmi.c
drivers/video/omap2/dss/hdmi.h

index bf76c87024b263b8c6bb1d69bce5f78231990f15..96a0ac941126c628a71477d260cf346a9dafe631 100644 (file)
 #define HDMI_PLLCTRL           0x200
 #define HDMI_PHY               0x300
 
+/* HDMI EDID Length move this */
+#define HDMI_EDID_MAX_LENGTH                   256
+#define EDID_TIMING_DESCRIPTOR_SIZE            0x12
+#define EDID_DESCRIPTOR_BLOCK0_ADDRESS         0x36
+#define EDID_DESCRIPTOR_BLOCK1_ADDRESS         0x80
+#define EDID_SIZE_BLOCK0_TIMING_DESCRIPTOR     4
+#define EDID_SIZE_BLOCK1_TIMING_DESCRIPTOR     4
+
+#define OMAP_HDMI_TIMINGS_NB                   34
+
 static struct {
        struct mutex lock;
        struct omap_display_platform_data *pdata;
index cb50f6a3ad094e177ef6eb03bb0b5773bd18d6e9..2d4a22eca9c6abfb353d4a1098bd858a5b402791 100644 (file)
@@ -182,16 +182,6 @@ struct hdmi_reg { u16 idx; };
 #define HDMI_TXPHY_POWER_CTRL                  HDMI_REG(0x8)
 #define HDMI_TXPHY_PAD_CFG_CTRL                        HDMI_REG(0xC)
 
-/* HDMI EDID Length  */
-#define HDMI_EDID_MAX_LENGTH                   256
-#define EDID_TIMING_DESCRIPTOR_SIZE            0x12
-#define EDID_DESCRIPTOR_BLOCK0_ADDRESS         0x36
-#define EDID_DESCRIPTOR_BLOCK1_ADDRESS         0x80
-#define EDID_SIZE_BLOCK0_TIMING_DESCRIPTOR     4
-#define EDID_SIZE_BLOCK1_TIMING_DESCRIPTOR     4
-
-#define OMAP_HDMI_TIMINGS_NB                   34
-
 #define REG_FLD_MOD(base, idx, val, start, end) \
        hdmi_write_reg(base, idx, FLD_MOD(hdmi_read_reg(base, idx),\
                                                        val, start, end))