All of lore.kernel.org
 help / color / mirror / Atom feed
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: Wed, 11 Dec 2013 11:32:17 -0600	[thread overview]
Message-ID: <52A8A1A1.9090104@ti.com> (raw)
In-Reply-To: <52A89206.8080605@st.com>

On 12/11/2013 10:25 AM, Denis CIOCCA wrote:
> 
> BUT, now I've checked the client->irq in an i2c driver and the value is 
> still 0...

I missed this:
> 
> and it works, but I don't know how I can set the interrupt using:
> interrupts = <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>; /* example */
<snip>
> 
> What I have to check?
since your interrupt is an GPIO, as an example (probably wont match
your case):
 interrupt-parent = <&gpio4>; /* '4' is the GPIO BANK */
 interrupts = <11 0>;	/* '11' maps to the gpio number, '0' (bits -
interrupt-type */
[...]
see
Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
(hint: b) two cells)

> 
> On 12/11/2013 04:39 PM, menon.nishanth@gmail.com wrote:

For a future note, please avoid top-posting in mailing lists :)

-- 
Regards,
Nishanth Menon

  reply	other threads:[~2013-12-11 17:32 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 [this message]
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=52A8A1A1.9090104@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.