Re: gpio api

From: Yoichi Yuasa
Date: Mon Feb 21 2005 - 21:19:31 EST


On Mon, 21 Feb 2005 11:02:24 +0100
Asier Llano Palacios <a.llano@xxxxxxxxxxx> wrote:

> I think that implementing a GPIO interface is a must-have. And I also
> think that your proposal is awesome. I work with GPIOs a lot, and I hate
> not doing it in a cross-platform way.
>
> I generally agree with your proposal but I see some missing behaviours.

me too,

> Configuration that should be done on GPIOs.
> - GPIO direction (input/output)
> - GPIO modes (standard CMOS / open drain).

I also need pull-up/pull-down.

> - GPIO interruption generation (by level or edge, high, low, raising,
> falling)

We also need a method that GPIO cascade to IRQ.

Yoichi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/