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

Linux 6.18.37 · Hardware Monitoring

Kernel driver adt7462

ADT7462의 8개 fan counter, sensor 조합과 두 기준점 automatic PWM control입니다.

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

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

1. 요약·해설

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

요약·해설

adt7462.rst:1-70

기존 chip configuration을 읽어 sensor label과 limit를 제공하고 두 온도 기준점 사이에서 PWM을 보간합니다.

문서 개요
항목
SourceDocumentation/hwmon/adt7462.rst
분량70 source lines
Fan counters8
PWM range0~255

원문 분량과 핵심 지원 범위입니다.

핵심 흐름
기존 configuration 읽기Sensor와 PWM mapping 확인두 control point 설정온도에 따라 PWM 자동 조정

장치를 구성하고 측정하는 기본 순서입니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 Kernel driver adt7462
2 =====================
3
4 Supported chips:
5
6 * Analog Devices ADT7462
7
8 Prefix: 'adt7462'
9
10 Addresses scanned: I2C 0x58, 0x5C
11
12 Datasheet: Publicly available at the Analog Devices website
13
14 Author: Darrick J. Wong
15
16 Description
17 -----------
18
19 This driver implements support for the Analog Devices ADT7462 chip family.
20
21 This chip is a bit of a beast. It has 8 counters for measuring fan speed. It
22 can also measure 13 voltages or 4 temperatures, or various combinations of the
23 two. See the chip documentation for more details about the exact set of
24 configurations. This driver does not allow one to configure the chip; that is
25 left to the system designer.
26
27 A sophisticated control system for the PWM outputs is designed into the ADT7462
28 that allows fan speed to be adjusted automatically based on any of the three
29 temperature sensors. Each PWM output is individually adjustable and
30 programmable. Once configured, the ADT7462 will adjust the PWM outputs in
31 response to the measured temperatures without further host intervention. This
32 feature can also be disabled for manual control of the PWM's.
33
34 Each of the measured inputs (voltage, temperature, fan speed) has
35 corresponding high/low limit values. The ADT7462 will signal an ALARM if
36 any measured value exceeds either limit.
37
38 The ADT7462 samples all inputs continuously. The driver will not read
39 the registers more often than once every other second. Further,
40 configuration data is only read once per minute.
41
42 Special Features
43 ----------------
44
45 The ADT7462 have a 10-bit ADC and can therefore measure temperatures
46 with 0.25 degC resolution.
47
48 The Analog Devices datasheet is very detailed and describes a procedure for
49 determining an optimal configuration for the automatic PWM control.
50
51 The driver will report sensor labels when it is able to determine that
52 information from the configuration registers.
53
54 Configuration Notes
55 -------------------
56
57 Besides standard interfaces driver adds the following:
58
59 * PWM Control
60
61 * pwm#_auto_point1_pwm and temp#_auto_point1_temp and
62 * pwm#_auto_point2_pwm and temp#_auto_point2_temp -
63
64 - point1: Set the pwm speed at a lower temperature bound.
65 - point2: Set the pwm speed at a higher temperature bound.
66
67 The ADT7462 will scale the pwm between the lower and higher pwm speed when
68 the temperature is between the two temperature boundaries. PWM values range
69 from 0 (off) to 255 (full speed). Fan speed will be set to maximum when the
70 temperature sensor associated with the PWM control exceeds temp#_max.
71

3. 한국어 전문 번역

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

ADT7462 식별 정보

1-17

드라이버는 Analog Devices `ADT7462` chip family를 prefix `adt7462`로 지원합니다. 자동 검색 주소는 I2C `0x58`, `0x5C`이며 데이터시트는 Analog Devices 웹사이트에서 공개됩니다. 저자는 Darrick J. Wong입니다.

ADT7462 지원
항목
ChipAnalog Devices ADT7462
Prefixadt7462
검색 주소I2C 0x58, 0x5C
AuthorDarrick J. Wong

드라이버 결합에 필요한 기본 정보입니다.

장치 검색
I2C 0x58과 0x5C 검색ADT7462 identity 확인adt7462 driver 결합기존 configuration에서 sensor 구성 읽기

두 주소에서 ADT7462 family를 찾습니다.

Kernel driver adt7462
=====================

Supported chips:

  * Analog Devices ADT7462

    Prefix: 'adt7462'

    Addresses scanned: I2C 0x58, 0x5C

    Datasheet: Publicly available at the Analog Devices website

Author: Darrick J. Wong

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

Sensor 조합과 자동 PWM

18-40

ADT7462는 fan speed 측정 counter 8개를 갖춘 대규모 monitor입니다. Voltage 13개 또는 temperature 4개를 측정하거나 두 종류를 여러 조합으로 구성할 수 있습니다. 정확한 configuration 집합은 chip 문서를 참조해야 합니다. 이 드라이버는 chip configuration을 변경하지 않으며 system designer가 설정한 값을 사용합니다.

ADT7462에는 정교한 PWM output control system이 내장되어 있어 세 temperature sensor 중 어느 것이든 기준으로 fan speed를 자동 조정할 수 있습니다. 각 PWM output은 독립적으로 조정하고 programming할 수 있습니다. 한 번 설정하면 host 개입 없이 측정 온도에 대응해 PWM output을 조정합니다. 이 기능을 disable하고 PWM을 manual control할 수도 있습니다.

