From: Nishanth Menon <nm@ti.com>
To: Denis CIOCCA <denis.ciocca@st.com>
Cc: "linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>
Subject: Re: need help to configure IRQ on gpio 139 pandaboard using device tree
Date: Thu, 12 Dec 2013 10:15:25 -0600 [thread overview]
Message-ID: <52A9E11D.6050403@ti.com> (raw)
In-Reply-To: <52A9D0D2.7080907@st.com>
On 12/12/2013 09:05 AM, Denis CIOCCA wrote:
>> why is mcspi1 your interrupt parent when you did a padconf for GPIO?
>> you want GPIO136, so you need the right gpio block as the interrupt
>> parent and map interrupts in the correct map.
>> see [1] for an example (omap2).
> Oh my god! Now I've understand how device tree works...I'm sorry
> Nishanth but the dt it's new for me...ok I'm using gpio5 and now it works!
>
> +interrupt-parent = <&gpio5>;
> + interrupts = <8 IRQ_TYPE_LEVEL_HIGH>; /* gpio line 136 */
>
> Thank you very much for your patience...;)
glad to hear it worked, yeah, device tree is a little different, but
logical in it's own way.
Regards,
Nishanth Menon
prev parent reply other threads:[~2013-12-12 16:15 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
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=52A9E11D.6050403@ti.com \
--to=nm@ti.com \
--cc=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).