]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00213158-1 IPU: Add IPU oneshot interrupt mode
authorWayne Zou <b36644@freescale.com>
Tue, 12 Jun 2012 06:37:40 +0000 (14:37 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:34:49 +0000 (08:34 +0200)
Add IPU oneshot interrupt mode: IPU_IRQF_ONESHOT.
Interrupt is not reenabled after irq handler finished.

Signed-off-by: Wayne Zou <b36644@freescale.com>
arch/arm/plat-mxc/include/mach/ipu-v3.h

index 1ddd69ed1bb1ee74121855fb10e8693db0d042d3..82da102f44fe0ebddd3b81b25807ce6850121a4f 100755 (executable)
@@ -309,6 +309,12 @@ typedef union {
        } adc_sys2;
 } ipu_channel_params_t;
 
+/*
+ * IPU_IRQF_ONESHOT - Interrupt is not reenabled after the irq handler finished.
+ */
+#define IPU_IRQF_NONE          0x00000000
+#define IPU_IRQF_ONESHOT       0x00000001
+
 /*!
  * Enumeration of IPU interrupt sources.
  */