Voltage, temperature, fan speed를 포함한 각 측정 input에는 high 및 low limit가 있습니다. 측정값이 어느 한 limit를 넘으면 ADT7462가 `ALARM`을 signal합니다.

ADT7462는 모든 input을 연속 sample합니다. 드라이버는 register를 2초에 한 번보다 자주 읽지 않고 configuration data는 1분에 한 번만 읽습니다.

ADT7462 자원
자원수량/주기비고
Fan counter8Fan speed 측정
Voltage최대 13Temperature와 조합 가능
Temperature최대 4PWM은 세 sensor 기준
Sensor register refresh최소 2초연속 sample을 cache
Configuration refresh1분Driver가 구성 변경 안 함

가능한 sensor 수와 driver refresh 간격입니다.

자동 PWM 제어
Voltage·temperature sensor 구성 읽기Temperature sensor와 PWM output 연결High/low limit 및 control point 설정장치가 온도 연속 sampleHost 개입 없이 PWM output 조정

System designer가 설정한 mapping을 장치가 독립 실행합니다.


This driver implements support for the Analog Devices ADT7462 chip family.

This chip is a bit of a beast.  It has 8 counters for measuring fan speed.  It
can also measure 13 voltages or 4 temperatures, or various combinations of the
two.  See the chip documentation for more details about the exact set of
configurations.  This driver does not allow one to configure the chip; that is
left to the system designer.

A sophisticated control system for the PWM outputs is designed into the ADT7462
that allows fan speed to be adjusted automatically based on any of the three
temperature sensors. Each PWM output is individually adjustable and
programmable. Once configured, the ADT7462 will adjust the PWM outputs in
response to the measured temperatures without further host intervention.  This
feature can also be disabled for manual control of the PWM's.

Each of the measured inputs (voltage, temperature, fan speed) has
corresponding high/low limit values. The ADT7462 will signal an ALARM if
any measured value exceeds either limit.

The ADT7462 samples all inputs continuously. The driver will not read
the registers more often than once every other second. Further,
configuration data is only read once per minute.

10-bit ADC와 sensor label

41-53

ADT7462는 10-bit ADC를 사용하므로 temperature를 0.25 degC 해상도로 측정할 수 있습니다.

Analog Devices 데이터시트는 매우 상세하며 automatic PWM control의 최적 configuration을 결정하는 절차를 설명합니다.

드라이버가 configuration register에서 sensor identity를 판별할 수 있으면 sensor label을 보고합니다.

특수 기능
기능동작
ADC10 bit
Temperature resolution0.25 degC
PWM 설계 자료데이터시트의 최적 configuration 절차
Sensor labelConfiguration register에서 판별 가능할 때 보고

ADC resolution과 configuration 기반 metadata입니다.

Label 판별
Configuration register 읽기Input 기능과 routing 해석Sensor identity 판별판별 가능한 channel에 label 노출

기존 chip configuration을 해석해 사용자 공간에 이름을 제공합니다.


Special Features
----------------

The ADT7462 have a 10-bit ADC and can therefore measure temperatures
with 0.25 degC resolution.

The Analog Devices datasheet is very detailed and describes a procedure for
determining an optimal configuration for the automatic PWM control.

The driver will report sensor labels when it is able to determine that
information from the configuration registers.

두 기준점 PWM scaling

54-70

표준 interface 외에 PWM control attribute를 추가합니다. 첫 번째 쌍은 `pwm#_auto_point1_pwm`과 `temp#_auto_point1_temp`, 두 번째 쌍은 `pwm#_auto_point2_pwm`과 `temp#_auto_point2_temp`입니다.

Point 1은 lower temperature bound에서의 PWM speed를 설정하고 point 2는 higher temperature bound에서의 PWM speed를 설정합니다.

Temperature가 두 경계 사이에 있으면 ADT7462가 lower와 higher PWM speed 사이를 scale합니다. PWM 값 범위는 0, 즉 off부터 255, 즉 full speed까지입니다. PWM control에 연결된 temperature sensor가 `temp#_max`를 넘으면 fan speed를 maximum으로 설정합니다.

ADT7462 PWM point
PointTemperature attributePWM attribute역할
1temp#_auto_point1_temppwm#_auto_point1_pwm낮은 온도 경계와 속도
2temp#_auto_point2_temppwm#_auto_point2_pwm높은 온도 경계와 속도
Emergencytemp#_max255경계 초과 시 최대 속도

두 온도 경계와 PWM 값의 의미입니다.

PWM 보간
Point 1 온도와 PWM 설정Point 2 온도와 PWM 설정현재 temperature 읽기두 경계 사이면 PWM을 0~255 범위에서 보간temp#_max 초과 시 PWM 255 적용

두 control point 사이에서 fan output을 연속 조정합니다.

Configuration Notes
-------------------

Besides standard interfaces driver adds the following:

* PWM Control

* pwm#_auto_point1_pwm and temp#_auto_point1_temp and
* pwm#_auto_point2_pwm and temp#_auto_point2_temp -

  - point1: Set the pwm speed at a lower temperature bound.
  - point2: Set the pwm speed at a higher temperature bound.

The ADT7462 will scale the pwm between the lower and higher pwm speed when
the temperature is between the two temperature boundaries.  PWM values range
from 0 (off) to 255 (full speed).  Fan speed will be set to maximum when the
temperature sensor associated with the PWM control exceeds temp#_max.