요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.
1. 요약·해설
원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.
2. 영어 원문 전체
번역에 사용한 Linux v6.18.37 원문입니다. 줄 번호는 해당 버전의 소스 파일을 기준으로 합니다.
원문 전체 펼치기
Kernel driver ds620
===================
Supported chips:
* Dallas Semiconductor DS620
Prefix: 'ds620'
Datasheet: Publicly available at the Dallas Semiconductor website
http://www.dalsemi.com/
Authors:
Roland Stigge <[email protected]>
based on ds1621.c by
Christian W. Zuckschwerdt <[email protected]>
Description
-----------
The DS620 is a (one instance) digital thermometer and thermostat. It has both
high and low temperature limits which can be user defined (i.e. programmed
into non-volatile on-chip registers). Temperature range is -55 degree Celsius
to +125. Between 0 and 70 degree Celsius, accuracy is 0.5 Kelvin. The value
returned via sysfs displays post decimal positions.
The thermostat function works as follows: When configured via platform_data
(struct ds620_platform_data) .pomode == 0 (default), the thermostat output pin
PO is always low. If .pomode == 1, the thermostat is in PO_LOW mode. I.e., the
output pin PO becomes active when the temperature falls below temp1_min and
stays active until the temperature goes above temp1_max.
Likewise, with .pomode == 2, the thermostat is in PO_HIGH mode. I.e., the PO
output pin becomes active when the temperature goes above temp1_max and stays
active until the temperature falls below temp1_min.
The PO output pin of the DS620 operates active-low.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, URL은 원문 표기를 유지합니다.
DS620 지원 정보
1-18이 드라이버는 Dallas Semiconductor DS620을 prefix `ds620`으로 지원합니다. Datasheet는 Dallas Semiconductor website `http://www.dalsemi.com/`에서 공개됐습니다.
저자는 Roland Stigge이며 Christian W. Zuckschwerdt의 `ds1621.c`를 기반으로 했습니다.
Driver와 datasheet 출처입니다.
Platform data를 바탕으로 thermometer와 thermostat를 구성합니다.
Kernel driver ds620
===================
Supported chips:
* Dallas Semiconductor DS620
Prefix: 'ds620'
Datasheet: Publicly available at the Dallas Semiconductor website
http://www.dalsemi.com/
Authors:
Roland Stigge <[email protected]>
based on ds1621.c by
Christian W. Zuckschwerdt <[email protected]>
DS620 thermostat PO mode
19-38DS620은 단일 digital thermometer·thermostat입니다. 사용자 정의 high·low limit를 non-volatile on-chip register에 programming할 수 있습니다. Temperature range는 -55C~+125C이고 0~70C에서 accuracy는 0.5 Kelvin입니다. Sysfs가 반환하는 값은 소수점 아래 자리까지 표시합니다.
Platform data `struct ds620_platform_data`의 `.pomode == 0`이면 기본 mode이며 thermostat output pin `PO`는 항상 low입니다.
`.pomode == 1`은 `PO_LOW` mode입니다. Temperature가 `temp1_min` 아래로 내려가면 PO가 active가 되고 `temp1_max` 위로 올라갈 때까지 active를 유지합니다.
`.pomode == 2`는 `PO_HIGH` mode입니다. Temperature가 `temp1_max` 위로 올라가면 PO가 active가 되고 `temp1_min` 아래로 내려갈 때까지 active를 유지합니다. DS620의 PO output pin은 active-low로 동작합니다.
Platform mode별 trigger와 release 조건입니다.
두 threshold가 hysteresis를 형성합니다.
Description
-----------
The DS620 is a (one instance) digital thermometer and thermostat. It has both
high and low temperature limits which can be user defined (i.e. programmed
into non-volatile on-chip registers). Temperature range is -55 degree Celsius
to +125. Between 0 and 70 degree Celsius, accuracy is 0.5 Kelvin. The value
returned via sysfs displays post decimal positions.
The thermostat function works as follows: When configured via platform_data
(struct ds620_platform_data) .pomode == 0 (default), the thermostat output pin
PO is always low. If .pomode == 1, the thermostat is in PO_LOW mode. I.e., the
output pin PO becomes active when the temperature falls below temp1_min and
stays active until the temperature goes above temp1_max.
Likewise, with .pomode == 2, the thermostat is in PO_HIGH mode. I.e., the PO
output pin becomes active when the temperature goes above temp1_max and stays
active until the temperature falls below temp1_min.
The PO output pin of the DS620 operates active-low.
요약·해설
ds620.rst:1-38Non-volatile temperature limit와 active-low PO hysteresis를 platform data로 구성합니다.
원문 분량과 핵심 범위입니다.
장치 동작의 기본 순서입니다.