[U-Boot] [PATCH 0/2] arm nomadik: gpio and i2c
Heiko Schocher
hs at denx.de
Tue Jul 21 08:31:07 CEST 2009
Hello Wolfgang,
Wolfgang Denk wrote:
> Dear Heiko Schocher,
>
> In message <4A6437A7.40909 at 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
More information about the U-Boot
mailing list