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

Linux 6.18.37 · Hardware Monitoring

Kernel driver tmp421

TMP421 계열의 최대 4개 온도 채널과 enable·fault·label 속성을 설명합니다.

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

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

1. 요약·해설

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

요약·해설

tmp421.rst:1-76

TMP421 계열은 로컬 하나와 변형별 최대 3개 원격 센서를 제공하고 각 채널을 개별 비활성화할 수 있습니다.

문서 개요
항목
SourceDocumentation/hwmon/tmp421.rst
분량76 source lines
채널최대 4
해상도0.0625°C

원문 분량과 핵심 기능을 요약합니다.

동작 흐름
주소 탐지변형별 채널 결정input·fault 생성enable 적용선택 label 추가

장치 초기화부터 측정값 제공까지의 핵심 순서입니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 Kernel driver tmp421
2 ====================
3
4 Supported chips:
5
6 * Texas Instruments TMP421
7
8 Prefix: 'tmp421'
9
10 Addresses scanned: I2C 0x2a, 0x4c, 0x4d, 0x4e and 0x4f
11
12 Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp421.html
13
14 * Texas Instruments TMP422
15
16 Prefix: 'tmp422'
17
18 Addresses scanned: I2C 0x4c, 0x4d, 0x4e and 0x4f
19
20 Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp421.html
21
22 * Texas Instruments TMP423
23
24 Prefix: 'tmp423'
25
26 Addresses scanned: I2C 0x4c and 0x4d
27
28 Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp421.html
29
30 * Texas Instruments TMP441
31
32 Prefix: 'tmp441'
33
34 Addresses scanned: I2C 0x2a, 0x4c, 0x4d, 0x4e and 0x4f
35
36 Datasheet: https://www.ti.com/product/tmp441
37
38 * Texas Instruments TMP442
39
40 Prefix: 'tmp442'
41
42 Addresses scanned: I2C 0x4c and 0x4d
43
44 Datasheet: https://www.ti.com/product/tmp442
45
46 Authors:
47
48 Andre Prendel <andre.prendel@gmx.de>
49
50 Description
51 -----------
52
53 This driver implements support for Texas Instruments TMP421, TMP422,
54 TMP423, TMP441, and TMP442 temperature sensor chips. These chips
55 implement one local and up to one (TMP421, TMP441), up to two (TMP422,
56 TMP442) or up to three (TMP423) remote sensors. Temperature is measured
57 in degrees Celsius. The chips are wired over I2C/SMBus and specified
58 over a temperature range of -40 to +125 degrees Celsius. Resolution
59 for both the local and remote channels is 0.0625 degree C.
60
61 The chips support only temperature measurement. The driver exports
62 the temperature values via the following sysfs files:
63
64 **temp[1-4]_input**
65
66 **temp[2-4]_fault**
67
68 Each sensor can be individually disabled via Devicetree or from sysfs
69 via:
70
71 **temp[1-4]_enable**
72
73 If labels were specified in Devicetree, additional sysfs files will
74 be present:
75
76 **temp[1-4]_label**
77

3. 한국어 전문 번역

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

지원 칩과 I2C 주소

1-49

`tmp421` 드라이버는 Texas Instruments TMP421, TMP422, TMP423, TMP441, TMP442를 지원합니다. 작성자는 Andre Prendel입니다.

TMP421과 TMP441은 I2C `0x2a`, `0x4c~0x4f`, TMP422는 `0x4c~0x4f`, TMP423과 TMP442는 `0x4c~0x4d`에서 검색합니다.

TMP421 계열 검색 주소
접두사검색 주소
TMP421tmp4210x2a, 0x4c, 0x4d, 0x4e, 0x4f
TMP422tmp4220x4c, 0x4d, 0x4e, 0x4f
TMP423tmp4230x4c, 0x4d
TMP441tmp4410x2a, 0x4c, 0x4d, 0x4e, 0x4f
TMP442tmp4420x4c, 0x4d

칩별 접두사와 I2C 주소를 원문대로 정리했습니다.

