Forum Discussion
Altera_Forum
Honored Contributor
16 years agoI2C interface on Linux (with MMU)
I have a few questions about I2C interfaces on Nios II on Linux with MMU. I found this thread http://www.alteraforum.com/forum/showthread.php?t=18441 (though forum search for "i2c" or "I2C" doe...
Altera_Forum
Honored Contributor
16 years agoI'm not quite ready to give up on the Microtronix I2C yet.
I think I have the Microtronix I2C driver compiled in, but it seems to have no connection to /dev/i2c-0 (so i2cdetect fails). Microtronix sent me their entire Linux distribution. (I think it is uClinux, as there is nios2nommu). I've copied over what I think are the relevant I2C files:- drivers/i2c/algos/i2c-algo-mtx.c
- drivers/i2c/algos/i2c-mtx.h
- drivers/i2c/busses/i2c-mtx.c
- include/linux/i2c-algo-mtx.h