← Documents Documentation/hwmon/adm1025.rst GitHub 원문 ↗

Linux 6.18.37 · Hardware Monitoring

Kernel driver adm1025

ADM1025, ADM1025A와 NE1619의 전압·온도 감시 및 pin 11 배선 선택을 설명합니다.

Source pathDocumentation/hwmon/adm1025.rst
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

요약·해설

adm1025.rst:1-60

전원 rail과 온도 diode 감시, NE1619 차이, +12V와 VID bit 4를 공유하는 pin 11의 해석을 다룹니다.

문서 개요
항목
SourceDocumentation/hwmon/adm1025.rst
분량60 source lines
ChipsADM1025/A, NE1619
SpecialPin 11 +12V 또는 VID bit 4

원문과 핵심 지원 범위를 요약합니다.

핵심 흐름
칩과 주소 식별전압·온도 채널 등록BIOS bit 5 보존배선에 맞게 값 해석

드라이버를 이해할 때의 주요 순서입니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 Kernel driver adm1025
2 =====================
3
4 Supported chips:
5
6 * Analog Devices ADM1025, ADM1025A
7
8 Prefix: 'adm1025'
9
10 Addresses scanned: I2C 0x2c - 0x2e
11
12 Datasheet: Publicly available at the Analog Devices website
13
14 * Philips NE1619
15
16 Prefix: 'ne1619'
17
18 Addresses scanned: I2C 0x2c - 0x2d
19
20 Datasheet: Publicly available at the Philips website
21
22 The NE1619 presents some differences with the original ADM1025:
23
24 * Only two possible addresses (0x2c - 0x2d).
25 * No temperature offset register, but we don't use it anyway.
26 * No INT mode for pin 16. We don't play with it anyway.
27
28 Authors:
29 - Chen-Yuan Wu <gwu@esoft.com>,
30 - Jean Delvare <jdelvare@suse.de>
31
32 Description
33 -----------
34
35 (This is from Analog Devices.) The ADM1025 is a complete system hardware
36 monitor for microprocessor-based systems, providing measurement and limit
37 comparison of various system parameters. Five voltage measurement inputs
38 are provided, for monitoring +2.5V, +3.3V, +5V and +12V power supplies and
39 the processor core voltage. The ADM1025 can monitor a sixth power-supply
40 voltage by measuring its own VCC. One input (two pins) is dedicated to a
41 remote temperature-sensing diode and an on-chip temperature sensor allows
42 ambient temperature to be monitored.
43
44 One specificity of this chip is that the pin 11 can be hardwired in two
45 different manners. It can act as the +12V power-supply voltage analog
46 input, or as the a fifth digital entry for the VID reading (bit 4). It's
47 kind of strange since both are useful, and the reason for designing the
48 chip that way is obscure at least to me. The bit 5 of the configuration
49 register can be used to define how the chip is hardwired. Please note that
50 it is not a choice you have to make as the user. The choice was already
51 made by your motherboard's maker. If the configuration bit isn't set
52 properly, you'll have a wrong +12V reading or a wrong VID reading. The way
53 the driver handles that is to preserve this bit through the initialization
54 process, assuming that the BIOS set it up properly beforehand. If it turns
55 out not to be true in some cases, we'll provide a module parameter to force
56 modes.
57
58 This driver also supports the ADM1025A, which differs from the ADM1025
59 only in that it has "open-drain VID inputs while the ADM1025 has on-chip
60 100k pull-ups on the VID inputs". It doesn't make any difference for us.
61

3. 한국어 전문 번역

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

ADM1025 계열과 NE1619 차이

1-30

드라이버는 Analog Devices `ADM1025`, `ADM1025A`를 prefix `adm1025`로 지원하며 I2C `0x2c`부터 `0x2e`까지 검색합니다. 데이터시트는 Analog Devices 웹사이트에서 공개되어 있습니다.

Philips `NE1619`도 prefix `ne1619`로 지원하지만 검색 주소는 I2C `0x2c`부터 `0x2d`까지 두 개뿐입니다. 데이터시트는 Philips 웹사이트에서 공개되어 있습니다.

NE1619는 원래 ADM1025와 세 가지 차이가 있습니다. 가능한 주소가 두 개뿐이고, 드라이버가 사용하지 않는 온도 offset register가 없으며, 역시 드라이버가 다루지 않는 pin 16의 INT mode가 없습니다. 저자는 Chen-Yuan Wu와 Jean Delvare입니다.

지원 칩 비교
Prefix검색 주소차이
ADM1025 / ADM1025Aadm10250x2c ~ 0x2e기준 구현
NE1619ne16190x2c ~ 0x2d온도 offset 및 pin 16 INT mode 없음

주소 범위와 기능 차이를 보존한 비교입니다.

