| 1 | Kernel driver `i2c-ali5x3.o' |
|---|
| 2 | |
|---|
| 3 | Status: Complete and tested |
|---|
| 4 | |
|---|
| 5 | Supported adapters: |
|---|
| 6 | * Acer Labs, Inc. ALI 1533 and 1543C |
|---|
| 7 | Datasheet: Publicly available at the Acer Labs website |
|---|
| 8 | |
|---|
| 9 | Author: Frodo Looijaard <frodol@dds.nl>, Philip Edelbrock |
|---|
| 10 | <phil@netroedge.com>, and Mark D. Studebaker <mds@eng.paradyne.com> |
|---|
| 11 | |
|---|
| 12 | |
|---|
| 13 | Module Parameters |
|---|
| 14 | ----------------- |
|---|
| 15 | |
|---|
| 16 | (none) |
|---|
| 17 | |
|---|
| 18 | |
|---|
| 19 | Description |
|---|
| 20 | ----------- |
|---|
| 21 | |
|---|
| 22 | |
|---|
| 23 | Stability |
|---|
| 24 | --------- |
|---|
| 25 | Complete and tested on the author's system. |
|---|
| 26 | Untested by others. |
|---|
| 27 | SMBus sometimes hangs on author's system when accessing W83781D, |
|---|
| 28 | cause unknown (see Issues below). |
|---|
| 29 | |
|---|
| 30 | |
|---|
| 31 | Supported Devices |
|---|
| 32 | ----------------- |
|---|
| 33 | This is the driver for the SMB Host controller on |
|---|
| 34 | Acer Labs Inc. (ALI) M1541 and M1543C South Bridges. |
|---|
| 35 | |
|---|
| 36 | The M1543C is a South bridge for desktop systems. |
|---|
| 37 | The M1541 is a South bridge for portable systems. |
|---|
| 38 | They are part of the following ALI chipsets: |
|---|
| 39 | "Aladdin Pro 2": Includes the M1621 Slot 1 North bridge |
|---|
| 40 | with AGP and 100MHz CPU Front Side bus |
|---|
| 41 | |
|---|
| 42 | "Aladdin V": Includes the M1541 Socket 7 North bridge |
|---|
| 43 | with AGP and 100MHz CPU Front Side bus |
|---|
| 44 | Some Aladdin V motherboards: |
|---|
| 45 | Asus P5A |
|---|
| 46 | Atrend ATC-5220 |
|---|
| 47 | BCM/GVC VP1541 |
|---|
| 48 | Biostar M5ALA |
|---|
| 49 | Gigabyte GA-5AX |
|---|
| 50 | Iwill XA100 Plus |
|---|
| 51 | Micronics C200 |
|---|
| 52 | Microstar (MSI) MS-5169 |
|---|
| 53 | |
|---|
| 54 | "Aladdin IV": Includes the M1541 Socket 7 North bridge |
|---|
| 55 | with host bus up to 83.3 MHz. |
|---|
| 56 | |
|---|
| 57 | For an overview of these chips see http://www.acerlabs.com |
|---|
| 58 | At this time the full data sheets on the web site are password protected, |
|---|
| 59 | however if you contact the ALI office in San Jose |
|---|
| 60 | they may give you the password. |
|---|
| 61 | |
|---|
| 62 | The M1533/M1543C devices appear as FOUR separate devices |
|---|
| 63 | on the PCI bus. An output of lspci will show something similar |
|---|
| 64 | to the following: |
|---|
| 65 | |
|---|
| 66 | 00:02.0 USB Controller: Acer Laboratories Inc. M5237 (rev 03) |
|---|
| 67 | 00:03.0 Bridge: Acer Laboratories Inc. M7101 <= THIS IS THE ONE WE NEED |
|---|
| 68 | 00:07.0 ISA bridge: Acer Laboratories Inc. M1533 (rev c3) |
|---|
| 69 | 00:0f.0 IDE interface: Acer Laboratories Inc. M5229 (rev c1) |
|---|
| 70 | |
|---|
| 71 | ** IMPORTANT ** |
|---|
| 72 | ** If you have a 1533 or 1543C on the board and you get |
|---|
| 73 | ** "ali15x3.o: Error: Can't detect ali15x3!" |
|---|
| 74 | ** then run lspci. |
|---|
| 75 | ** If you see the 1533 and 5229 devices but NOT the 7101 device, |
|---|
| 76 | ** then you MUST enable ACPI, the PMU, SMB, or something similar |
|---|
| 77 | ** in the BIOS. If you can't figure out how to enable the |
|---|
| 78 | ** 7101 device in the BIOS, you have to upgrade your BIOS. |
|---|
| 79 | ** The driver won't work if it can't find the 7101 device. |
|---|
| 80 | |
|---|
| 81 | The SMB controller is part of the 7101 device, which is an |
|---|
| 82 | ACPI-compliant Power Management Unit (PMU). |
|---|
| 83 | |
|---|
| 84 | The whole 7101 device has to be enabled for the SMB to work. |
|---|
| 85 | You can't just enable the SMB alone. |
|---|
| 86 | The SMB and the ACPI have separate I/O spaces. |
|---|
| 87 | So we have to make sure that both the SMB and the ACPI |
|---|
| 88 | are mapped and enabled. |
|---|
| 89 | |
|---|
| 90 | |
|---|
| 91 | Features |
|---|
| 92 | -------- |
|---|
| 93 | This driver controls the SMB Host only. |
|---|
| 94 | The SMB Slave controller on the M15X3 is not enabled. |
|---|
| 95 | This driver does not use interrupts. |
|---|
| 96 | |
|---|
| 97 | |
|---|
| 98 | Issues |
|---|
| 99 | ------ |
|---|
| 100 | This driver requests the I/O space both for the SMB and the ACPI |
|---|
| 101 | registers, just to be safe. It doesn't actually use the ACPI region. |
|---|
| 102 | It will therefore conflict with separate software |
|---|
| 103 | that accesses the ACPI registers? |
|---|
| 104 | To fix this, undefine MAP_ACPI. |
|---|
| 105 | |
|---|
| 106 | On the author's ASUS P5A, the W83781D chip is on both the |
|---|
| 107 | ISA and the SMBus. |
|---|
| 108 | |
|---|
| 109 | On the author's ASUS P5A, the W83781D chip hangs the whole |
|---|
| 110 | bus and this can only be resolved by powering off the computer. |
|---|
| 111 | The chip does not hang if an external device is attached |
|---|
| 112 | to the SMBus. There may be electrical problems on this board. |
|---|
| 113 | The EEPROM on the DRAM DIMM is accessible on the SMBus and |
|---|
| 114 | it does not hang the bus. |
|---|
| 115 | |
|---|
| 116 | |
|---|
| 117 | External Device Connection for ASUS P5A |
|---|
| 118 | --------------------------------------- |
|---|
| 119 | On the author's ASUS P5A board, |
|---|
| 120 | the SMBus connector is between the 4th and 5th PCI |
|---|
| 121 | connector. The pinouts are: |
|---|
| 122 | 1. Clock |
|---|
| 123 | 2. no pin |
|---|
| 124 | 3. Ground |
|---|
| 125 | 4. Data |
|---|
| 126 | 5. +5V |
|---|