andy at openmoko.com
Tue Aug 19 12:02:55 CEST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Somebody in the thread at some point said:
|> Wow, can I call you Mr.bitbang?
I worry the wife will misunderstand my new "street name".
|> So you decide to configure I2C/SCL(GPE14) I2C/SDA(GPE15) as output
|> function if I understand.
|> Don't forget re-initialize UART after 400/533MHz CPU operation.
Yes I have it in mind.
Generic bitbang has the advantage when we target a new CPU, we don't
have to deal with writing or porting some driver for new hardware I2C
unit we don't really care about (likely wanting to use interrupts we
don't want to deal with either).
Done as a state machine it has other advantages such as being able to
hide it inside other slow operations like pulling the kernel in if we
had to, instead of sitting there like U-Boot for ~1 second just spamming
the PMU on boot with the CPU spinning the whole while uselessly.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the openmoko-kernel