요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
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.
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.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
지원 장치와 MADC 개요
1-21이 커널 드라이버는 Texas Instruments TWL4030을 지원하며 접두사는 `twl4030-madc`입니다. 작성자는 J Keerthy입니다.
TWL4030은 전원 관리와 오디오 기능을 결합한 회로입니다. 여러 기능 가운데 10비트 A/D 변환기인 MADC를 포함하며, 이 변환기의 16개 채널은 서로 다른 모드로 사용할 수 있습니다.
지원 칩과 변환기 구성을 정리합니다.
장치가 아날로그 신호를 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입니다.
원문의 ASCII 표를 채널 범위별 구조로 다시 그렸습니다.
채널 번호에 따라 값의 의미와 단위를 결정합니다.
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.
요약·해설
twl4030-madc-hwmon.rst:1-49TWL4030 MADC는 배터리·범용 아날로그·VBUS·충전 신호를 16개 채널에 배치하고 신호 종류에 맞는 단위로 제공합니다.
원문 분량과 핵심 기능을 요약합니다.
장치 초기화부터 측정·상태 제공까지의 순서입니다.