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

Linux 6.18.37 · Hardware Monitoring

Kernel driver da9055

DA9055 PMIC의 5-channel ADC, AUTO/manual sampling과 junction 온도 환산식입니다.

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

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

1. 요약·해설

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

요약·해설

da9055.rst:1-57

다섯 ADC 입력을 system·auxiliary voltage와 junction temperature로 변환합니다.

문서 개요
항목
SourceDocumentation/hwmon/da9055.rst
분량57 source lines
ADC10-bit
Channels5

원문 분량과 핵심 지원 범위입니다.

핵심 흐름
AUTO/manual samplingADC result 저장채널별 scale 적용Sysfs 게시

측정과 변환의 기본 순서입니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 Kernel driver da9055
2 ====================
3
4 Supported chips:
5 * Dialog Semiconductors DA9055 PMIC
6
7 Prefix: 'da9055'
8
9 Datasheet: Datasheet is not publicly available.
10
11 Authors: David Dajun Chen <[email protected]>
12
13 Description
14 -----------
15
16 The DA9055 provides an Analogue to Digital Converter (ADC) with 10 bits
17 resolution and track and hold circuitry combined with an analogue input
18 multiplexer. The analogue input multiplexer will allow conversion of up to 5
19 different inputs. The track and hold circuit ensures stable input voltages at
20 the input of the ADC during the conversion.
21
22 The ADC is used to measure the following inputs:
23
24 - Channel 0: VDDOUT - measurement of the system voltage
25 - Channel 1: ADC_IN1 - high impedance input (0 - 2.5V)
26 - Channel 2: ADC_IN2 - high impedance input (0 - 2.5V)
27 - Channel 3: ADC_IN3 - high impedance input (0 - 2.5V)
28 - Channel 4: Internal Tjunc. - sense (internal temp. sensor)
29
30 By using sysfs attributes we can measure the system voltage VDDOUT,
31 chip junction temperature and auxiliary channels voltages.
32
33 Voltage Monitoring
34 ------------------
35
36 Voltages are sampled in a AUTO mode it can be manually sampled too and results
37 are stored in a 10 bit ADC.
38
39 The system voltage is calculated as:
40
41 Milli volt = ((ADC value * 1000) / 85) + 2500
42
43 The voltages on ADC channels 1, 2 and 3 are calculated as:
44
45 Milli volt = (ADC value * 1000) / 102
46
47 Temperature Monitoring
48 ----------------------
49
50 Temperatures are sampled by a 10 bit ADC. Junction temperatures
51 are monitored by the ADC channels.
52
53 The junction temperature is calculated:
54
55 Degrees celsius = -0.4084 * (ADC_RES - T_OFFSET) + 307.6332
56
57 The junction temperature attribute is supported by the driver.
58

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를 측정할 수 있습니다.

DA9055 ADC 채널
ChannelSignal용도
0VDDOUTSystem voltage
1ADC_IN1High impedance input, 0~2.5V
2ADC_IN2High impedance input, 0~2.5V
3ADC_IN3High impedance input, 0~2.5V
4Internal TjuncInternal temperature sensor

5개 analogue 입력과 sysfs 노출 대상을 정리합니다.

DA9055 ADC 경로
VDDOUT·auxiliary·Tjunc 선택Multiplexer 연결Track-and-hold로 입력 유지10-bit ADC 변환Sysfs attribute 게시

다섯 입력 중 하나를 선택해 10-bit 값으로 변환합니다.

Kernel driver da9055
====================

Supported chips:
  * Dialog Semiconductors DA9055 PMIC

    Prefix: 'da9055'

    Datasheet: Datasheet is not publicly available.

Authors: David Dajun Chen <[email protected]>

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`로 계산합니다.

DA9055 전압식
입력계산식단위
VDDOUT((ADC value * 1000) / 85) + 2500mV
ADC_IN1-3(ADC value * 1000) / 102mV

AUTO 또는 수동 sampling 결과에 적용하는 공식입니다.

DA9055 전압 측정
AUTO 또는 manual sampling10-bit ADC result 저장VDDOUT·ADC_IN 채널 구분Scale·offset 적용Millivolt 값 게시

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를 지원합니다.

DA9055 junction 계산
항목
ADC resolution10-bit
공식-0.4084 * (ADC_RES - T_OFFSET) + 307.6332
출력Degrees Celsius
AttributeJunction temperature 지원

ADC result와 calibration offset으로 Celsius 값을 구합니다.

Junction temperature
Tjunc channel samplingADC_RES 읽기T_OFFSET 보정-0.4084 scale과 307.6332 offset 적용Junction temperature 게시

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.