All of lore.kernel.org
 help / color / mirror / Atom feed
* Problem with CPM I2C driver
@ 2000-05-12  9:01 Kim Jørgensen
  2000-05-12 16:29 ` Richard Hendricks
  0 siblings, 1 reply; 3+ messages in thread
From: Kim Jørgensen @ 2000-05-12  9:01 UTC (permalink / raw)
  To: 'linuxppc-embedded@lists.linuxppc.org'


Hi.

After solving my hardware problem on custom MPC823E board and I got my LCD
running, thank you for the help.
But I have a new problem: I want to use the I2C bus, but the driver doesn't
seam to work.

I added CPM IIC and IIC/SPI Microcode patch in xconfig. Then I added the
cpm_iic_init function in drivers/char/mem.c so that is would be called at
startup.

When I try to read some data from /dev/i2c0 the driver just hang. I have
added some printk in the iic driver read function, and it seam to hang just
after enabling the i2c controller.
Can anyone help me with this?

The "driver" in arch/ppc/mbxboot seam to work fine on my board.

Is there any other more complete i2c driver available?

---
Kim Jorgensen

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

end of thread, other threads:[~2000-05-12 18:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-05-12  9:01 Problem with CPM I2C driver Kim Jørgensen
2000-05-12 16:29 ` Richard Hendricks
2000-05-12 18:31   ` Dan Malek

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.