]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: dts: DRA7: fix interrupt-cells for GPIO
authorNishanth Menon <nm@ti.com>
Mon, 25 Aug 2014 23:15:34 +0000 (16:15 -0700)
committerTony Lindgren <tony@atomide.com>
Mon, 25 Aug 2014 23:15:34 +0000 (16:15 -0700)
commit45acf70c10427b25e2674667cecd9ec62e8667c9
tree9e6f4546193332c38121bce9fabca99cd98044c7
parentc95d1afa066955ae1e661c4048ecfd924b5a4ec0
ARM: dts: DRA7: fix interrupt-cells for GPIO

GPIO modules are also interrupt sources. However, they require both the
GPIO number and IRQ type to function properly.

By declaring that GPIO uses interrupt-cells=<1>, we essentially do not
allow users of the nodes to use the interrupt property appropritely.

With this change, the following now works:

interrupt-parent = <&gpio6>;
interrupts = <5 IRQ_TYPE_LEVEL_LOW>;

Fixes: b69e1d87a315 ('ARM: dts: DRA7: Add the dts files for dra7 SoC and dra7-evm board')
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/dra7.dtsi