TMP421 계열 탐지
허용 I2C 주소 검색장치 변형 확인로컬 센서 1개 준비변형별 원격 센서 수 결정temp 속성 등록

주소와 변형에 따라 채널 수를 결정합니다.

Kernel driver tmp421
====================

Supported chips:

  * Texas Instruments TMP421

    Prefix: 'tmp421'

    Addresses scanned: I2C 0x2a, 0x4c, 0x4d, 0x4e and 0x4f

    Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp421.html

  * Texas Instruments TMP422

    Prefix: 'tmp422'

    Addresses scanned: I2C 0x4c, 0x4d, 0x4e and 0x4f

    Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp421.html

  * Texas Instruments TMP423

    Prefix: 'tmp423'

    Addresses scanned: I2C 0x4c and 0x4d

    Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp421.html

  * Texas Instruments TMP441

    Prefix: 'tmp441'

    Addresses scanned: I2C 0x2a, 0x4c, 0x4d, 0x4e and 0x4f

    Datasheet: https://www.ti.com/product/tmp441

  * Texas Instruments TMP442

    Prefix: 'tmp442'

    Addresses scanned: I2C 0x4c and 0x4d

    Datasheet: https://www.ti.com/product/tmp442

Authors:

        Andre Prendel <andre.prendel@gmx.de>

채널 수·정밀도·sysfs 속성

50-76

드라이버는 TMP421, TMP422, TMP423, TMP441, TMP442 온도 센서를 지원합니다. 모두 로컬 센서 하나를 갖고 TMP421·TMP441은 원격 센서 최대 1개, TMP422·TMP442는 최대 2개, TMP423은 최대 3개를 지원합니다.

온도는 섭씨로 측정하며 칩은 I2C/SMBus로 연결됩니다. 규정 온도 범위는 -40~+125°C이고 로컬·원격 채널 모두 해상도는 0.0625°C입니다.

칩은 온도 측정만 지원합니다. 드라이버는 `temp[1-4]_input`으로 온도값, `temp[2-4]_fault`로 원격 입력 고장을 내보냅니다.

각 센서는 Devicetree 또는 sysfs의 `temp[1-4]_enable`로 개별 비활성화할 수 있습니다. Devicetree에 레이블을 지정했다면 `temp[1-4]_label` 파일도 추가됩니다.

TMP421 계열 채널과 속성
칩·속성의미범위
TMP421 / TMP441로컬 1 + 원격 최대 1temp1~2
TMP422 / TMP442로컬 1 + 원격 최대 2temp1~3
TMP423로컬 1 + 원격 최대 3temp1~4
`temp[1-4]_input`온도 입력로컬·원격
`temp[2-4]_fault`원격 입력 고장원격
`temp[1-4]_enable`개별 활성화Devicetree 또는 sysfs
`temp[1-4]_label`선택 레이블Devicetree 지정 시

변형별 원격 센서 수와 공통 sysfs 파일입니다.

TMP421 센서 노출
칩 변형에서 원격 채널 수 확인각 채널 활성화 상태 확인온도 입력·원격 fault 생성Devicetree 레이블 확인지정된 label 속성 추가

변형과 펌웨어 설정으로 최종 sysfs 집합을 만듭니다.

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

This driver implements support for Texas Instruments TMP421, TMP422,
TMP423, TMP441, and TMP442 temperature sensor chips. These chips
implement one local and up to one (TMP421, TMP441), up to two (TMP422,
TMP442) or up to three (TMP423) remote sensors. Temperature is measured
in degrees Celsius. The chips are wired over I2C/SMBus and specified
over a temperature range of -40 to +125 degrees Celsius. Resolution
for both the local and remote channels is 0.0625 degree C.

The chips support only temperature measurement. The driver exports
the temperature values via the following sysfs files:

**temp[1-4]_input**

**temp[2-4]_fault**

Each sensor can be individually disabled via Devicetree or from sysfs
via:

**temp[1-4]_enable**

If labels were specified in Devicetree, additional sysfs files will
be present:

**temp[1-4]_label**