← Documents Documentation/i2c/busses/i2c-ali15x3.rst GitHub 원문 ↗

Linux 6.18.37 · I2C Buses

Kernel driver i2c-ali15x3

ALI M1533/M1543C의 M7101 감지, force_addr와 ASUS P5A SMBus 멈춤 우회를 설명합니다.

Source pathDocumentation/i2c/busses/i2c-ali15x3.rst
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.

1. 요약·해설

원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.

요약·해설

i2c-ali15x3.rst:1-122

ALI15x3 드라이버는 BIOS가 누락한 기준 주소를 선택적으로 복구하고 필수 M7101 PCI 기능과 P5A의 열 의존 SMBus 멈춤을 진단합니다.

문서 개요
항목
SourceDocumentation/i2c/busses/i2c-ali15x3.rst
분량122 source lines
필수 장치M7101
우회W83781D ISA 접근

원문 분량과 핵심 기능을 요약합니다.

동작 흐름
PCI 장치 확인M7101·기준 주소 검증필요 시 force_addrSMB Host 폴링P5A는 ISA 센서 접근

장치 탐지부터 기능 제공까지의 순서입니다.

2. 영어 원문 전체

번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.

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

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.

지원 어댑터와 force_addr

1-38

이 드라이버는 Acer Labs, Inc. ALI 1533과 1543C 사우스브리지를 지원합니다. 데이터시트는 NDA 대상이며 원문은 ALI 웹사이트를 제시합니다. 작성자는 Frodo Looijaard, Philip Edelbrock, Mark D. Studebaker입니다.

정수 모듈 매개변수 `force_addr`는 I2C 컨트롤러의 기준 주소를 초기화합니다.

BIOS가 주소를 설정하지 않은 보드에서 `force_addr`가 유용합니다. 이 매개변수는 PCI 장치를 강제로 만들지 않으므로 장치는 여전히 `lspci`에 나타나야 합니다. 드라이버가 기준 주소가 설정되지 않았다고 경고할 때만 사용해야 합니다.

사용 예는 `modprobe i2c-ali15x3 force_addr=0xe800`입니다.

ASUS P5A 메인보드에서는 SMBus가 주기적으로 멈추며 전원을 완전히 껐다 켜야만 복구됩니다. 원인은 알려지지 않았고 뒤의 Issues 절에서 자세히 설명합니다.

ALI15x3 적재 설정
항목주의
지원ALI 1533 / 1543C사우스브리지
`force_addr`I2C 기준 주소 초기화BIOS가 주소를 누락한 경우
`force_addr=0xe800`PCI 장치는 `lspci`에 있어야 함
금지일반 상황에서 임의 사용드라이버 경고가 있을 때만
P5A 문제SMBus 주기적 멈춤전원 완전 차단 필요

지원 칩과 기준 주소 강제 조건을 정리합니다.

ALI15x3 기준 주소 복구
`lspci`에서 M7101 존재 확인드라이버의 기준 주소 경고 확인보드의 올바른 I/O 주소 확인`force_addr`로 모듈 적재SMBus 동작 검증

PCI 장치가 존재하지만 BIOS 주소가 없을 때만 강제합니다.

=========================
Kernel driver i2c-ali15x3
=========================

Supported adapters:
  * Acer Labs, Inc. ALI 1533 and 1543C (south bridge)

    Datasheet: Now under NDA
        http://www.ali.com.tw/

Authors:
        - Frodo Looijaard <[email protected]>,
        - Philip Edelbrock <[email protected]>,
        - Mark D. Studebaker <[email protected]>

Module Parameters
-----------------

* force_addr: int
    Initialize the base address of the i2c controller


Notes
-----

The force_addr parameter is useful for boards that don't set the address in
the BIOS. Does not do a PCI force; the device must still be present in
lspci. Don't use this unless the driver complains that the base address is
not set.

Example::

    modprobe i2c-ali15x3 force_addr=0xe800

SMBus periodically hangs on ASUS P5A motherboards and can only be cleared
by a power cycle. Cause unknown (see Issues below).

M1541/M1543C와 Aladdin 칩셋

39-74

이 드라이버는 Acer Labs Inc. ALI M1541과 M1543C 사우스브리지의 SMB Host 컨트롤러를 지원합니다. M1543C는 데스크톱 시스템용이고 M1541은 휴대형 시스템용입니다.

이 장치들은 ALI 칩셋 구성 요소입니다. Aladdin Pro 2는 AGP와 100MHz CPU 프런트사이드 버스를 지원하는 M1621 Slot 1 노스브리지를 포함합니다. Aladdin V는 AGP와 100MHz CPU 프런트사이드 버스를 지원하는 M1541 Socket 7 노스브리지를 포함합니다.

원문에 나열된 Aladdin V 메인보드는 Asus P5A, Atrend ATC-5220, BCM/GVC VP1541, Biostar M5ALA, Gigabyte GA-5AX, Iwill XA100 Plus, Micronics C200, Microstar(MSI) MS-5169입니다. GA-5AX는 BIOS가 7101 장치를 활성화하지 않아 일반적으로 동작하지 않습니다.

Aladdin IV는 최대 83.3MHz 호스트 버스를 지원하는 M1541 Socket 7 노스브리지를 포함합니다. 당시 웹 데이터시트는 암호로 보호됐으며 ALI San Jose 사무소에 문의하면 암호를 받을 수 있다고 기록합니다.

ALI Aladdin 칩셋과 보드
구분구성·보드비고
M1543C데스크톱 사우스브리지SMB Host
M1541휴대형 사우스브리지SMB Host
Aladdin Pro 2M1621 Slot 1, AGP, FSB 100MHz
Aladdin VM1541 Socket 7, AGP, FSB 100MHz
Aladdin V 보드P5A, ATC-5220, VP1541, M5ALA
Aladdin V 보드GA-5AX, XA100 Plus, C200, MS-5169GA-5AX는 7101 비활성 문제
Aladdin IVM1541 Socket 7호스트 버스 최대 83.3MHz

사우스브리지 용도와 원문에 나열된 보드를 정리합니다.

ALI15x3 플랫폼 판별
M1541 또는 M1543C 사우스브리지 확인Aladdin 칩셋 세대 판별보드 BIOS의 M7101 활성화 확인PCI 장치 목록 대조SMB Host 자원 연결

칩셋과 보드 구성에서 SMB Host가 있는 M7101을 찾습니다.

Description
-----------

This is the driver for the SMB Host controller on Acer Labs Inc. (ALI)
M1541 and M1543C South Bridges.

The M1543C is a South bridge for desktop systems.

The M1541 is a South bridge for portable systems.

They are part of the following ALI chipsets:

 * "Aladdin Pro 2" includes the M1621 Slot 1 North bridge with AGP and
   100MHz CPU Front Side bus
 * "Aladdin V" includes the M1541 Socket 7 North bridge with AGP and 100MHz
   CPU Front Side bus

   Some Aladdin V motherboards:
        - Asus P5A
        - Atrend ATC-5220
        - BCM/GVC VP1541
        - Biostar M5ALA
        - Gigabyte GA-5AX (Generally doesn't work because the BIOS doesn't
          enable the 7101 device!)
        - Iwill XA100 Plus
        - Micronics C200
        - Microstar (MSI) MS-5169

  * "Aladdin IV" includes the M1541 Socket 7 North bridge
    with host bus up to 83.3 MHz.

For an overview of these chips see http://www.acerlabs.com. At this time the
full data sheets on the web site are password protected, however if you
contact the ALI office in San Jose they may give you the password.

The M1533/M1543C devices appear as FOUR separate devices on the PCI bus. An

PCI 장치와 M7101 활성화

75-102

M1533/M1543C는 PCI 버스에 서로 다른 네 장치로 나타납니다. 예시 `lspci` 출력에는 M5237 USB 컨트롤러, 필요한 M7101 Bridge, M1533 ISA bridge, M5229 IDE interface가 표시됩니다.

보드에 M1533 또는 M1543C가 있는데 `ali15x3: Error: Can't detect ali15x3!` 오류가 나오면 `lspci`를 실행해야 합니다. 1533과 5229는 보이지만 7101이 보이지 않으면 BIOS에서 ACPI, PMU, SMB 또는 비슷한 항목을 활성화해야 합니다. M7101을 찾지 못하면 드라이버는 동작하지 않습니다.

SMB 컨트롤러는 ACPI 호환 PMU인 M7101의 일부입니다. SMB가 동작하려면 M7101 전체 장치가 활성화되어야 하고 SMB만 따로 켤 수 없습니다. SMB와 ACPI는 별도 I/O 공간을 사용하므로 드라이버는 SMB를 활성화하지만 ACPI는 건드리지 않습니다.

ALI15x3 PCI 기능
PCI 예장치역할
`00:02.0`M5237USB Controller
`00:03.0`M7101필수 Bridge/PMU/SMB
`00:07.0`M1533ISA bridge
`00:0f.0`M5229IDE interface
감지 오류M7101 누락BIOS에서 ACPI/PMU/SMB 활성화

예시 PCI 기능과 필수 M7101을 구분합니다.

감지 실패 진단
감지 오류 메시지 확인`lspci` 실행1533·5229와 7101 존재 비교7101이 없으면 BIOS의 ACPI/PMU/SMB 활성화M7101이 나타난 뒤 드라이버 재적재

M7101 PCI 기능이 보이지 않을 때 BIOS 설정을 확인합니다.

output of lspci will show something similar to the following::

  00:02.0 USB Controller: Acer Laboratories Inc. M5237 (rev 03)
  00:03.0 Bridge: Acer Laboratories Inc. M7101      <= THIS IS THE ONE WE NEED
  00:07.0 ISA bridge: Acer Laboratories Inc. M1533 (rev c3)
  00:0f.0 IDE interface: Acer Laboratories Inc. M5229 (rev c1)

.. important::

   If you have a M1533 or M1543C on the board and you get
   "ali15x3: Error: Can't detect ali15x3!"
   then run lspci.

   If you see the 1533 and 5229 devices but NOT the 7101 device,
   then you must enable ACPI, the PMU, SMB, or something similar
   in the BIOS.

   The driver won't work if it can't find the M7101 device.

The SMB controller is part of the M7101 device, which is an ACPI-compliant
Power Management Unit (PMU).

The whole M7101 device has to be enabled for the SMB to work. You can't
just enable the SMB alone. The SMB and the ACPI have separate I/O spaces.
We make sure that the SMB is enabled. We leave the ACPI alone.

Features
--------

기능 범위와 ASUS P5A 문제

103-122

드라이버는 SMB Host만 제어합니다. M15X3의 SMB Slave 컨트롤러는 활성화하지 않으며 인터럽트를 사용하지 않습니다.

드라이버는 SMB 레지스터에 필요한 I/O 공간만 요청하고 ACPI 영역은 사용하지 않습니다.

ASUS P5A 메인보드에서는 SMBus가 멈추고 전원을 완전히 꺼야 복구된다는 보고가 여러 건 있습니다. CPU 부하가 높거나 여름처럼 보드가 뜨거워지면 문제가 더 심해지는 것으로 보여 전기적 문제가 있을 수 있습니다.

P5A의 W83781D 센서 칩은 ISA와 SMBus 양쪽에 연결됩니다. 따라서 W83781D를 ISA 버스로만 접근하면 일반적으로 SMBus 멈춤을 피할 수 있습니다.

ALI15x3 기능과 문제
항목설명
SMB Host지원
SMB Slave활성화하지 않음
인터럽트사용하지 않음
I/O 요청SMB 레지스터 영역만
P5A 문제고온에서 SMBus 멈춤 가능
복구전원 완전 차단
우회W83781D를 ISA 버스로만 접근

드라이버 범위와 P5A 우회책을 정리합니다.

P5A SMBus 멈춤 회피
보드가 ASUS P5A인지 확인W83781D의 ISA 연결 확인SMBus 센서 접근 비활성화ISA 버스로만 W83781D 읽기멈춤 발생 시 전원 완전 차단

듀얼 연결 센서를 ISA로 우회해 SMBus 사용을 줄입니다.


This driver controls the SMB Host only. The SMB Slave
controller on the M15X3 is not enabled. This driver does not use
interrupts.


Issues
------

This driver requests the I/O space for only the SMB
registers. It doesn't use the ACPI region.

On the ASUS P5A motherboard, there are several reports that
the SMBus will hang and this can only be resolved by
powering off the computer. It appears to be worse when the board
gets hot, for example under heavy CPU load, or in the summer.
There may be electrical problems on this board.
On the P5A, the W83781D sensor chip is on both the ISA and
SMBus. Therefore the SMBus hangs can generally be avoided
by accessing the W83781D on the ISA bus only.