From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ajay Bhargav Date: Wed, 20 Jul 2011 16:13:58 +0530 (IST) Subject: [U-Boot] [PATCH 1/4] gpio: Adds GPIO driver support for Armada100 In-Reply-To: Message-ID: <1499501074.35394.1311158638174.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 Hi Lei, > I think we make thing complicated here. For GPIO driver, the only > structure we need to > define is the GPIO register itself, like GPIO_PLR, GPIO_PDR, etc... > I got your point, but lemme show you where the problem is.. GPIO_PLR0 0x0000 GPIO_PLR1 0x0004 GPIO_PLR2 0x0008 GPIO_PLR3 0x0100 till 3 registers its fine... fourth register is way out of league. Regards, Ajay Bhargav