Re: [U-Boot] [PATCH 1/2] gpio: add gpio api support to mx27 (v3)

2012-08-25 Thread Philippe Reynes
Hi Stefano, > +    u32 gpio_dr; /* DR */ > +    u32 gius; > +    u32 ssr; What about my proposal to change this into gpio_psr ? I mean, if Freescale calls some times the register "Sample Status Register" and on other SOCs "Pad Status Register", but anyway the register does the same, it is not a

Re: [U-Boot] [PATCH 1/2] gpio: add gpio api support to mx27 (v3)

2012-08-25 Thread Stefano Babic
On 24/08/2012 22:36, Philippe Reynes wrote: > There is a little change on gpio_get_value because > on mx27 the register to read is ssr and not dr. > > Signed-off-by: Philippe Reynes > --- Hi Philippe, > arch/arm/cpu/arm926ejs/mx27/generic.c | 11 +++--- > arch/arm/include/asm/arch-mx27/g

[U-Boot] [PATCH 1/2] gpio: add gpio api support to mx27 (v3)

2012-08-24 Thread Philippe Reynes
There is a little change on gpio_get_value because on mx27 the register to read is ssr and not dr. Signed-off-by: Philippe Reynes --- arch/arm/cpu/arm926ejs/mx27/generic.c | 11 +++--- arch/arm/include/asm/arch-mx27/gpio.h | 55 + arch/arm/include/asm/arch