diff mbox

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

Message ID 1366815488-27976-2-git-send-email-plagnioj@jcrosoft.com (mailing list archive)
State New, archived
Headers show

Commit Message

Jean-Christophe PLAGNIOL-VILLARD April 24, 2013, 2:58 p.m. UTC
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: Nicolas Ferre <nicolas.ferre@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 mbox

Patch

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@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__ */