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