-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'i2c-for-linus' of git://jdelvare.pck.nerim.net/jdelvare…
…-2.6 * 'i2c-for-linus' of git://jdelvare.pck.nerim.net/jdelvare-2.6: (26 commits) i2c-rpx: Remove i2c-mpc: work around missing-9th-clock-pulse bug i2c: New PMC MSP71xx TWI bus driver i2c-savage4: Delete many unused defines i2c/tsl2550: Speed up initialization i2c: New bus driver for the TAOS evaluation modules i2c-i801: Use the internal 32-byte buffer on ICH4+ i2c-i801: Various cleanups i2c: Add support for the TSL2550 i2c-pxa: Support new-style I2C drivers i2c-gpio: Make some internal functions static i2c-gpio: Add support for new-style clients i2c-iop3xx: Switch to static adapter numbering i2c-sis5595: Resolve resource conflict with sis5595 matroxfb: Clean-up i2c header inclusions i2c-nforce2: Add support for SMBus block transactions i2c-mpc: Use i2c_add_numbered_adapter i2c-mv64xxx: Use i2c_add_numbered_adapter i2c-piix4: Add support for the ATI SB700 i2c: New DS1682 chip driver ...
- Loading branch information
Showing
42 changed files
with
2,222 additions
and
330 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
Kernel driver i2c-taos-evm | ||
|
||
Author: Jean Delvare <khali@linux-fr.org> | ||
|
||
This is a driver for the evaluation modules for TAOS I2C/SMBus chips. | ||
The modules include an SMBus master with limited capabilities, which can | ||
be controlled over the serial port. Virtually all evaluation modules | ||
are supported, but a few lines of code need to be added for each new | ||
module to instantiate the right I2C chip on the bus. Obviously, a driver | ||
for the chip in question is also needed. | ||
|
||
Currently supported devices are: | ||
|
||
* TAOS TSL2550 EVM | ||
|
||
For addtional information on TAOS products, please see | ||
http://www.taosinc.com/ | ||
|
||
|
||
Using this driver | ||
----------------- | ||
|
||
In order to use this driver, you'll need the serport driver, and the | ||
inputattach tool, which is part of the input-utils package. The following | ||
commands will tell the kernel that you have a TAOS EVM on the first | ||
serial port: | ||
|
||
# modprobe serport | ||
# inputattach --taos-evm /dev/ttyS0 | ||
|
||
|
||
Technical details | ||
----------------- | ||
|
||
Only 4 SMBus transaction types are supported by the TAOS evaluation | ||
modules: | ||
* Receive Byte | ||
* Send Byte | ||
* Read Byte | ||
* Write Byte | ||
|
||
The communication protocol is text-based and pretty simple. It is | ||
described in a PDF document on the CD which comes with the evaluation | ||
module. The communication is rather slow, because the serial port has | ||
to operate at 1200 bps. However, I don't think this is a big concern in | ||
practice, as these modules are meant for evaluation and testing only. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.