요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
Kernel driver lm70
==================
Supported chips:
* National Semiconductor LM70
Datasheet: https://www.ti.com/product/LM70
* Texas Instruments TMP121/TMP123
Information: http://focus.ti.com/docs/prod/folders/print/tmp121.html
* Texas Instruments TMP122/TMP124
Information: https://www.ti.com/product/tmp122
* Texas Instruments TMP125
Information: https://www.ti.com/product/tmp125
* National Semiconductor LM71
Datasheet: https://www.ti.com/product/LM71
* National Semiconductor LM74
Datasheet: https://www.ti.com/product/LM74
Author:
Kaiwan N Billimoria <kaiwan@designergraphix.com>
Description
-----------
This driver implements support for the National Semiconductor LM70
temperature sensor.
The LM70 temperature sensor chip supports a single temperature sensor.
It communicates with a host processor (or microcontroller) via an
SPI/Microwire Bus interface.
Communication with the LM70 is simple: when the temperature is to be sensed,
the driver accesses the LM70 using SPI communication: 16 SCLK cycles
comprise the MOSI/MISO loop. At the end of the transfer, the 11-bit 2's
complement digital temperature (sent via the SIO line), is available in the
driver for interpretation. This driver makes use of the kernel's in-core
SPI support.
As a real (in-tree) example of this "SPI protocol driver" interfacing
with a "SPI master controller driver", see drivers/spi/spi_lm70llp.c
and its associated documentation.
The LM74 and TMP121/TMP122/TMP123/TMP124 are very similar; main difference is
13-bit temperature data (0.0625 degrees celsius resolution).
The TMP122/TMP124 also feature configurable temperature thresholds.
The TMP125 is less accurate and provides 10-bit temperature data
with 0.25 degrees Celsius resolution.
The LM71 is also very similar; main difference is 14-bit temperature
data (0.03125 degrees celsius resolution).
Thanks to
---------
Jean Delvare <jdelvare@suse.de> for mentoring the hwmon-side driver
development.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
SPI 온도 센서 지원 계열
1-33`lm70` 드라이버는 National Semiconductor LM70·LM71·LM74와 TI TMP121·TMP123·TMP122·TMP124·TMP125를 지원합니다. 원문은 각 제품의 데이터시트 또는 제품 정보 링크를 보존합니다.
작성자는 Kaiwan N Billimoria이며 이 드라이버는 우선 LM70 온도 센서 지원을 구현합니다.
지원되는 SPI 온도 센서를 묶어 봅니다.
모델별 데이터 폭과 기능을 확인하기 전의 공통 절차입니다.
Kernel driver lm70
==================
Supported chips:
* National Semiconductor LM70
Datasheet: https://www.ti.com/product/LM70
* Texas Instruments TMP121/TMP123
Information: http://focus.ti.com/docs/prod/folders/print/tmp121.html
* Texas Instruments TMP122/TMP124
Information: https://www.ti.com/product/tmp122
* Texas Instruments TMP125
Information: https://www.ti.com/product/tmp125
* National Semiconductor LM71
Datasheet: https://www.ti.com/product/LM71
* National Semiconductor LM74
Datasheet: https://www.ti.com/product/LM74
Author:
Kaiwan N Billimoria <kaiwan@designergraphix.com>
LM70 SPI/Microwire 전송과 데이터 해석
34-54LM70은 단일 온도 센서를 제공하며 호스트 프로세서 또는 마이크로컨트롤러와 SPI/Microwire 버스로 통신합니다.
온도 측정 시 16개의 SCLK 주기가 MOSI/MISO 전송 루프를 구성합니다. 전송이 끝나면 SIO 선으로 전달된 11비트 2의 보수 디지털 온도 값을 드라이버가 해석할 수 있습니다. 구현은 커널 내부 SPI 코어를 사용합니다.
SPI 프로토콜 드라이버와 SPI 마스터 컨트롤러 드라이버의 실제 커널 트리 예로 `drivers/spi/spi_lm70llp.c`와 관련 문서를 참조할 수 있습니다.
버스 전송에서 온도 값이 만들어지는 과정을 정리합니다.
한 번의 SPI 전송으로 온도 원시값을 얻습니다.
Description
-----------
This driver implements support for the National Semiconductor LM70
temperature sensor.
The LM70 temperature sensor chip supports a single temperature sensor.
It communicates with a host processor (or microcontroller) via an
SPI/Microwire Bus interface.
Communication with the LM70 is simple: when the temperature is to be sensed,
the driver accesses the LM70 using SPI communication: 16 SCLK cycles
comprise the MOSI/MISO loop. At the end of the transfer, the 11-bit 2's
complement digital temperature (sent via the SIO line), is available in the
driver for interpretation. This driver makes use of the kernel's in-core
SPI support.
As a real (in-tree) example of this "SPI protocol driver" interfacing
with a "SPI master controller driver", see drivers/spi/spi_lm70llp.c
and its associated documentation.
13·10·14비트 변형과 분해능
55-69LM74와 TMP121·TMP122·TMP123·TMP124는 LM70과 매우 비슷하지만 주된 차이는 13비트 온도 데이터와 0.0625도 섭씨 분해능입니다. TMP122와 TMP124는 설정 가능한 온도 임계값도 제공합니다.
TMP125는 정확도가 더 낮고 10비트 온도 데이터와 0.25도 섭씨 분해능을 제공합니다. LM71은 14비트 온도 데이터와 0.03125도 섭씨 분해능이 주된 차이입니다.
hwmon 측 드라이버 개발을 지도한 Jean Delvare에게 감사를 전합니다.
모델군별 온도 데이터 폭과 분해능입니다.
칩 유형에 맞는 데이터 폭과 스케일을 적용합니다.
The LM74 and TMP121/TMP122/TMP123/TMP124 are very similar; main difference is
13-bit temperature data (0.0625 degrees celsius resolution).
The TMP122/TMP124 also feature configurable temperature thresholds.
The TMP125 is less accurate and provides 10-bit temperature data
with 0.25 degrees Celsius resolution.
The LM71 is also very similar; main difference is 14-bit temperature
data (0.03125 degrees celsius resolution).
Thanks to
---------
Jean Delvare <jdelvare@suse.de> for mentoring the hwmon-side driver
development.
요약·해설
lm70.rst:1-6916 SCLK 전송으로 온도 원시값을 받고 센서 모델에 맞는 데이터 폭과 분해능을 적용합니다.
원문 분량과 핵심 인터페이스입니다.
장치 연결부터 hwmon 사용까지의 핵심 순서입니다.