linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* need help to configure IRQ on gpio 139 pandaboard using device tree
@ 2013-12-11 14:28 Denis CIOCCA
  2013-12-11 15:39 ` menon.nishanth
  0 siblings, 1 reply; 9+ messages in thread
From: Denis CIOCCA @ 2013-12-11 14:28 UTC (permalink / raw)
  To: linux-omap@vger.kernel.org

Hi everybody,

I'm trying to configure an IRQ on pandaboard using device tree but I'm 
not able to understand how I can do it.
I want to configure the the gpio_139 pin and without device tree my 
command was:

OMAP4_MUX(MCSPI1_SIMO, OMAP_MUX_MODE3 | OMAP_PIN_INPUT_PULLUP),

I need to associate it to a i2c device, declared in this way:

&i2c4 {
     pinctrl-names = "default";
     pinctrl-0 = <&i2c4_pins>;

     clock-frequency = <400000>;

     lsm303d@03 {
         compatible = "st,lsm303d";
         reg = <0x03>;
     };
};

and it works, but I don't know how I can set the interrupt using:
interrupts = <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>; /* example */


Thanks,

Denis

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

end of thread, other threads:[~2013-12-12 16:15 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-11 14:28 need help to configure IRQ on gpio 139 pandaboard using device tree Denis CIOCCA
2013-12-11 15:39 ` menon.nishanth
2013-12-11 16:25   ` Denis CIOCCA
2013-12-11 17:32     ` Nishanth Menon
2013-12-12 13:39       ` Denis CIOCCA
2013-12-12 14:27         ` Denis CIOCCA
2013-12-12 14:49           ` Nishanth Menon
2013-12-12 15:05             ` Denis CIOCCA
2013-12-12 16:15               ` Nishanth Menon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).