[U-Boot] [PATCH v2 2/2] gpio: Add GPIO driver for Marvell SoC Armada100
Ajay Bhargav
ajay.bhargav at einfochips.com
Mon Jul 25 07:15:38 CEST 2011
----- "Prafulla Wadaskar" <prafulla at marvell.com> wrote:
> The main objective of having mvgpio.c is to share/reuse a driver code
> across several SoCs.
>
> If most of the SoCs (what we know) have similar register definition,
> it makes sense to keep them in mvgpio.c
>
> What may differ for each SOC is that- base addresses, number of GPIOs,
> number of GPIO Banks, that should go in asm/arch/gpio.h
>
> If any future SoC follows totally different GPIO architecture, we can
> always have _gpio.c.
>
> Regards..
> Prafulla . .
>
So what about v2 patches i sent? I did things accordingly you said.
can you please review them and let me know if any changes are required.
Regards,
Ajay Bhargav
More information about the U-Boot
mailing list