diff options
Diffstat (limited to 'Documentation/i2c')
-rw-r--r-- | Documentation/i2c/busses/i2c-i801 | 13 | ||||
-rw-r--r-- | Documentation/i2c/busses/i2c-piix4 | 9 | ||||
-rw-r--r-- | Documentation/i2c/writing-clients | 23 |
3 files changed, 34 insertions, 11 deletions
diff --git a/Documentation/i2c/busses/i2c-i801 b/Documentation/i2c/busses/i2c-i801 index 71f55bbcefc8..615142da4ef6 100644 --- a/Documentation/i2c/busses/i2c-i801 +++ b/Documentation/i2c/busses/i2c-i801 | |||
@@ -38,9 +38,10 @@ Module Parameters | |||
38 | Disable selected features normally supported by the device. This makes it | 38 | Disable selected features normally supported by the device. This makes it |
39 | possible to work around possible driver or hardware bugs if the feature in | 39 | possible to work around possible driver or hardware bugs if the feature in |
40 | question doesn't work as intended for whatever reason. Bit values: | 40 | question doesn't work as intended for whatever reason. Bit values: |
41 | 1 disable SMBus PEC | 41 | 0x01 disable SMBus PEC |
42 | 2 disable the block buffer | 42 | 0x02 disable the block buffer |
43 | 8 disable the I2C block read functionality | 43 | 0x08 disable the I2C block read functionality |
44 | 0x10 don't use interrupts | ||
44 | 45 | ||
45 | 46 | ||
46 | Description | 47 | Description |
@@ -86,6 +87,12 @@ SMBus 2.0 Support | |||
86 | The 82801DB (ICH4) and later chips support several SMBus 2.0 features. | 87 | The 82801DB (ICH4) and later chips support several SMBus 2.0 features. |
87 | 88 | ||
88 | 89 | ||
90 | Interrupt Support | ||
91 | ----------------- | ||
92 | |||
93 | PCI interrupt support is supported on the 82801EB (ICH5) and later chips. | ||
94 | |||
95 | |||
89 | Hidden ICH SMBus | 96 | Hidden ICH SMBus |
90 | ---------------- | 97 | ---------------- |
91 | 98 | ||
diff --git a/Documentation/i2c/busses/i2c-piix4 b/Documentation/i2c/busses/i2c-piix4 index 475bb4ae0720..1e6634f54c50 100644 --- a/Documentation/i2c/busses/i2c-piix4 +++ b/Documentation/i2c/busses/i2c-piix4 | |||
@@ -8,6 +8,11 @@ Supported adapters: | |||
8 | Datasheet: Only available via NDA from ServerWorks | 8 | Datasheet: Only available via NDA from ServerWorks |
9 | * ATI IXP200, IXP300, IXP400, SB600, SB700 and SB800 southbridges | 9 | * ATI IXP200, IXP300, IXP400, SB600, SB700 and SB800 southbridges |
10 | Datasheet: Not publicly available | 10 | Datasheet: Not publicly available |
11 | SB700 register reference available at: | ||
12 | http://support.amd.com/us/Embedded_TechDocs/43009_sb7xx_rrg_pub_1.00.pdf | ||
13 | * AMD SP5100 (SB700 derivative found on some server mainboards) | ||
14 | Datasheet: Publicly available at the AMD website | ||
15 | http://support.amd.com/us/Embedded_TechDocs/44413.pdf | ||
11 | * AMD Hudson-2 | 16 | * AMD Hudson-2 |
12 | Datasheet: Not publicly available | 17 | Datasheet: Not publicly available |
13 | * Standard Microsystems (SMSC) SLC90E66 (Victory66) southbridge | 18 | * Standard Microsystems (SMSC) SLC90E66 (Victory66) southbridge |
@@ -68,6 +73,10 @@ this driver on those mainboards. | |||
68 | The ServerWorks Southbridges, the Intel 440MX, and the Victory66 are | 73 | The ServerWorks Southbridges, the Intel 440MX, and the Victory66 are |
69 | identical to the PIIX4 in I2C/SMBus support. | 74 | identical to the PIIX4 in I2C/SMBus support. |
70 | 75 | ||
76 | The AMD SB700 and SP5100 chipsets implement two PIIX4-compatible SMBus | ||
77 | controllers. If your BIOS initializes the secondary controller, it will | ||
78 | be detected by this driver as an "Auxiliary SMBus Host Controller". | ||
79 | |||
71 | If you own Force CPCI735 motherboard or other OSB4 based systems you may need | 80 | If you own Force CPCI735 motherboard or other OSB4 based systems you may need |
72 | to change the SMBus Interrupt Select register so the SMBus controller uses | 81 | to change the SMBus Interrupt Select register so the SMBus controller uses |
73 | the SMI mode. | 82 | the SMI mode. |
diff --git a/Documentation/i2c/writing-clients b/Documentation/i2c/writing-clients index 5aa53374ea2a..3a94b0e6f601 100644 --- a/Documentation/i2c/writing-clients +++ b/Documentation/i2c/writing-clients | |||
@@ -245,21 +245,17 @@ static int __init foo_init(void) | |||
245 | { | 245 | { |
246 | return i2c_add_driver(&foo_driver); | 246 | return i2c_add_driver(&foo_driver); |
247 | } | 247 | } |
248 | module_init(foo_init); | ||
248 | 249 | ||
249 | static void __exit foo_cleanup(void) | 250 | static void __exit foo_cleanup(void) |
250 | { | 251 | { |
251 | i2c_del_driver(&foo_driver); | 252 | i2c_del_driver(&foo_driver); |
252 | } | 253 | } |
254 | module_exit(foo_cleanup); | ||
253 | 255 | ||
254 | /* Substitute your own name and email address */ | 256 | The module_i2c_driver() macro can be used to reduce above code. |
255 | MODULE_AUTHOR("Frodo Looijaard <frodol@dds.nl>" | ||
256 | MODULE_DESCRIPTION("Driver for Barf Inc. Foo I2C devices"); | ||
257 | |||
258 | /* a few non-GPL license types are also allowed */ | ||
259 | MODULE_LICENSE("GPL"); | ||
260 | 257 | ||
261 | module_init(foo_init); | 258 | module_i2c_driver(foo_driver); |
262 | module_exit(foo_cleanup); | ||
263 | 259 | ||
264 | Note that some functions are marked by `__init'. These functions can | 260 | Note that some functions are marked by `__init'. These functions can |
265 | be removed after kernel booting (or module loading) is completed. | 261 | be removed after kernel booting (or module loading) is completed. |
@@ -267,6 +263,17 @@ Likewise, functions marked by `__exit' are dropped by the compiler when | |||
267 | the code is built into the kernel, as they would never be called. | 263 | the code is built into the kernel, as they would never be called. |
268 | 264 | ||
269 | 265 | ||
266 | Driver Information | ||
267 | ================== | ||
268 | |||
269 | /* Substitute your own name and email address */ | ||
270 | MODULE_AUTHOR("Frodo Looijaard <frodol@dds.nl>" | ||
271 | MODULE_DESCRIPTION("Driver for Barf Inc. Foo I2C devices"); | ||
272 | |||
273 | /* a few non-GPL license types are also allowed */ | ||
274 | MODULE_LICENSE("GPL"); | ||
275 | |||
276 | |||
270 | Power Management | 277 | Power Management |
271 | ================ | 278 | ================ |
272 | 279 | ||