Skip to contentSkip to conversation

Xilinx I2C driver for linux 2.6?

DISCUSSION Peter Korsgaard 2 participants 3 messages Oct 12, 2006

lore
Share & tools
lore
#0 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"JBM" == Jean-Baptiste Maneyrol <[email protected]> writes:

Hi,

JBM> Does anyone know if there is somewhere an i2c driver for the JBM> Xilinx IIC IP working on linux 2.6?

Not afaik. We're using the OpenCores I2C controller instead which I in the mean time have written a driver for (in mainline). The IP core is afaik even smaller than the Xilinx controller.

Signature · 1 line
Bye, Peter Korsgaard
#1 lore raw
Quoted 6 lines

Not afaik. We're using the OpenCores I2C controller instead which I in the mean time have written a driver for (in mainline). The IP core is afaik even smaller than the Xilinx controller.

Peter, whats the name of the driver in mainline?
(Denx git or kernel.org?)

I want to use the opencore IP in a memory mapped FPGA (Altera though), so would like to take a look at your driver.

Cheers,
Dave

#2 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"DH" == David Hawkins <[email protected]> writes:

Hi,

DH> Peter, whats the name of the driver in mainline? (Denx git or DH> kernel.org?)

Kernel.org - drivers/i2c/busses/i2c-ocores.c

Also take a look at Documentation/i2c/busses/i2c-ocores.

DH> I want to use the opencore IP in a memory mapped FPGA (Altera DH> though), so would like to take a look at your driver.

You're welcome. It should be pretty easy to get going (just provide a platform device with addr/irq).

Signature · 1 line
Bye, Peter Korsgaard