Re: [PATCH v5] gpio: Add GPIO support for the WinSystems WS16C48

From: Linus Walleij
Date: Thu Jan 28 2016 - 03:47:51 EST


On Wed, Jan 20, 2016 at 7:45 PM, William Breathitt Gray
<vilhelm.gray@xxxxxxxxx> wrote:

> The WinSystems WS16C48 device provides 48 lines of digital I/O. In
> addition, the first 24 lines may be used for interrupt-handled edge
> detection; rising edge detection and falling edge detection are
> supported.
>
> This driver provides GPIO and IRQ support for these 48 channels of
> digital I/O. The base port address for the device may be configured via
> the ws16c48_base module parameter. The interrupt line number for the
> device may be configured via the ws16c48_irq module parameter.
>
> Signed-off-by: William Breathitt Gray <vilhelm.gray@xxxxxxxxx>
> ---
> Changes in v5:
> - Allow sharing the IRQ

Patch applied.

Out of curiosity: what is your usecase for all these exotic
GPIO cards?

Yours,
Linus Walleij