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

Linux 6.18.37 · Hardware Monitoring

Kernel driver adt7411

ADT7411 10-bit ADC의 VDD·8개 analog input과 reference·sampling control입니다.

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

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

1. 요약·해설

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

요약·해설

adt7411.rst:1-50

10-bit ADC 입력 구성과 세 binary control, 아직 지원하지 않는 SPI·외부 온도·limit register를 설명합니다.

문서 개요
항목
SourceDocumentation/hwmon/adt7411.rst
분량50 source lines
ADC10 bit
InputsVDD + analog 8 + temperature

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

핵심 흐름
장치 결합Reference 선택Sample rate와 averaging 선택Sysfs 측정값 읽기

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

2. 영어 원문 전체

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

원문 전체 펼치기
1 Kernel driver adt7411
2 =====================
3
4 Supported chips:
5
6 * Analog Devices ADT7411
7
8 Prefix: 'adt7411'
9
10 Addresses scanned: 0x48, 0x4a, 0x4b
11
12 Datasheet: Publicly available at the Analog Devices website
13
14 Author: Wolfram Sang (based on adt7470 by Darrick J. Wong)
15
16 Description
17 -----------
18
19 This driver implements support for the Analog Devices ADT7411 chip. There may
20 be other chips that implement this interface.
21
22 The ADT7411 can use an I2C/SMBus compatible 2-wire interface or an
23 SPI-compatible 4-wire interface. It provides a 10-bit analog to digital
24 converter which measures 1 temperature, vdd and 8 input voltages. It has an
25 internal temperature sensor, but an external one can also be connected (one
26 loses 2 inputs then). There are high- and low-limit registers for all inputs.
27
28 Check the datasheet for details.
29
30 sysfs-Interface
31 ---------------
32
33 ================ =================
34 in0_input vdd voltage input
35 in[1-8]_input analog 1-8 input
36 temp1_input temperature input
37 ================ =================
38
39 Besides standard interfaces, this driver adds (0 = off, 1 = on):
40
41 ============== =======================================================
42 adc_ref_vdd Use vdd as reference instead of 2.25 V
43 fast_sampling Sample at 22.5 kHz instead of 1.4 kHz, but drop filters
44 no_average Turn off averaging over 16 samples
45 ============== =======================================================
46
47 Notes
48 -----
49
50 SPI, external temperature sensor and limit registers are not supported yet.
51

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가 있습니다. 자세한 내용은 데이터시트를 확인합니다.

ADT7411 측정 자원
항목구성
InterfaceI2C/SMBus 2-wire 또는 SPI 4-wire
ADC10 bit
Temperature내부 1개, 외부 연결 가능
VoltageVDD + analog input 8개
외부 온도 사용 시Analog input 2개 감소

Interface와 10-bit ADC 입력 구성을 정리합니다.

입력 구성
Bus interface 선택Internal temperature 사용 여부 결정External sensor 사용 시 input 2개 할당VDD와 나머지 analog input 측정High/low limit와 비교

내부 또는 외부 온도 선택에 따라 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는 지원하지 않습니다.

ADT7411 추가 control
Attribute01
adc_ref_vdd2.25V referenceVDD reference
fast_sampling1.4kHz + filter22.5kHz, filter 제거
no_average16-sample averagingAveraging off

Reference, sample rate와 averaging 선택입니다.

Sampling mode 선택
2.25V 또는 VDD reference 선택1.4kHz filtered 또는 22.5kHz fast 선택16-sample averaging 사용 여부 선택in0·in1-8·temp1 값 읽기미지원 SPI·external temp·limit 기능은 사용하지 않음

정확도·속도 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.