49 lines · plain
1==========================2Kernel driver i2c-taos-evm3==========================4 5Author: Jean Delvare <jdelvare@suse.de>6 7This is a driver for the evaluation modules for TAOS I2C/SMBus chips.8The modules include an SMBus master with limited capabilities, which can9be controlled over the serial port. Virtually all evaluation modules10are supported, but a few lines of code need to be added for each new11module to instantiate the right I2C chip on the bus. Obviously, a driver12for the chip in question is also needed.13 14Currently supported devices are:15 16* TAOS TSL2550 EVM17 18For additional information on TAOS products, please see19 http://www.taosinc.com/20 21 22Using this driver23-----------------24 25In order to use this driver, you'll need the serport driver, and the26inputattach tool, which is part of the input-utils package. The following27commands will tell the kernel that you have a TAOS EVM on the first28serial port::29 30 # modprobe serport31 # inputattach --taos-evm /dev/ttyS032 33 34Technical details35-----------------36 37Only 4 SMBus transaction types are supported by the TAOS evaluation38modules:39* Receive Byte40* Send Byte41* Read Byte42* Write Byte43 44The communication protocol is text-based and pretty simple. It is45described in a PDF document on the CD which comes with the evaluation46module. The communication is rather slow, because the serial port has47to operate at 1200 bps. However, I don't think this is a big concern in48practice, as these modules are meant for evaluation and testing only.49