diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2013-05-29 13:15:39 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-05-30 03:50:47 -0400 |
commit | 90c40257fe1a9cd0373507cfb05390ad1f2c06ee (patch) | |
tree | 5ac2d46e3f5fc2ae49136074a990cb7d9865e1e3 /arch/arm/boot/dts/stuib.dtsi | |
parent | 807e8838e309a8076dcccac1a399522e20bf229c (diff) |
ARM: ux500: use symbolic names for interrupt flags
This switches to including <dt-bindings/interrupt-controller/irq.h>
and referencing the apropriate flags from there instead of
open-coding the flag numerals everywhere in the ux500 device
trees.
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/stuib.dtsi')
-rw-r--r-- | arch/arm/boot/dts/stuib.dtsi | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/stuib.dtsi b/arch/arm/boot/dts/stuib.dtsi index 0fdb2594ac5f..b47b62adf6d0 100644 --- a/arch/arm/boot/dts/stuib.dtsi +++ b/arch/arm/boot/dts/stuib.dtsi | |||
@@ -9,13 +9,15 @@ | |||
9 | * http://www.gnu.org/copyleft/gpl.html | 9 | * http://www.gnu.org/copyleft/gpl.html |
10 | */ | 10 | */ |
11 | 11 | ||
12 | #include <dt-bindings/interrupt-controller/irq.h> | ||
13 | |||
12 | / { | 14 | / { |
13 | soc { | 15 | soc { |
14 | i2c@80004000 { | 16 | i2c@80004000 { |
15 | stmpe1601: stmpe1601@40 { | 17 | stmpe1601: stmpe1601@40 { |
16 | compatible = "st,stmpe1601"; | 18 | compatible = "st,stmpe1601"; |
17 | reg = <0x40>; | 19 | reg = <0x40>; |
18 | interrupts = <26 0x2>; | 20 | interrupts = <26 IRQ_TYPE_EDGE_FALLING>; |
19 | interrupt-parent = <&gpio6>; | 21 | interrupt-parent = <&gpio6>; |
20 | interrupt-controller; | 22 | interrupt-controller; |
21 | 23 | ||