[PATCH 2/3] ARM: at91: dt: add AIC pre-processor define

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Thu Apr 25 00:58:07 EST 2013


Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
Cc: Nicolas Ferre <nicolas.ferre at atmel.com>
---
 arch/arm/boot/dts/at91-aic.h |   19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 arch/arm/boot/dts/at91-aic.h

diff --git a/arch/arm/boot/dts/at91-aic.h b/arch/arm/boot/dts/at91-aic.h
new file mode 100644
index 0000000..ed3f8be
--- /dev/null
+++ b/arch/arm/boot/dts/at91-aic.h
@@ -0,0 +1,19 @@
+/*
+ * This header provides constants for most at91 AIC bindings.
+ *
+ * Copyright (C) 2013 Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
+ *
+ * GPLv2 only
+ */
+
+#ifndef __DT_BINDINGS_AT91_AIC_H__
+#define __DT_BINDINGS_AT91_AIC_H__
+
+#define AT91_AIC_LOW_TO_HIGH		(1 < 0)
+#define AT91_AIC_HIGH_TO_LOW		(1 < 1)
+#define AT91_AIC_HIGH			(1 < 2)
+#define AT91_AIC_LOW			(1 < 3)
+
+#define AT91_AIC_LOW_TO_HIGH_OR_HIGH_TO_LOW	(AT91_AIC_LOW_TO_HIGH | AT91_AIC_HIGH_TO_LOW)
+
+#endif /* __DT_BINDINGS_AT91_AIC_H__ */
-- 
1.7.10.4



More information about the devicetree-discuss mailing list