Re: I2C slave support on Xilinx Zybo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> I don't think necessarily there is an error in the docs, it was probably my

Nope, the docs are wrong. Try this:

echo slave-24c02 0x28 > /sys/bus/i2c/devices/i2c-1/new_device

That should be it. I am travelling at the moment, so I can't double
check, sadly. But after that, you should have a new device at 1-0028
bound to the i2c-slave-eeprom driver.

Thanks for the code! Haven't looked in detail yet, needs some polishing
to match kernel coding style. But as they say, first make it work, then
make it beautiful.

Good luck!

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux