From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ajay Bhargav Date: Mon, 25 Jul 2011 10:45:38 +0530 (IST) Subject: [U-Boot] [PATCH v2 2/2] gpio: Add GPIO driver for Marvell SoC Armada100 In-Reply-To: Message-ID: <1939544051.460.1311570938194.JavaMail.root@ahm.einfochips.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de ----- "Prafulla Wadaskar" 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