Skip to contentSkip to conversation

gpio: Add GPIO driver framework for Marvell SoCs

PATCH Superseded Ajay Bhargav 2 participants 2 messages Jul 21, 2011 1 message not in the archive

v1 of 7 Superseded Latest is v7 →

lore
Share & tools
lore
#1 lore raw

PATCH 1/2 gpio: Add GPIO driver framework for Marvell SoCs

In reply to a message not in the archive

Hi Lei,

Quoted 4 lines

Please put this get_gpio_base into arch's self directory, since different soc may have
different number of banks. For example, mmp3 has 6 banks.

Can I declare get_gpio_base in arch's gpio.h file as static inline? so other archs can have their own version in their respective gpio.h file.

Regards,
Ajay Bhargav

#2 lore raw

PATCH 1/2 gpio: Add GPIO driver framework for Marvell SoCs

Hi Ajay,

Quoted 10 lines · Ajay Bhargav

Hi Lei,

Quoted 4 lines

Please put this get_gpio_base into arch's self directory, since different soc may have
different number of banks. For example, mmp3 has 6 banks.

Can I declare get_gpio_base in arch's gpio.h file as static inline? so other archs can have their own version in their respective gpio.h file.

Ok, I think that could be accepted.

Best regards,
Lei