Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8696131f authored by Archit Taneja's avatar Archit Taneja Committed by Tomi Valkeinen
Browse files

omapdss: HDMI: add HDMI wrapper IRQ flags



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: default avatarArchit Taneja <archit@ti.com>
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent bdb8bfc6
Loading
Loading
Loading
Loading
+0 −3
Original line number Original line Diff line number Diff line
@@ -17,9 +17,6 @@
#include "dss.h"
#include "dss.h"
#include "ti_hdmi.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)
void hdmi_phy_dump(struct hdmi_phy_data *phy, struct seq_file *s)
{
{
#define DUMPPHY(r) seq_printf(s, "%-35s %08x\n", #r,\
#define DUMPPHY(r) seq_printf(s, "%-35s %08x\n", #r,\
+15 −0
Original line number Original line Diff line number Diff line
@@ -49,6 +49,21 @@
#define HDMI_WP_AUDIO_CTRL			0x88
#define HDMI_WP_AUDIO_CTRL			0x88
#define HDMI_WP_AUDIO_DATA			0x8C
#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 */
/* HDMI PLL */


#define PLLCTRL_PLL_CONTROL			0x0
#define PLLCTRL_PLL_CONTROL			0x0