Re: [U-Boot] [PATCH v2 3/9] dm: at91: Add driver model support for atmel GPIO driver

2014-11-23 Thread Simon Glass
On 29 October 2014 at 20:08, Simon Glass wrote: > Modify this driver to support driver model, with platform data required to > determine the GPIOs that it controls. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Remove unnecessary port number check > - Use GPIO_PER_BANK instead of 32

[U-Boot] [PATCH v2 3/9] dm: at91: Add driver model support for atmel GPIO driver

2014-10-29 Thread Simon Glass
Modify this driver to support driver model, with platform data required to determine the GPIOs that it controls. Signed-off-by: Simon Glass --- Changes in v2: - Remove unnecessary port number check - Use GPIO_PER_BANK instead of 32 in more places arch/arm/include/asm/arch-at91/gpio.h | 6 +