[U-Boot] [PATCH 1/4] gpio: Adds GPIO driver support for Armada100

Lei Wen adrian.wenl at gmail.com
Wed Jul 20 09:11:02 CEST 2011


Hi Ajay,

On Tue, Jul 19, 2011 at 12:23 PM, Ajay Bhargav
<ajay.bhargav at einfochips.com> wrote:
>
> ----- "Prafulla Wadaskar" <prafulla at marvell.com> wrote:
>
>> You should define all GPIO register in a single struct
>> And point them with base address offsets
>>
>
>>
>> I suggest you to add mvgpio.c instead of armada100_gpio.c
>> This will be used in future by other Marvell SoCs.
>>
> GPIO registers might vary for other Marvell SoCs? How to deal with
> that?

I could tell you that for the pxa series branch, the gpio register arrangement
not change for years, and still keep it valid for the next generation product.

So mvgpio.c could be used by pxa168(aspen), pxa910(td), pxa610(mmp2),
pxa620(mmp3).

Best regards,
Lei


More information about the U-Boot mailing list