Back to home page

OSCL-LXR

 
 

    


0001 ==========================
0002 Kernel driver i2c-taos-evm
0003 ==========================
0004 
0005 Author: Jean Delvare <jdelvare@suse.de>
0006 
0007 This is a driver for the evaluation modules for TAOS I2C/SMBus chips.
0008 The modules include an SMBus master with limited capabilities, which can
0009 be controlled over the serial port. Virtually all evaluation modules
0010 are supported, but a few lines of code need to be added for each new
0011 module to instantiate the right I2C chip on the bus. Obviously, a driver
0012 for the chip in question is also needed.
0013 
0014 Currently supported devices are:
0015 
0016 * TAOS TSL2550 EVM
0017 
0018 For additional information on TAOS products, please see
0019   http://www.taosinc.com/
0020 
0021 
0022 Using this driver
0023 -----------------
0024 
0025 In order to use this driver, you'll need the serport driver, and the
0026 inputattach tool, which is part of the input-utils package. The following
0027 commands will tell the kernel that you have a TAOS EVM on the first
0028 serial port::
0029 
0030   # modprobe serport
0031   # inputattach --taos-evm /dev/ttyS0
0032 
0033 
0034 Technical details
0035 -----------------
0036 
0037 Only 4 SMBus transaction types are supported by the TAOS evaluation
0038 modules:
0039 * Receive Byte
0040 * Send Byte
0041 * Read Byte
0042 * Write Byte
0043 
0044 The communication protocol is text-based and pretty simple. It is
0045 described in a PDF document on the CD which comes with the evaluation
0046 module. The communication is rather slow, because the serial port has
0047 to operate at 1200 bps. However, I don't think this is a big concern in
0048 practice, as these modules are meant for evaluation and testing only.