i2c-taos-evm.rst 1.5 KB

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