← Documents Documentation/hwmon/twl4030-madc-hwmon.rst GitHub 원문 ↗

Linux 6.18.37 · Hardware Monitoring

Kernel driver twl4030-madc

TWL4030의 16채널 10비트 MADC 신호 매핑과 전압·온도·충전 전류 단위를 설명합니다.

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

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

1. 요약·해설

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

요약·해설

twl4030-madc-hwmon.rst:1-49

TWL4030 MADC는 배터리·범용 아날로그·VBUS·충전 신호를 16개 채널에 배치하고 신호 종류에 맞는 단위로 제공합니다.

문서 개요
항목
SourceDocumentation/hwmon/twl4030-madc-hwmon.rst
분량49 source lines
ADC10비트
채널16

원문 분량과 핵심 기능을 요약합니다.

동작 흐름
장치 결합MADC 모드 선택채널 신호 판별단위 변환sysfs 값 제공

장치 초기화부터 측정·상태 제공까지의 순서입니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 Kernel driver twl4030-madc
2 ==========================
3
4 Supported chips:
5
6 * Texas Instruments TWL4030
7
8 Prefix: 'twl4030-madc'
9
10
11 Authors:
12 J Keerthy <j-keerthy@ti.com>
13
14 Description
15 -----------
16
17 The Texas Instruments TWL4030 is a Power Management and Audio Circuit. Among
18 other things it contains a 10-bit A/D converter MADC. The converter has 16
19 channels which can be used in different modes.
20
21
22 See this table for the meaning of the different channels
23
24 ======= ==========================================================
25 Channel Signal
26 ======= ==========================================================
27 0 Battery type(BTYPE)
28 1 BCI: Battery temperature (BTEMP)
29 2 GP analog input
30 3 GP analog input
31 4 GP analog input
32 5 GP analog input
33 6 GP analog input
34 7 GP analog input
35 8 BCI: VBUS voltage(VBUS)
36 9 Backup Battery voltage (VBKP)
37 10 BCI: Battery charger current (ICHG)
38 11 BCI: Battery charger voltage (VCHG)
39 12 BCI: Main battery voltage (VBAT)
40 13 Reserved
41 14 Reserved
42 15 VRUSB Supply/Speaker left/Speaker right polarization level
43 ======= ==========================================================
44
45
46 The Sysfs nodes will represent the voltage in the units of mV,
47 the temperature channel shows the converted temperature in
48 degree Celsius. The Battery charging current channel represents
49 battery charging current in mA.
50

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.

지원 장치와 MADC 개요

1-21

이 커널 드라이버는 Texas Instruments TWL4030을 지원하며 접두사는 `twl4030-madc`입니다. 작성자는 J Keerthy입니다.

TWL4030은 전원 관리와 오디오 기능을 결합한 회로입니다. 여러 기능 가운데 10비트 A/D 변환기인 MADC를 포함하며, 이 변환기의 16개 채널은 서로 다른 모드로 사용할 수 있습니다.

TWL4030 MADC 개요
항목내용
지원 칩Texas Instruments TWL4030
드라이버 접두사`twl4030-madc`
변환기10비트 A/D 변환기 MADC
채널 수16

지원 칩과 변환기 구성을 정리합니다.

MADC 측정 경로
TWL4030 장치 결합MADC 모드 선택16개 채널 중 대상 채널 선택10비트 A/D 변환hwmon 값 제공

장치가 아날로그 신호를 hwmon 값으로 제공하는 흐름입니다.

Kernel driver twl4030-madc
==========================

Supported chips:

        * Texas Instruments TWL4030

        Prefix: 'twl4030-madc'


Authors:
        J Keerthy <j-keerthy@ti.com>

Description
-----------

The Texas Instruments TWL4030 is a Power Management and Audio Circuit. Among
other things it contains a 10-bit A/D converter MADC. The converter has 16
channels which can be used in different modes.

채널 의미와 단위

22-49

채널 0은 배터리 종류 `BTYPE`, 채널 1은 BCI 배터리 온도 `BTEMP`입니다. 채널 2~7은 범용 아날로그 입력입니다.

채널 8은 BCI VBUS 전압 `VBUS`, 채널 9는 백업 배터리 전압 `VBKP`, 채널 10은 BCI 배터리 충전기 전류 `ICHG`, 채널 11은 충전기 전압 `VCHG`, 채널 12는 주 배터리 전압 `VBAT`입니다. 채널 13과 14는 예약되어 있습니다.

채널 15는 `VRUSB` 공급 전압 또는 왼쪽·오른쪽 스피커의 바이어스 레벨을 나타냅니다. sysfs 전압 값의 단위는 mV이고, 온도 채널은 변환된 섭씨 온도를 표시하며, 배터리 충전 전류 채널의 단위는 mA입니다.

TWL4030 MADC 채널
채널신호
0Battery type (`BTYPE`)
1BCI Battery temperature (`BTEMP`)
2GP analog input
3GP analog input
4GP analog input
5GP analog input
6GP analog input
7GP analog input
8BCI VBUS voltage (`VBUS`)
9Backup Battery voltage (`VBKP`)
10BCI Battery charger current (`ICHG`)
11BCI Battery charger voltage (`VCHG`)
12BCI Main battery voltage (`VBAT`)
13Reserved
14Reserved
15VRUSB 공급/좌·우 스피커 바이어스 레벨

원문의 ASCII 표를 채널 범위별 구조로 다시 그렸습니다.

채널 값 해석
채널 번호 확인배터리·범용·VBUS·충전 신호 구분예약 채널 제외전압은 mV, 온도는 °C, 충전 전류는 mA로 변환sysfs 노드에 결과 표시

채널 번호에 따라 값의 의미와 단위를 결정합니다.

See this table for the meaning of the different channels

======= ==========================================================
Channel Signal
======= ==========================================================
0        Battery type(BTYPE)
1        BCI: Battery temperature (BTEMP)
2        GP analog input
3        GP analog input
4        GP analog input
5        GP analog input
6        GP analog input
7        GP analog input
8        BCI: VBUS voltage(VBUS)
9        Backup Battery voltage (VBKP)
10        BCI: Battery charger current (ICHG)
11        BCI: Battery charger voltage (VCHG)
12        BCI: Main battery voltage (VBAT)
13        Reserved
14        Reserved
15        VRUSB Supply/Speaker left/Speaker right polarization level
======= ==========================================================


The Sysfs nodes will represent the voltage in the units of mV,
the temperature channel shows the converted temperature in
degree Celsius. The Battery charging current channel represents
battery charging current in mA.