요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
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 <[email protected]>
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**
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`에서 검색합니다.
칩별 접두사와 I2C 주소를 원문대로 정리했습니다.
주소와 변형에 따라 채널 수를 결정합니다.
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 <[email protected]>
채널 수·정밀도·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` 파일도 추가됩니다.
변형별 원격 센서 수와 공통 sysfs 파일입니다.
변형과 펌웨어 설정으로 최종 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**
요약·해설
tmp421.rst:1-76TMP421 계열은 로컬 하나와 변형별 최대 3개 원격 센서를 제공하고 각 채널을 개별 비활성화할 수 있습니다.
원문 분량과 핵심 기능을 요약합니다.
장치 초기화부터 측정값 제공까지의 핵심 순서입니다.