Hello Wolfgang, Wolfgang Denk wrote: > Dear Heiko Schocher, > > In message <4a6437a7.40...@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 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot