1*4882a593Smuzhiyun========================= 2*4882a593SmuzhiyunKernel driver i2c-ali15x3 3*4882a593Smuzhiyun========================= 4*4882a593Smuzhiyun 5*4882a593SmuzhiyunSupported adapters: 6*4882a593Smuzhiyun * Acer Labs, Inc. ALI 1533 and 1543C (south bridge) 7*4882a593Smuzhiyun 8*4882a593Smuzhiyun Datasheet: Now under NDA 9*4882a593Smuzhiyun http://www.ali.com.tw/ 10*4882a593Smuzhiyun 11*4882a593SmuzhiyunAuthors: 12*4882a593Smuzhiyun - Frodo Looijaard <frodol@dds.nl>, 13*4882a593Smuzhiyun - Philip Edelbrock <phil@netroedge.com>, 14*4882a593Smuzhiyun - Mark D. Studebaker <mdsxyz123@yahoo.com> 15*4882a593Smuzhiyun 16*4882a593SmuzhiyunModule Parameters 17*4882a593Smuzhiyun----------------- 18*4882a593Smuzhiyun 19*4882a593Smuzhiyun* force_addr: int 20*4882a593Smuzhiyun Initialize the base address of the i2c controller 21*4882a593Smuzhiyun 22*4882a593Smuzhiyun 23*4882a593SmuzhiyunNotes 24*4882a593Smuzhiyun----- 25*4882a593Smuzhiyun 26*4882a593SmuzhiyunThe force_addr parameter is useful for boards that don't set the address in 27*4882a593Smuzhiyunthe BIOS. Does not do a PCI force; the device must still be present in 28*4882a593Smuzhiyunlspci. Don't use this unless the driver complains that the base address is 29*4882a593Smuzhiyunnot set. 30*4882a593Smuzhiyun 31*4882a593SmuzhiyunExample:: 32*4882a593Smuzhiyun 33*4882a593Smuzhiyun modprobe i2c-ali15x3 force_addr=0xe800 34*4882a593Smuzhiyun 35*4882a593SmuzhiyunSMBus periodically hangs on ASUS P5A motherboards and can only be cleared 36*4882a593Smuzhiyunby a power cycle. Cause unknown (see Issues below). 37*4882a593Smuzhiyun 38*4882a593Smuzhiyun 39*4882a593SmuzhiyunDescription 40*4882a593Smuzhiyun----------- 41*4882a593Smuzhiyun 42*4882a593SmuzhiyunThis is the driver for the SMB Host controller on Acer Labs Inc. (ALI) 43*4882a593SmuzhiyunM1541 and M1543C South Bridges. 44*4882a593Smuzhiyun 45*4882a593SmuzhiyunThe M1543C is a South bridge for desktop systems. 46*4882a593Smuzhiyun 47*4882a593SmuzhiyunThe M1541 is a South bridge for portable systems. 48*4882a593Smuzhiyun 49*4882a593SmuzhiyunThey are part of the following ALI chipsets: 50*4882a593Smuzhiyun 51*4882a593Smuzhiyun * "Aladdin Pro 2" includes the M1621 Slot 1 North bridge with AGP and 52*4882a593Smuzhiyun 100MHz CPU Front Side bus 53*4882a593Smuzhiyun * "Aladdin V" includes the M1541 Socket 7 North bridge with AGP and 100MHz 54*4882a593Smuzhiyun CPU Front Side bus 55*4882a593Smuzhiyun 56*4882a593Smuzhiyun Some Aladdin V motherboards: 57*4882a593Smuzhiyun - Asus P5A 58*4882a593Smuzhiyun - Atrend ATC-5220 59*4882a593Smuzhiyun - BCM/GVC VP1541 60*4882a593Smuzhiyun - Biostar M5ALA 61*4882a593Smuzhiyun - Gigabyte GA-5AX (Generally doesn't work because the BIOS doesn't 62*4882a593Smuzhiyun enable the 7101 device!) 63*4882a593Smuzhiyun - Iwill XA100 Plus 64*4882a593Smuzhiyun - Micronics C200 65*4882a593Smuzhiyun - Microstar (MSI) MS-5169 66*4882a593Smuzhiyun 67*4882a593Smuzhiyun * "Aladdin IV" includes the M1541 Socket 7 North bridge 68*4882a593Smuzhiyun with host bus up to 83.3 MHz. 69*4882a593Smuzhiyun 70*4882a593SmuzhiyunFor an overview of these chips see http://www.acerlabs.com. At this time the 71*4882a593Smuzhiyunfull data sheets on the web site are password protected, however if you 72*4882a593Smuzhiyuncontact the ALI office in San Jose they may give you the password. 73*4882a593Smuzhiyun 74*4882a593SmuzhiyunThe M1533/M1543C devices appear as FOUR separate devices on the PCI bus. An 75*4882a593Smuzhiyunoutput of lspci will show something similar to the following:: 76*4882a593Smuzhiyun 77*4882a593Smuzhiyun 00:02.0 USB Controller: Acer Laboratories Inc. M5237 (rev 03) 78*4882a593Smuzhiyun 00:03.0 Bridge: Acer Laboratories Inc. M7101 <= THIS IS THE ONE WE NEED 79*4882a593Smuzhiyun 00:07.0 ISA bridge: Acer Laboratories Inc. M1533 (rev c3) 80*4882a593Smuzhiyun 00:0f.0 IDE interface: Acer Laboratories Inc. M5229 (rev c1) 81*4882a593Smuzhiyun 82*4882a593Smuzhiyun.. important:: 83*4882a593Smuzhiyun 84*4882a593Smuzhiyun If you have a M1533 or M1543C on the board and you get 85*4882a593Smuzhiyun "ali15x3: Error: Can't detect ali15x3!" 86*4882a593Smuzhiyun then run lspci. 87*4882a593Smuzhiyun 88*4882a593Smuzhiyun If you see the 1533 and 5229 devices but NOT the 7101 device, 89*4882a593Smuzhiyun then you must enable ACPI, the PMU, SMB, or something similar 90*4882a593Smuzhiyun in the BIOS. 91*4882a593Smuzhiyun 92*4882a593Smuzhiyun The driver won't work if it can't find the M7101 device. 93*4882a593Smuzhiyun 94*4882a593SmuzhiyunThe SMB controller is part of the M7101 device, which is an ACPI-compliant 95*4882a593SmuzhiyunPower Management Unit (PMU). 96*4882a593Smuzhiyun 97*4882a593SmuzhiyunThe whole M7101 device has to be enabled for the SMB to work. You can't 98*4882a593Smuzhiyunjust enable the SMB alone. The SMB and the ACPI have separate I/O spaces. 99*4882a593SmuzhiyunWe make sure that the SMB is enabled. We leave the ACPI alone. 100*4882a593Smuzhiyun 101*4882a593SmuzhiyunFeatures 102*4882a593Smuzhiyun-------- 103*4882a593Smuzhiyun 104*4882a593SmuzhiyunThis driver controls the SMB Host only. The SMB Slave 105*4882a593Smuzhiyuncontroller on the M15X3 is not enabled. This driver does not use 106*4882a593Smuzhiyuninterrupts. 107*4882a593Smuzhiyun 108*4882a593Smuzhiyun 109*4882a593SmuzhiyunIssues 110*4882a593Smuzhiyun------ 111*4882a593Smuzhiyun 112*4882a593SmuzhiyunThis driver requests the I/O space for only the SMB 113*4882a593Smuzhiyunregisters. It doesn't use the ACPI region. 114*4882a593Smuzhiyun 115*4882a593SmuzhiyunOn the ASUS P5A motherboard, there are several reports that 116*4882a593Smuzhiyunthe SMBus will hang and this can only be resolved by 117*4882a593Smuzhiyunpowering off the computer. It appears to be worse when the board 118*4882a593Smuzhiyungets hot, for example under heavy CPU load, or in the summer. 119*4882a593SmuzhiyunThere may be electrical problems on this board. 120*4882a593SmuzhiyunOn the P5A, the W83781D sensor chip is on both the ISA and 121*4882a593SmuzhiyunSMBus. Therefore the SMBus hangs can generally be avoided 122*4882a593Smuzhiyunby accessing the W83781D on the ISA bus only. 123