projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec5109e
)
Blackfin: bf54x: add MMR layout for PINT
author
Mike Frysinger
<vapier@gentoo.org>
Wed, 27 Oct 2010 20:21:51 +0000
(20:21 +0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Mon, 10 Jan 2011 12:18:17 +0000
(07:18 -0500)
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/mach-bf548/include/mach/irq.h
patch
|
blob
|
history
diff --git
a/arch/blackfin/mach-bf548/include/mach/irq.h
b/arch/blackfin/mach-bf548/include/mach/irq.h
index 1f99b51a3d56b225c0673ca6d451da2b075e406b..99fd1b2c53d8c3c3534fece60bcc3991bd97d193 100644
(file)
--- 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 <linux/types.h>
+
+/*
+ * 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_ */