linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] gpio: rcar: Add support for DT IRQ flags
@ 2014-04-01 10:58 Laurent Pinchart
  2014-07-02 14:37 ` Laurent Pinchart
  0 siblings, 1 reply; 3+ messages in thread
From: Laurent Pinchart @ 2014-04-01 10:58 UTC (permalink / raw)
  To: linux-gpio; +Cc: linux-sh, Magnus Damm

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] gpio: rcar: Add support for DT IRQ flags
  2014-04-01 10:58 [PATCH] gpio: rcar: Add support for DT IRQ flags Laurent Pinchart
@ 2014-07-02 14:37 ` Laurent Pinchart
  2014-07-08  8:48   ` Linus Walleij
  0 siblings, 1 reply; 3+ messages in thread
From: Laurent Pinchart @ 2014-07-02 14:37 UTC (permalink / raw)
  To: Linus Walleij; +Cc: linux-gpio, linux-sh, Magnus Damm

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] gpio: rcar: Add support for DT IRQ flags
  2014-07-02 14:37 ` Laurent Pinchart
@ 2014-07-08  8:48   ` Linus Walleij
  0 siblings, 0 replies; 3+ messages in thread
From: Linus Walleij @ 2014-07-08  8:48 UTC (permalink / raw)
  To: Laurent Pinchart
  Cc: linux-gpio@vger.kernel.org, linux-sh@vger.kernel.org, Magnus Damm

On Wed, Jul 2, 2014 at 4:37 PM, Laurent Pinchart
<laurent.pinchart@ideasonboard.com> wrote:

> 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>

I don't have this patch in my INBOX, dunno what has gone wrong :-(

Can you please resend it so I can apply it?

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-07-08  8:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-01 10:58 [PATCH] gpio: rcar: Add support for DT IRQ flags Laurent Pinchart
2014-07-02 14:37 ` Laurent Pinchart
2014-07-08  8:48   ` Linus Walleij

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).