요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
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
-----------
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.
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.
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.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
ADT7462 식별 정보
1-17드라이버는 Analog Devices `ADT7462` chip family를 prefix `adt7462`로 지원합니다. 자동 검색 주소는 I2C `0x58`, `0x5C`이며 데이터시트는 Analog Devices 웹사이트에서 공개됩니다. 저자는 Darrick J. Wong입니다.
드라이버 결합에 필요한 기본 정보입니다.
두 주소에서 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-40ADT7462는 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분에 한 번만 읽습니다.
가능한 sensor 수와 driver refresh 간격입니다.
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-53ADT7462는 10-bit ADC를 사용하므로 temperature를 0.25 degC 해상도로 측정할 수 있습니다.
Analog Devices 데이터시트는 매우 상세하며 automatic PWM control의 최적 configuration을 결정하는 절차를 설명합니다.
드라이버가 configuration register에서 sensor identity를 판별할 수 있으면 sensor label을 보고합니다.
ADC resolution과 configuration 기반 metadata입니다.
기존 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으로 설정합니다.
두 온도 경계와 PWM 값의 의미입니다.
두 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.
요약·해설
adt7462.rst:1-70기존 chip configuration을 읽어 sensor label과 limit를 제공하고 두 온도 기준점 사이에서 PWM을 보간합니다.
원문 분량과 핵심 지원 범위입니다.
장치를 구성하고 측정하는 기본 순서입니다.