장치 식별
0x2c ~ 0x2e 검색ADM1025 계열 또는 NE1619 식별칩별 prefix 선택NE1619의 미지원 register 제외hwmon 채널 등록

I2C 주소와 칩 종류에 맞춰 채널을 등록합니다.

Kernel driver adm1025
=====================

Supported chips:

  * Analog Devices ADM1025, ADM1025A

    Prefix: 'adm1025'

    Addresses scanned: I2C 0x2c - 0x2e

    Datasheet: Publicly available at the Analog Devices website

  * Philips NE1619

    Prefix: 'ne1619'

    Addresses scanned: I2C 0x2c - 0x2d

    Datasheet: Publicly available at the Philips website

The NE1619 presents some differences with the original ADM1025:

  * Only two possible addresses (0x2c - 0x2d).
  * No temperature offset register, but we don't use it anyway.
  * No INT mode for pin 16. We don't play with it anyway.

Authors:
        - Chen-Yuan Wu <gwu@esoft.com>,
        - Jean Delvare <jdelvare@suse.de>

전압, 온도와 pin 11 배선

31-60

Analog Devices의 설명에 따르면 ADM1025는 microprocessor 기반 시스템용 종합 hardware monitor입니다. 여러 시스템 parameter를 측정하고 한계값과 비교합니다. 다섯 전압 입력으로 +2.5V, +3.3V, +5V, +12V 전원과 processor core voltage를 감시하고, 자체 VCC를 측정해 여섯 번째 전원 전압도 감시할 수 있습니다. 두 pin으로 구성된 한 입력은 원격 온도 감지 diode 전용이며, on-chip 온도 센서로 주변 온도도 감시합니다.

이 칩의 pin 11은 두 방식 중 하나로 hardwire됩니다. +12V 전원 전압 analog input으로 쓰거나 VID 읽기의 다섯 번째 digital entry인 bit 4로 씁니다. 두 기능 모두 유용하지만 동시에 사용할 수 없는 설계입니다. Configuration register의 bit 5가 실제 배선 방식을 나타냅니다.

이 선택은 사용자가 하는 것이 아니라 motherboard 제조사가 이미 결정한 것입니다. Configuration bit가 실제 배선과 다르면 +12V 또는 VID를 잘못 읽습니다. 드라이버는 BIOS가 미리 올바르게 설정했다고 가정하여 초기화 과정에서 이 bit를 보존합니다. 이 가정이 맞지 않는 사례가 발견되면 mode를 강제하는 module parameter를 제공할 계획이라고 문서는 설명합니다.

ADM1025A는 VID input이 open-drain이라는 점만 다릅니다. ADM1025에는 VID input에 100k on-chip pull-up이 있지만 이 차이는 드라이버 동작에 영향을 주지 않습니다.

ADM1025 감시 자원
자원용도
전압 입력 5개+2.5V, +3.3V, +5V, +12V, processor core
자체 VCC여섯 번째 전원 전압
원격 diode 입력원격 온도
On-chip 센서주변 온도
Pin 11+12V analog input 또는 VID bit 4

전압, 온도와 pin 11의 선택 기능입니다.

Pin 11 해석
Motherboard가 pin 11 기능을 hardwireBIOS가 configuration bit 5 설정드라이버 초기화가 bit 5 보존+12V 또는 VID bit 4로 해석잘못된 설정이면 해당 읽기 오류

Motherboard 배선과 BIOS 설정을 그대로 따릅니다.


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

(This is from Analog Devices.) The ADM1025 is a complete system hardware
monitor for microprocessor-based systems, providing measurement and limit
comparison of various system parameters. Five voltage measurement inputs
are provided, for monitoring +2.5V, +3.3V, +5V and +12V power supplies and
the processor core voltage. The ADM1025 can monitor a sixth power-supply
voltage by measuring its own VCC. One input (two pins) is dedicated to a
remote temperature-sensing diode and an on-chip temperature sensor allows
ambient temperature to be monitored.

One specificity of this chip is that the pin 11 can be hardwired in two
different manners. It can act as the +12V power-supply voltage analog
input, or as the a fifth digital entry for the VID reading (bit 4). It's
kind of strange since both are useful, and the reason for designing the
chip that way is obscure at least to me. The bit 5 of the configuration
register can be used to define how the chip is hardwired. Please note that
it is not a choice you have to make as the user. The choice was already
made by your motherboard's maker. If the configuration bit isn't set
properly, you'll have a wrong +12V reading or a wrong VID reading. The way
the driver handles that is to preserve this bit through the initialization
process, assuming that the BIOS set it up properly beforehand. If it turns
out not to be true in some cases, we'll provide a module parameter to force
modes.

This driver also supports the ADM1025A, which differs from the ADM1025
only in that it has "open-drain VID inputs while the ADM1025 has on-chip
100k pull-ups on the VID inputs". It doesn't make any difference for us.