Re: [PATCH] gpio MIPS/OCTEON: Add a driver for OCTEON's on-chip GPIO pins.

2013-06-24 Thread David Daney
Thanks for looking at this again. I will be away from my office until the middle of July, so I will not be able to generate and test a revised patch until then. David Daney On 06/24/2013 03:06 PM, Linus Walleij wrote: On Thu, Jun 20, 2013 at 8:10 PM, David Daney wrote: On 06/17/2013

Re: Re: [PATCH] gpio MIPS/OCTEON: Add a driver for OCTEON's on-chip GPIO pins.

2013-06-24 Thread Linus Walleij
On Thu, Jun 20, 2013 at 8:10 PM, David Daney wrote: > On 06/17/2013 01:51 AM, Linus Walleij wrote: >> +#include >> +#include >> >> I cannot find this in my tree. > > Weird, I see them here: > >

Re: Re: [PATCH] gpio MIPS/OCTEON: Add a driver for OCTEON's on-chip GPIO pins.

2013-06-24 Thread Linus Walleij
On Thu, Jun 20, 2013 at 8:10 PM, David Daney ddaney.c...@gmail.com wrote: On 06/17/2013 01:51 AM, Linus Walleij wrote: +#include asm/octeon/octeon.h +#include asm/octeon/cvmx-gpio-defs.h I cannot find this in my tree. Weird, I see them here:

Re: [PATCH] gpio MIPS/OCTEON: Add a driver for OCTEON's on-chip GPIO pins.

2013-06-24 Thread David Daney
Thanks for looking at this again. I will be away from my office until the middle of July, so I will not be able to generate and test a revised patch until then. David Daney On 06/24/2013 03:06 PM, Linus Walleij wrote: On Thu, Jun 20, 2013 at 8:10 PM, David Daney ddaney.c...@gmail.com

Re: [PATCH] gpio MIPS/OCTEON: Add a driver for OCTEON's on-chip GPIO pins.

2013-06-20 Thread David Daney
On 06/20/2013 11:43 AM, Joe Perches wrote: On Thu, 2013-06-20 at 11:27 -0700, David Daney wrote: On 06/20/2013 11:18 AM, Joe Perches wrote: On Thu, 2013-06-20 at 11:10 -0700, David Daney wrote: Sorry for not responding earlier, but my e-mail system seems to have malfunctioned with respect to

Re: [PATCH] gpio MIPS/OCTEON: Add a driver for OCTEON's on-chip GPIO pins.

2013-06-20 Thread Joe Perches
On Thu, 2013-06-20 at 11:27 -0700, David Daney wrote: > On 06/20/2013 11:18 AM, Joe Perches wrote: > > On Thu, 2013-06-20 at 11:10 -0700, David Daney wrote: > >> Sorry for not responding earlier, but my e-mail system seems to have > >> malfunctioned with respect to this message... > > [] > >> On

Re: [PATCH] gpio MIPS/OCTEON: Add a driver for OCTEON's on-chip GPIO pins.

2013-06-20 Thread David Daney
On 06/20/2013 11:18 AM, Joe Perches wrote: On Thu, 2013-06-20 at 11:10 -0700, David Daney wrote: Sorry for not responding earlier, but my e-mail system seems to have malfunctioned with respect to this message... [] On 06/17/2013 01:51 AM, Linus Walleij wrote: +static int

Re: Re: [PATCH] gpio MIPS/OCTEON: Add a driver for OCTEON's on-chip GPIO pins.

2013-06-20 Thread Joe Perches
On Thu, 2013-06-20 at 11:10 -0700, David Daney wrote: > Sorry for not responding earlier, but my e-mail system seems to have > malfunctioned with respect to this message... [] > On 06/17/2013 01:51 AM, Linus Walleij wrote: > >> +static int octeon_gpio_get(struct gpio_chip *chip, unsigned offset)

Re: Re: [PATCH] gpio MIPS/OCTEON: Add a driver for OCTEON's on-chip GPIO pins.

