From: Denis CIOCCA <denis.ciocca@st.com>
To: "linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>
Subject: need help to configure IRQ on gpio 139 pandaboard using device tree
Date: Wed, 11 Dec 2013 15:28:28 +0100 [thread overview]
Message-ID: <52A8768C.5070103@st.com> (raw)
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
next reply other threads:[~2013-12-11 14:28 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-11 14:28 Denis CIOCCA [this message]
2013-12-11 15:39 ` need help to configure IRQ on gpio 139 pandaboard using device tree 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52A8768C.5070103@st.com \
--to=denis.ciocca@st.com \
--cc=linux-omap@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).