lkml.org 
[lkml]   [2008]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 2.6.24-rc6-mm 4/9] gpiolib: avr32 at32ap platform support
On Sat, 5 Jan 2008 12:10:56 -0800
David Brownell <david-b@pacbell.net> wrote:

> From: David Brownell <dbrownell@users.sourceforge.net>
>
> Teach AVR32 to use the "GPIO Library" when exposing its GPIOs, so that
> signals on external chips (like GPIO expanders) can easily be used.
>
> This mostly reorganizes some existing logic, with two minor changes
> in behavior:
>
> - The PSR registers are used instead of the previous "gpio_mask"
> values, matching AT91 behavior and removing some duplication between
> that role and that of "pinmux_mask".
>
> - NR_IRQs grew to acommodate a bank of external GPIOs. Eventually
> this number should probably become a board-specific config option.
>
> There's a debugfs dump of status for the built-in GPIOs, showing which
> pins have deglitching, pullups, or open drain drive enabled, as well
> as the ID string used when requesting each IRQ.
>
> Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
> Cc: Haavard Skinnemoen <hskinnemoen@atmel.com>

Acked-by: Haavard Skinnemoen <hskinnemoen@atmel.com>

I'm not going to merge it since the rest of gpiolib isn't in mainline
yet.

Haavard


\
 
 \ /
  Last update: 2008-01-05 22:51    [W:0.119 / U:0.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site