2013-06-20 Thread David Daney
Sorry for not responding earlier, but my e-mail system seems to have malfunctioned with respect to this message... On 06/17/2013 01:51 AM, Linus Walleij wrote: On Sat, Jun 15, 2013 at 1:18 AM, David Daney wrote: From: David Daney The SOCs in the OCTEON family have 16 (or in some cases

Re: Re: [PATCH] gpio MIPS/OCTEON: Add a driver for OCTEON's on-chip GPIO pins.

2013-06-20 Thread David Daney
Sorry for not responding earlier, but my e-mail system seems to have malfunctioned with respect to this message... On 06/17/2013 01:51 AM, Linus Walleij wrote: On Sat, Jun 15, 2013 at 1:18 AM, David Daney ddaney.c...@gmail.com wrote: From: David Daney david.da...@cavium.com The SOCs in the

Re: Re: [PATCH] gpio MIPS/OCTEON: Add a driver for OCTEON's on-chip GPIO pins.

2013-06-20 Thread Joe Perches
On Thu, 2013-06-20 at 11:10 -0700, David Daney wrote: Sorry for not responding earlier, but my e-mail system seems to have malfunctioned with respect to this message... [] On 06/17/2013 01:51 AM, Linus Walleij wrote: +static int octeon_gpio_get(struct gpio_chip *chip, unsigned offset) +{

Re: [PATCH] gpio MIPS/OCTEON: Add a driver for OCTEON's on-chip GPIO pins.

2013-06-20 Thread David Daney
On 06/20/2013 11:18 AM, Joe Perches wrote: On Thu, 2013-06-20 at 11:10 -0700, David Daney wrote: Sorry for not responding earlier, but my e-mail system seems to have malfunctioned with respect to this message... [] On 06/17/2013 01:51 AM, Linus Walleij wrote: +static int

Re: [PATCH] gpio MIPS/OCTEON: Add a driver for OCTEON's on-chip GPIO pins.

2013-06-20 Thread Joe Perches
On Thu, 2013-06-20 at 11:27 -0700, David Daney wrote: On 06/20/2013 11:18 AM, Joe Perches wrote: On Thu, 2013-06-20 at 11:10 -0700, David Daney wrote: Sorry for not responding earlier, but my e-mail system seems to have malfunctioned with respect to this message... [] On 06/17/2013

Re: [PATCH] gpio MIPS/OCTEON: Add a driver for OCTEON's on-chip GPIO pins.

2013-06-20 Thread David Daney
On 06/20/2013 11:43 AM, Joe Perches wrote: On Thu, 2013-06-20 at 11:27 -0700, David Daney wrote: On 06/20/2013 11:18 AM, Joe Perches wrote: On Thu, 2013-06-20 at 11:10 -0700, David Daney wrote: Sorry for not responding earlier, but my e-mail system seems to have malfunctioned with respect to

Re: [PATCH] gpio MIPS/OCTEON: Add a driver for OCTEON's on-chip GPIO pins.

2013-06-17 Thread Linus Walleij
On Sat, Jun 15, 2013 at 1:18 AM, David Daney wrote: > From: David Daney > > The SOCs in the OCTEON family have 16 (or in some cases 20) on-chip > GPIO pins, this driver handles them all. Configuring the pins as > interrupt sources is handled elsewhere (OCTEON's irq handling code). > >

Re: [PATCH] gpio MIPS/OCTEON: Add a driver for OCTEON's on-chip GPIO pins.

2013-06-17 Thread Linus Walleij
On Sat, Jun 15, 2013 at 1:18 AM, David Daney ddaney.c...@gmail.com wrote: From: David Daney david.da...@cavium.com The SOCs in the OCTEON family have 16 (or in some cases 20) on-chip GPIO pins, this driver handles them all. Configuring the pins as interrupt sources is handled elsewhere

[PATCH] gpio MIPS/OCTEON: Add a driver for OCTEON's on-chip GPIO pins.

2013-06-14 Thread David Daney
From: David Daney The SOCs in the OCTEON family have 16 (or in some cases 20) on-chip GPIO pins, this driver handles them all. Configuring the pins as interrupt sources is handled elsewhere (OCTEON's irq handling code). Signed-off-by: David Daney --- This patch depends somewhat on patches in

[PATCH] gpio MIPS/OCTEON: Add a driver for OCTEON's on-chip GPIO pins.

2013-06-14 Thread David Daney
From: David Daney david.da...@cavium.com The SOCs in the OCTEON family have 16 (or in some cases 20) on-chip GPIO pins, this driver handles them all. Configuring the pins as interrupt sources is handled elsewhere (OCTEON's irq handling code). Signed-off-by: David Daney david.da...@cavium.com