요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
Kernel driver adt7411
=====================
Supported chips:
* Analog Devices ADT7411
Prefix: 'adt7411'
Addresses scanned: 0x48, 0x4a, 0x4b
Datasheet: Publicly available at the Analog Devices website
Author: Wolfram Sang (based on adt7470 by Darrick J. Wong)
Description
-----------
This driver implements support for the Analog Devices ADT7411 chip. There may
be other chips that implement this interface.
The ADT7411 can use an I2C/SMBus compatible 2-wire interface or an
SPI-compatible 4-wire interface. It provides a 10-bit analog to digital
converter which measures 1 temperature, vdd and 8 input voltages. It has an
internal temperature sensor, but an external one can also be connected (one
loses 2 inputs then). There are high- and low-limit registers for all inputs.
Check the datasheet for details.
sysfs-Interface
---------------
================ =================
in0_input vdd voltage input
in[1-8]_input analog 1-8 input
temp1_input temperature input
================ =================
Besides standard interfaces, this driver adds (0 = off, 1 = on):
============== =======================================================
adc_ref_vdd Use vdd as reference instead of 2.25 V
fast_sampling Sample at 22.5 kHz instead of 1.4 kHz, but drop filters
no_average Turn off averaging over 16 samples
============== =======================================================
Notes
-----
SPI, external temperature sensor and limit registers are not supported yet.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
10-bit ADC와 온도 입력
1-28드라이버는 Analog Devices `ADT7411`을 prefix `adt7411`로 지원하며 주소 `0x48`, `0x4a`, `0x4b`를 검색합니다. 같은 interface를 구현하는 다른 칩도 있을 수 있습니다. 저자는 Wolfram Sang이며 Darrick J. Wong의 `adt7470`을 기반으로 했습니다.
ADT7411은 I2C/SMBus-compatible 2-wire interface 또는 SPI-compatible 4-wire interface를 사용할 수 있습니다. 10-bit ADC가 temperature 1개, VDD, input voltage 8개를 측정합니다.
내부 temperature sensor를 제공하며 외부 sensor도 연결할 수 있지만 그 경우 input 2개를 잃습니다. 모든 input에는 high 및 low limit register가 있습니다. 자세한 내용은 데이터시트를 확인합니다.
Interface와 10-bit ADC 입력 구성을 정리합니다.
내부 또는 외부 온도 선택에 따라 voltage channel 수가 달라집니다.
Kernel driver adt7411
=====================
Supported chips:
* Analog Devices ADT7411
Prefix: 'adt7411'
Addresses scanned: 0x48, 0x4a, 0x4b
Datasheet: Publicly available at the Analog Devices website
Author: Wolfram Sang (based on adt7470 by Darrick J. Wong)
Description
-----------
This driver implements support for the Analog Devices ADT7411 chip. There may
be other chips that implement this interface.
The ADT7411 can use an I2C/SMBus compatible 2-wire interface or an
SPI-compatible 4-wire interface. It provides a 10-bit analog to digital
converter which measures 1 temperature, vdd and 8 input voltages. It has an
internal temperature sensor, but an external one can also be connected (one
loses 2 inputs then). There are high- and low-limit registers for all inputs.
Check the datasheet for details.
추가 sysfs control과 미지원 기능
29-50표준 sysfs에서 `in0_input`은 VDD voltage, `in[1-8]_input`은 analog input 1~8, `temp1_input`은 temperature input입니다.
드라이버는 표준 interface 외에 0은 off, 1은 on인 세 control을 추가합니다. `adc_ref_vdd`는 2.25V 대신 VDD를 reference로 사용합니다. `fast_sampling`은 filter를 제거하는 대신 1.4kHz가 아닌 22.5kHz로 sample합니다. `no_average`는 16 sample averaging을 끕니다.
현재 SPI, external temperature sensor와 limit register는 지원하지 않습니다.
Reference, sample rate와 averaging 선택입니다.
정확도·속도 trade-off에 맞춰 세 binary control을 조합합니다.
sysfs-Interface
---------------
================ =================
in0_input vdd voltage input
in[1-8]_input analog 1-8 input
temp1_input temperature input
================ =================
Besides standard interfaces, this driver adds (0 = off, 1 = on):
============== =======================================================
adc_ref_vdd Use vdd as reference instead of 2.25 V
fast_sampling Sample at 22.5 kHz instead of 1.4 kHz, but drop filters
no_average Turn off averaging over 16 samples
============== =======================================================
Notes
-----
SPI, external temperature sensor and limit registers are not supported yet.
요약·해설
adt7411.rst:1-5010-bit ADC 입력 구성과 세 binary control, 아직 지원하지 않는 SPI·외부 온도·limit register를 설명합니다.
원문 분량과 핵심 지원 범위입니다.
장치를 구성하고 측정하는 기본 순서입니다.