i2c-taos-evm 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. Kernel driver i2c-taos-evm
  2. Author: Jean Delvare <jdelvare@suse.de>
  3. This is a driver for the evaluation modules for TAOS I2C/SMBus chips.
  4. The modules include an SMBus master with limited capabilities, which can
  5. be controlled over the serial port. Virtually all evaluation modules
  6. are supported, but a few lines of code need to be added for each new
  7. module to instantiate the right I2C chip on the bus. Obviously, a driver
  8. for the chip in question is also needed.
  9. Currently supported devices are:
  10. * TAOS TSL2550 EVM
  11. For additional information on TAOS products, please see
  12. http://www.taosinc.com/
  13. Using this driver
  14. -----------------
  15. In order to use this driver, you'll need the serport driver, and the
  16. inputattach tool, which is part of the input-utils package. The following
  17. commands will tell the kernel that you have a TAOS EVM on the first
  18. serial port:
  19. # modprobe serport
  20. # inputattach --taos-evm /dev/ttyS0
  21. Technical details
  22. -----------------
  23. Only 4 SMBus transaction types are supported by the TAOS evaluation
  24. modules:
  25. * Receive Byte
  26. * Send Byte
  27. * Read Byte
  28. * Write Byte
  29. The communication protocol is text-based and pretty simple. It is
  30. described in a PDF document on the CD which comes with the evaluation
  31. module. The communication is rather slow, because the serial port has
  32. to operate at 1200 bps. However, I don't think this is a big concern in
  33. practice, as these modules are meant for evaluation and testing only.