Re: [PATCH 06/22] GPIO: xilinx: Add irq support to the driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jul 21, 2018 at 4:23 PM Hedges Alexander
<ahedges@xxxxxxxxxxxxxxx> wrote:

> From: Michal Simek <michal.simek@xxxxxxxxxx>
> Date: Fri, 19 Jul 2013 14:34:36 +0200
>
> Only rising edge is supported.
> Allocate irq chip per channel.
>
> Signed-off-by: Michal Simek <michal.simek@xxxxxxxxxx>
> Signed-off-by: Alexander Hedges <ahedges@xxxxxxx>
> (cherry picked from commit 796ae5e3e4ae5f550e0ba01ade34604c83b08cfd)

I'm pretty sure this driver can use GPIOLIB_IRQCHIP.

Please look at other drivers using this helper library.

select GPIOLIB_IRQCHIP

Use:
gpiochip_irqchip_add()
gpiochip_set_chained_irqchip()

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux