Re: [U-Boot] [PATCH v2 1/2] gpio: Add GPIO driver framework for Marvell SoCs

2011-08-06 Thread Prafulla Wadaskar
> -Original Message- > From: Ajay Bhargav [mailto:ajay.bhar...@einfochips.com] > Sent: Saturday, August 06, 2011 10:40 AM > To: Prafulla Wadaskar > Cc: u-boot@lists.denx.de; Lei Wen; Simon Guinot > Subject: Re: [U-Boot] [PATCH v2 1/2] gpio: Add GPIO driver framework

Re: [U-Boot] [PATCH v2 1/2] gpio: Add GPIO driver framework for Marvell SoCs

2011-08-05 Thread Ajay Bhargav
ot@lists.denx.de > > Subject: Re: [U-Boot] [PATCH v2 1/2] gpio: Add GPIO driver framework > for > > Marvell SoCs > > > > - "Lei Wen" wrote: > > > > > On Thu, Aug 4, 2011 at 4:51 PM, Albert ARIBAUD > > > wrote: > > > > H

Re: [U-Boot] [PATCH v2 1/2] gpio: Add GPIO driver framework for Marvell SoCs

2011-08-04 Thread Lei Wen
Hi Ajay, On Thu, Aug 4, 2011 at 6:51 PM, Ajay Bhargav wrote: > - "Lei Wen" wrote: > >> On Thu, Aug 4, 2011 at 4:51 PM, Albert ARIBAUD >> wrote: >> > Hi Simon, >> > >> > On 04/08/2011 02:04, Simon Guinot wrote: >> >> Hi Ajay, >> >> >> >> On Wed, Aug 03, 2011 at 10:10:00AM +0530, Ajay Bhargav

Re: [U-Boot] [PATCH v2 1/2] gpio: Add GPIO driver framework for Marvell SoCs

2011-08-04 Thread Prafulla Wadaskar
> -Original Message- > From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] > On Behalf Of Ajay Bhargav > Sent: Thursday, August 04, 2011 4:21 PM > To: Lei Wen > Cc: u-boot@lists.denx.de > Subject: Re: [U-Boot] [PATCH v2 1/2] gpio: Add GPIO

Re: [U-Boot] [PATCH v2 1/2] gpio: Add GPIO driver framework for Marvell SoCs

2011-08-04 Thread Ajay Bhargav
- "Lei Wen" wrote: > On Thu, Aug 4, 2011 at 4:51 PM, Albert ARIBAUD > wrote: > > Hi Simon, > > > > On 04/08/2011 02:04, Simon Guinot wrote: > >> Hi Ajay, > >> > >> On Wed, Aug 03, 2011 at 10:10:00AM +0530, Ajay Bhargav wrote: > >>> - "Simon Guinot"  wrote: > >>> > AFAIK, Orion and K

Re: [U-Boot] [PATCH v2 1/2] gpio: Add GPIO driver framework for Marvell SoCs

2011-08-04 Thread Lei Wen
On Thu, Aug 4, 2011 at 4:51 PM, Albert ARIBAUD wrote: > Hi Simon, > > On 04/08/2011 02:04, Simon Guinot wrote: >> Hi Ajay, >> >> On Wed, Aug 03, 2011 at 10:10:00AM +0530, Ajay Bhargav wrote: >>> - "Simon Guinot"  wrote: >>> AFAIK, Orion and Kirkwood SoCs don't provide bitwise set/clear fo

Re: [U-Boot] [PATCH v2 1/2] gpio: Add GPIO driver framework for Marvell SoCs

2011-08-04 Thread Albert ARIBAUD
Hi Simon, On 04/08/2011 02:04, Simon Guinot wrote: > Hi Ajay, > > On Wed, Aug 03, 2011 at 10:10:00AM +0530, Ajay Bhargav wrote: >> - "Simon Guinot" wrote: >> >>> AFAIK, Orion and Kirkwood SoCs don't provide bitwise set/clear for >>> GPIO output/direction registers. Instead, a register must be

Re: [U-Boot] [PATCH v2 1/2] gpio: Add GPIO driver framework for Marvell SoCs

2011-08-03 Thread Simon Guinot
Hi Ajay, On Wed, Aug 03, 2011 at 10:10:00AM +0530, Ajay Bhargav wrote: > - "Simon Guinot" wrote: > > > AFAIK, Orion and Kirkwood SoCs don't provide bitwise set/clear for > > GPIO output/direction registers. Instead, a register must be read > > first to leave other bits unchanged (see __set_d

Re: [U-Boot] [PATCH v2 1/2] gpio: Add GPIO driver framework for Marvell SoCs

2011-08-03 Thread Prafulla Wadaskar
> -Original Message- > From: Simon Guinot [mailto:si...@sequanux.org] > Sent: Tuesday, August 02, 2011 7:41 PM > To: Ajay Bhargav > Cc: Prafulla Wadaskar; u-boot@lists.denx.de > Subject: Re: [U-Boot] [PATCH v2 1/2] gpio: Add GPIO driver framework for > Marvell SoCs

Re: [U-Boot] [PATCH v2 1/2] gpio: Add GPIO driver framework for Marvell SoCs

2011-08-02 Thread Ajay Bhargav
- "Simon Guinot" wrote: > AFAIK, Orion and Kirkwood SoCs don't provide bitwise set/clear for > GPIO output/direction registers. Instead, a register must be read > first to leave other bits unchanged (see __set_direction in > kw_gpio.c). > > Is it possible to handle Armada SoCs GPIOs in a sam

Re: [U-Boot] [PATCH v2 1/2] gpio: Add GPIO driver framework for Marvell SoCs

2011-08-02 Thread Simon Guinot
Hi Ajay, On Fri, Jul 22, 2011 at 12:46:33PM +0530, Ajay Bhargav wrote: > This patch adds generic GPIO driver framework support for Marvell SoCs. > > To enable GPIO driver define CONFIG_MARVELL_GPIO and for GPIO commands > define CONFIG_CMD_GPIO in your board configuration file. > > Signed-off-by

[U-Boot] [PATCH v2 1/2] gpio: Add GPIO driver framework for Marvell SoCs

2011-07-22 Thread Ajay Bhargav
This patch adds generic GPIO driver framework support for Marvell SoCs. To enable GPIO driver define CONFIG_MARVELL_GPIO and for GPIO commands define CONFIG_CMD_GPIO in your board configuration file. Signed-off-by: Ajay Bhargav --- drivers/gpio/Makefile |1 + drivers/gpio/mvgpio.c | 114 ++