Re: [U-Boot] [PATCH V2 1/3] gpio: Add DW APB GPIO driver

2015-08-12 Thread Marek Vasut
On Wednesday, August 12, 2015 at 04:15:00 PM, Simon Glass wrote: > Hi Marek, > > On 10 August 2015 at 09:30, Marek Vasut wrote: > > Add driver for the DesignWare APB GPIO IP block. > > This driver is DM capable and probes from DT. > > > > Signed-off-by: Marek Vasut > > Cc: Simon Glass > > ---

Re: [U-Boot] [PATCH V2 1/3] gpio: Add DW APB GPIO driver

2015-08-12 Thread Simon Glass
+Tom Hi Fabio, On 12 August 2015 at 08:24, Fabio Estevam wrote: > > On Wed, Aug 12, 2015 at 11:15 AM, Simon Glass wrote: > > >> +#define GPIO_SWPORTA_DR0x00 > >> +#define GPIO_SWPORTA_DDR 0x04 > >> +#define GPIO_INTEN 0x30 > >> +#define GPIO_INTMASK 0

Re: [U-Boot] [PATCH V2 1/3] gpio: Add DW APB GPIO driver

2015-08-12 Thread Fabio Estevam
On Wed, Aug 12, 2015 at 11:15 AM, Simon Glass wrote: >> +#define GPIO_SWPORTA_DR0x00 >> +#define GPIO_SWPORTA_DDR 0x04 >> +#define GPIO_INTEN 0x30 >> +#define GPIO_INTMASK 0x34 >> +#define GPIO_INTTYPE_LEVEL 0x38 >> +#define GPIO_INT_POLARITY 0

Re: [U-Boot] [PATCH V2 1/3] gpio: Add DW APB GPIO driver

2015-08-12 Thread Simon Glass
Hi Marek, On 10 August 2015 at 09:30, Marek Vasut wrote: > Add driver for the DesignWare APB GPIO IP block. > This driver is DM capable and probes from DT. > > Signed-off-by: Marek Vasut > Cc: Simon Glass > --- > drivers/gpio/Kconfig | 7 ++ > drivers/gpio/Makefile | 1 + > driver

[U-Boot] [PATCH V2 1/3] gpio: Add DW APB GPIO driver

2015-08-10 Thread Marek Vasut
Add driver for the DesignWare APB GPIO IP block. This driver is DM capable and probes from DT. Signed-off-by: Marek Vasut Cc: Simon Glass --- drivers/gpio/Kconfig | 7 ++ drivers/gpio/Makefile | 1 + drivers/gpio/dwapb_gpio.c | 167 ++ 3