public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
From: plagnioj@jcrosoft•com (Jean-Christophe PLAGNIOL-VILLARD)
To: linux-arm-kernel@lists•infradead.org
Subject: [PATCH 1/1] gpio/at91: auto request and configure the pio as input when the interrupt is used via DT
Date: Wed, 24 Oct 2012 11:21:47 +0200	[thread overview]
Message-ID: <20121024092147.GG18964@game.jcrosoft.org> (raw)
In-Reply-To: <CACRpkdY6xJt2Xob8DHF==LYxNMpocEkbEhy-8DmQpZjZ4VPOXw@mail.gmail.com>

On 09:44 Wed 24 Oct     , Linus Walleij wrote:
> On Tue, Oct 23, 2012 at 3:56 PM, Jean-Christophe PLAGNIOL-VILLARD
> <plagnioj@jcrosoft•com> wrote:
> 
> > If we do this
> >
> >         interrupt-parent = <&pioA>;
> >         interrupts = <7 0x0>;
> >
> > The current core map the irq correctly but the gpio is not configured as input.
> > The pinctrl configure the pin as gpio with the correct mux parameter but is
> > not responsible to configure it as input.
> >
> > So do it during the xlate
> >
> > Cc: Linus Walleij <linus.walleij@linaro•org>
> > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft•com>
> 
> Looks OK to me: do you want me to just apply it on my AT91 branch
> on the pinctrl tree?
if 3.8 I prefer via at91 if you don't mind

Best Regards,
J.

  reply	other threads:[~2012-10-24  9:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-23 13:56 [PATCH 1/1] gpio/at91: auto request and configure the pio as input when the interrupt is used via DT Jean-Christophe PLAGNIOL-VILLARD
2012-10-24  7:44 ` Linus Walleij
2012-10-24  9:21   ` Jean-Christophe PLAGNIOL-VILLARD [this message]
2012-10-24 12:01 ` Linus Walleij

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=20121024092147.GG18964@game.jcrosoft.org \
    --to=plagnioj@jcrosoft$(echo .)com \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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