Linux GPIO subsystem development
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Linus Walleij <linus.walleij@linaro.org>
Cc: linux-gpio@vger.kernel.org, linux-sh@vger.kernel.org,
	Magnus Damm <damm@opensource.se>
Subject: Re: [PATCH] gpio: rcar: Add support for DT IRQ flags
Date: Wed, 02 Jul 2014 16:37:38 +0200	[thread overview]
Message-ID: <2822093.Rul4y5g8OD@avalon> (raw)
In-Reply-To: <1396349886-26663-1-git-send-email-laurent.pinchart+renesas@ideasonboard.com>

Hi Linus,

Could you please pick this patch up for v3.17 ?

On Tuesday 01 April 2014 12:58:06 Laurent Pinchart wrote:
> The gpio-rcar driver has no IRQ domain OF xlate function and thus
> ignores IRQ flags specified in DT. Fix this by using the two-cell xlate
> function.
> 
> Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
> ---
>  drivers/gpio/gpio-rcar.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/gpio/gpio-rcar.c b/drivers/gpio/gpio-rcar.c
> index ca76ce7..c9edcc9 100644
> --- a/drivers/gpio/gpio-rcar.c
> +++ b/drivers/gpio/gpio-rcar.c
> @@ -283,6 +283,7 @@ static int gpio_rcar_irq_domain_map(struct irq_domain
> *h, unsigned int irq,
> 
>  static struct irq_domain_ops gpio_rcar_irq_domain_ops = {
>  	.map	= gpio_rcar_irq_domain_map,
> +	.xlate	= irq_domain_xlate_twocell,
>  };
> 
>  struct gpio_rcar_info {

-- 
Regards,

Laurent Pinchart


  reply	other threads:[~2014-07-02 14:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-01 10:58 [PATCH] gpio: rcar: Add support for DT IRQ flags Laurent Pinchart
2014-07-02 14:37 ` Laurent Pinchart [this message]
2014-07-08  8:48   ` 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=2822093.Rul4y5g8OD@avalon \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=damm@opensource.se \
    --cc=linus.walleij@linaro.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-sh@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