]> 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)
commit6f707a18e73957ebdd462493bbde926df05281e2
tree9e6f4546193332c38121bce9fabca99cd98044c7
parente638c096cac6f0e390d312294a75100765b97522
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: 1f628a20c1c4 ('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