aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuha Riihimäki <juha.riihimaki@nokia.com>2012-07-04 11:18:45 +0000
committerPeter Maydell <peter.maydell@linaro.org>2012-07-25 13:33:48 +0100
commit80b96bcd372108d150abdeaa0b1c93bd03d3c35f (patch)
tree2df85e05846b386e667076090f9dde6b003497b7
parentcafdedfa0501a30289fde5668501f8ccea600eb7 (diff)
downloadqemu-arm-80b96bcd372108d150abdeaa0b1c93bd03d3c35f.tar.gz
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);