From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher Date: Tue, 21 Jul 2009 08:31:07 +0200 Subject: [U-Boot] [PATCH 0/2] arm nomadik: gpio and i2c In-Reply-To: <20090720151410.83FD3832E416@gemini.denx.de> References: <4A6422FC.6030508@invitel.hu> <20090719171353.5A910832E416@gemini.denx.de> <20090720080955.GA2640@mail.gnudd.com> <4A6437A7.40909@denx.de> <20090720151410.83FD3832E416@gemini.denx.de> Message-ID: <4A6560AB.7070908@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello Wolfgang, Wolfgang Denk wrote: > Dear Heiko Schocher, > > In message <4A6437A7.40909@denx.de> you wrote: >> Also, a board can have more then one gpio adapter, how we address >> such a case? > > How far do you want to take that? What about an I/O expander at the > I2C bus? Hmmm.. good question ;-) But I don;t think it is not so exotic to have more than one gpio adapter on one board. On the suen3 plattform where I actually work, there are the CPU GPIO pins and GPIO pins over an I/O Expander used ... so it should be possible to have more than one gpio adapter I think. And to make such an I/O Expander gpio adapter should not so difficult ... and if we now really make such a gpio lib, it should support more than one adapter ... I like Alessandros suggestion for concatening such multiple adapters, see: http://lists.denx.de/pipermail/u-boot/2009-July/056949.html bye Heiko -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany