]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
omapdss: HDMI: add HDMI wrapper IRQ flags
authorArchit Taneja <archit@ti.com>
Tue, 10 Sep 2013 11:04:02 +0000 (16:34 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 9 Oct 2013 09:42:27 +0000 (12:42 +0300)
Add flags for the interrupts present in HDMI wrapper block, these will be used
to configure HDMI_IRQENABLE_SET/CLEAR and HDMI_IRQSTATUS registers.

Signed-off-by: Archit Taneja <archit@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/hdmi_phy.c
drivers/video/omap2/dss/ti_hdmi.h

index 29f7552b4b9a393874572468c6b1c4d74d901c53..16feaa80b3b42ac012fc7acf1205cbcfffbf8516 100644 (file)
@@ -17,9 +17,6 @@
 #include "dss.h"
 #include "ti_hdmi.h"
 
-#define HDMI_IRQ_LINK_CONNECT          (1 << 25)
-#define HDMI_IRQ_LINK_DISCONNECT       (1 << 26)
-
 void hdmi_phy_dump(struct hdmi_phy_data *phy, struct seq_file *s)
 {
 #define DUMPPHY(r) seq_printf(s, "%-35s %08x\n", #r,\
index cf096fdb91838c4b96fc80c4e0d8b2679482901f..5034080ccfa919c360752836b482f5dcec8f74eb 100644 (file)
 #define HDMI_WP_AUDIO_CTRL                     0x88
 #define HDMI_WP_AUDIO_DATA                     0x8C
 
+/* HDMI WP IRQ flags */
+
+#define HDMI_IRQ_OCP_TIMEOUT                   (1 << 4)
+#define HDMI_IRQ_AUDIO_FIFO_UNDERFLOW          (1 << 8)
+#define HDMI_IRQ_AUDIO_FIFO_OVERFLOW           (1 << 9)
+#define HDMI_IRQ_AUDIO_FIFO_SAMPLE_REQ         (1 << 10)
+#define HDMI_IRQ_VIDEO_VSYNC                   (1 << 16)
+#define HDMI_IRQ_VIDEO_FRAME_DONE              (1 << 17)
+#define HDMI_IRQ_PHY_LINE5V_ASSERT             (1 << 24)
+#define HDMI_IRQ_LINK_CONNECT                  (1 << 25)
+#define HDMI_IRQ_LINK_DISCONNECT               (1 << 26)
+#define HDMI_IRQ_PLL_LOCK                      (1 << 29)
+#define HDMI_IRQ_PLL_UNLOCK                    (1 << 30)
+#define HDMI_IRQ_PLL_RECAL                     (1 << 31)
+
 /* HDMI PLL */
 
 #define PLLCTRL_PLL_CONTROL                    0x0