From: Mike Frysinger Date: Wed, 27 Oct 2010 20:21:51 +0000 (+0000) Subject: Blackfin: bf54x: add MMR layout for PINT X-Git-Tag: v2.6.38-rc1~421^2~20 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=77c90e3d35c17c371fbef91fa6e180e954c1faba;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git Blackfin: bf54x: add MMR layout for PINT Signed-off-by: Mike Frysinger --- diff --git a/arch/blackfin/mach-bf548/include/mach/irq.h b/arch/blackfin/mach-bf548/include/mach/irq.h index 1f99b51..99fd1b2 100644 --- a/arch/blackfin/mach-bf548/include/mach/irq.h +++ b/arch/blackfin/mach-bf548/include/mach/irq.h @@ -474,4 +474,26 @@ Events (highest priority) EMU 0 #define IRQ_PINT2_POS 24 #define IRQ_PINT3_POS 28 +#ifndef __ASSEMBLY__ +#include + +/* + * bfin pint registers layout + */ +struct bfin_pint_regs { + u32 mask_set; + u32 mask_clear; + u32 irq; + u32 assign; + u32 edge_set; + u32 edge_clear; + u32 invert_set; + u32 invert_clear; + u32 pinstate; + u32 latch; + u32 __pad0[2]; +}; + +#endif + #endif /* _BF548_IRQ_H_ */