All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot-Users] Proposal to add "ispeed"  (I2C speed) command
@ 2004-03-03 17:36 listmember at orkun.us
  2004-03-04  8:48 ` Stephan Linz
  2004-03-04  9:11 ` Wolfgang Denk
  0 siblings, 2 replies; 10+ messages in thread
From: listmember at orkun.us @ 2004-03-03 17:36 UTC (permalink / raw)
  To: u-boot

We have some instrumentation hanging on I2C bus. I would like to introduce
a new u-boot command ispeed to set the i2c speed so fast devices would not
be constrained to the lowest denominator speed.

If desired we can make be conditionally included if CONFIG_CMD_ISPEED
(suggestions?) so it would not take space when it is not needed (or
desired) on a particular board. The proposed syntax would be.

ispeed {i2c bus speed}

Since u-boot uses hex: 100kHz => 186A0, 400kHz => 61A80

I would also set an environment variable in ispeed command indicating
current i2c speed ("i2cspeed") so it could be used in scripts.

Looking for your comments?

Best regards,
Tolunay

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2004-03-04 16:36 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-03 17:36 [U-Boot-Users] Proposal to add "ispeed" (I2C speed) command listmember at orkun.us
2004-03-04  8:48 ` Stephan Linz
2004-03-04 15:58   ` listmember at orkun.us
2004-03-04 16:13     ` Wolfgang Denk
2004-03-04  9:11 ` Wolfgang Denk
2004-03-04 12:33   ` Stephan Linz
2004-03-04 13:21     ` Wolfgang Denk
2004-03-04 15:08       ` Stephan Linz
2004-03-04 16:10   ` listmember at orkun.us
2004-03-04 16:36     ` Wolfgang Denk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.