public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: omap3-gta04: Add EOC irq gpio line handling.
@ 2013-12-21 15:12 Marek Belisko
  2014-01-20 20:25 ` Belisko Marek
  0 siblings, 1 reply; 3+ messages in thread
From: Marek Belisko @ 2013-12-21 15:12 UTC (permalink / raw)
  To: bcousson, tony, robh+dt, pawel.moll, mark.rutland, ijc+devicetree,
	galak, linux
  Cc: linux-omap, devicetree, linux-arm-kernel, linux-kernel, hns,
	Marek Belisko

BMP085 EOC (End Of Conversion) irq line is connected to
gpio113 on gta04. Set irq properties to have driver using irq
instead polling for EOC.

Signed-off-by: Marek Belisko <marek@goldelico.com>
---
 arch/arm/boot/dts/omap3-gta04.dts | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/omap3-gta04.dts b/arch/arm/boot/dts/omap3-gta04.dts
index b9b55c9..7a8e37d 100644
--- a/arch/arm/boot/dts/omap3-gta04.dts
+++ b/arch/arm/boot/dts/omap3-gta04.dts
@@ -92,6 +92,8 @@
 	bmp085@77 {
 		compatible = "bosch,bmp085";
 		reg = <0x77>;
+		interrupt-parent = <&gpio4>;
+		interrupts = <17 IRQ_TYPE_EDGE_RISING>;
 	};
 
 	/* leds */
-- 
1.8.4.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-02-13 22:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-21 15:12 [PATCH] ARM: dts: omap3-gta04: Add EOC irq gpio line handling Marek Belisko
2014-01-20 20:25 ` Belisko Marek
2014-02-13 22:44   ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox