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 01:5

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: > > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/arch/mips/include/asm/octeon/cvm

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 t

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

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 octeon_gpio_get(struc

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 20)

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). > > Signed-of