요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
Kernel driver da9055
====================
Supported chips:
* Dialog Semiconductors DA9055 PMIC
Prefix: 'da9055'
Datasheet: Datasheet is not publicly available.
Authors: David Dajun Chen <dchen@diasemi.com>
Description
-----------
The DA9055 provides an Analogue to Digital Converter (ADC) with 10 bits
resolution and track and hold circuitry combined with an analogue input
multiplexer. The analogue input multiplexer will allow conversion of up to 5
different inputs. The track and hold circuit ensures stable input voltages at
the input of the ADC during the conversion.
The ADC is used to measure the following inputs:
- Channel 0: VDDOUT - measurement of the system voltage
- Channel 1: ADC_IN1 - high impedance input (0 - 2.5V)
- Channel 2: ADC_IN2 - high impedance input (0 - 2.5V)
- Channel 3: ADC_IN3 - high impedance input (0 - 2.5V)
- Channel 4: Internal Tjunc. - sense (internal temp. sensor)
By using sysfs attributes we can measure the system voltage VDDOUT,
chip junction temperature and auxiliary channels voltages.
Voltage Monitoring
------------------
Voltages are sampled in a AUTO mode it can be manually sampled too and results
are stored in a 10 bit ADC.
The system voltage is calculated as:
Milli volt = ((ADC value * 1000) / 85) + 2500
The voltages on ADC channels 1, 2 and 3 are calculated as:
Milli volt = (ADC value * 1000) / 102
Temperature Monitoring
----------------------
Temperatures are sampled by a 10 bit ADC. Junction temperatures
are monitored by the ADC channels.
The junction temperature is calculated:
Degrees celsius = -0.4084 * (ADC_RES - T_OFFSET) + 307.6332
The junction temperature attribute is supported by the driver.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
DA9055 ADC와 5개 입력 채널
1-32이 드라이버는 Dialog Semiconductors `DA9055` PMIC를 prefix `da9055`로 지원합니다. Datasheet는 공개되어 있지 않으며 저자는 David Dajun Chen입니다.
DA9055는 10-bit ADC, track-and-hold 회로, analogue input multiplexer를 제공합니다. Multiplexer는 최대 5개 입력을 변환하고, track-and-hold 회로는 변환 중 ADC 입력 전압을 안정적으로 유지합니다.
채널 0은 system voltage `VDDOUT`, 채널 1~3은 0~2.5V high-impedance 입력 `ADC_IN1`~`ADC_IN3`, 채널 4는 내부 temperature sensor `Tjunc`입니다. Sysfs에서 `VDDOUT`, chip junction temperature, auxiliary channel voltage를 측정할 수 있습니다.
5개 analogue 입력과 sysfs 노출 대상을 정리합니다.
다섯 입력 중 하나를 선택해 10-bit 값으로 변환합니다.
Kernel driver da9055
====================
Supported chips:
* Dialog Semiconductors DA9055 PMIC
Prefix: 'da9055'
Datasheet: Datasheet is not publicly available.
Authors: David Dajun Chen <dchen@diasemi.com>
Description
-----------
The DA9055 provides an Analogue to Digital Converter (ADC) with 10 bits
resolution and track and hold circuitry combined with an analogue input
multiplexer. The analogue input multiplexer will allow conversion of up to 5
different inputs. The track and hold circuit ensures stable input voltages at
the input of the ADC during the conversion.
The ADC is used to measure the following inputs:
- Channel 0: VDDOUT - measurement of the system voltage
- Channel 1: ADC_IN1 - high impedance input (0 - 2.5V)
- Channel 2: ADC_IN2 - high impedance input (0 - 2.5V)
- Channel 3: ADC_IN3 - high impedance input (0 - 2.5V)
- Channel 4: Internal Tjunc. - sense (internal temp. sensor)
By using sysfs attributes we can measure the system voltage VDDOUT,
chip junction temperature and auxiliary channels voltages.
DA9055 AUTO·manual 전압 환산
33-46전압은 AUTO mode로 sampling하며 수동 sampling도 가능합니다. 결과는 10-bit ADC 값으로 저장됩니다.
System voltage는 `Milli volt = ((ADC value * 1000) / 85) + 2500`으로 계산합니다. ADC channel 1, 2, 3의 전압은 `Milli volt = (ADC value * 1000) / 102`로 계산합니다.
AUTO 또는 수동 sampling 결과에 적용하는 공식입니다.
Sampling mode와 채널 종류에 따라 값을 환산합니다.
Voltage Monitoring
------------------
Voltages are sampled in a AUTO mode it can be manually sampled too and results
are stored in a 10 bit ADC.
The system voltage is calculated as:
Milli volt = ((ADC value * 1000) / 85) + 2500
The voltages on ADC channels 1, 2 and 3 are calculated as:
Milli volt = (ADC value * 1000) / 102
DA9055 junction 온도식
47-57온도는 10-bit ADC로 sampling하고, junction temperature는 ADC channel을 통해 감시합니다.
Junction temperature는 `Degrees celsius = -0.4084 * (ADC_RES - T_OFFSET) + 307.6332`로 계산합니다. Driver는 junction temperature attribute를 지원합니다.
ADC result와 calibration offset으로 Celsius 값을 구합니다.
Raw ADC result를 calibration 식에 대입합니다.
Temperature Monitoring
----------------------
Temperatures are sampled by a 10 bit ADC. Junction temperatures
are monitored by the ADC channels.
The junction temperature is calculated:
Degrees celsius = -0.4084 * (ADC_RES - T_OFFSET) + 307.6332
The junction temperature attribute is supported by the driver.
요약·해설
da9055.rst:1-57다섯 ADC 입력을 system·auxiliary voltage와 junction temperature로 변환합니다.
원문 분량과 핵심 지원 범위입니다.
측정과 변환의 기본 순서입니다.