aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuha Riihimäki <juha.riihimaki@nokia.com>2012-02-17 13:41:27 +0000
committerPeter Maydell <peter.maydell@linaro.org>2012-05-08 16:52:51 +0000
commit069b7873c59a0e68de98ebd90a54435cd2a85f72 (patch)
tree854d320e738d0b1bdad32dec50fbd1bf22e9a648
parenta067204c53cc154932dfe75b585150974287dc63 (diff)
dsi: generate complexio ulps0 irq when asserting lane sig2
Signed-off-by: Juha Riihimäki <juha.riihimaki@nokia.com>
-rw-r--r--hw/omap_dss.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/omap_dss.c b/hw/omap_dss.c
index 4836621036..a71ac4a28a 100644
--- a/hw/omap_dss.c
+++ b/hw/omap_dss.c
@@ -2324,6 +2324,11 @@ static void omap_dsi_write(void *opaque, target_phys_addr_t addr,
TRACEDSI("DSI_COMPLEXIO_CFG_2 = 0x%08x", value);
s->dsi.complexio_cfg2 = (value & 0xfffcffff)
| (s->dsi.complexio_cfg2 & (3 << 16));
+ if (((value >> 5) & 3)) {
+ s->dsi.complexio_irqst |= (1 << 30); /* ULPSACTIVENOT_ALL0_IRQ */
+ s->dsi.irqst |= (1 << 10); /* COMPLEXIO_ERR_IRQ */
+ omap_dss_interrupt_update(s);
+ }
break;
case 0x080: /* DSI_VM_TIMING4 */
TRACEDSI("DSI_VM_TIMING4 = 0x%08x", value);