← Documents Documentation/devicetree/bindings/sound/omap-abe-twl6040.txt GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings / Sound

OMAP4+ TWL6040 audio card

OMAP ABE와 TWL6040의 card 속성, endpoint 목록과 audio routing을 설명합니다.

Source pathDocumentation/devicetree/bindings/sound/omap-abe-twl6040.txt
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

요약과 해설

omap-abe-twl6040.txt:1-91

OMAP ABE와 TWL6040의 card 속성, endpoint 목록과 audio routing을 설명합니다. 접을 수 있는 영어 원문은 전체 source line과 공백을 보존하며, 한국어 전문 번역은 property·endpoint·phandle·예제 코드를 원형대로 유지합니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 * Texas Instruments OMAP4+ and twl6040 based audio setups
2
3 Required properties:
4 - compatible: "ti,abe-twl6040"
5 - ti,model: Name of the sound card ( for example "SDP4430")
6 - ti,mclk-freq: MCLK frequency for HPPLL operation
7 - ti,mcpdm: phandle for the McPDM node
8 - ti,twl6040: phandle for the twl6040 core node
9 - ti,audio-routing: List of connections between audio components.
10 Each entry is a pair of strings, the first being the connection's sink,
11 the second being the connection's source.
12
13 Optional properties:
14 - ti,dmic: phandle for the OMAP dmic node if the machine have it connected
15 - ti,jack-detection: Need to be present if the board capable to detect jack
16 insertion, removal.
17
18 Available audio endpoints for the audio-routing table:
19
20 Board connectors:
21 * Headset Stereophone
22 * Earphone Spk
23 * Ext Spk
24 * Line Out
25 * Vibrator
26 * Headset Mic
27 * Main Handset Mic
28 * Sub Handset Mic
29 * Line In
30 * Digital Mic
31
32 twl6040 pins:
33 * HSOL
34 * HSOR
35 * EP
36 * HFL
37 * HFR
38 * AUXL
39 * AUXR
40 * VIBRAL
41 * VIBRAR
42 * HSMIC
43 * MAINMIC
44 * SUBMIC
45 * AFML
46 * AFMR
47
48 * Headset Mic Bias
49 * Main Mic Bias
50 * Digital Mic1 Bias
51 * Digital Mic2 Bias
52
53 Digital mic pins:
54 * DMic
55
56 Example:
57
58 sound {
59 compatible = "ti,abe-twl6040";
60 ti,model = "SDP4430";
61
62 ti,jack-detection;
63 ti,mclk-freq = <38400000>;
64
65 ti,mcpdm = <&mcpdm>;
66 ti,dmic = <&dmic>;
67
68 ti,twl6040 = <&twl6040>;
69
70 /* Audio routing */
71 ti,audio-routing =
72 "Headset Stereophone", "HSOL",
73 "Headset Stereophone", "HSOR",
74 "Earphone Spk", "EP",
75 "Ext Spk", "HFL",
76 "Ext Spk", "HFR",
77 "Line Out", "AUXL",
78 "Line Out", "AUXR",
79 "Vibrator", "VIBRAL",
80 "Vibrator", "VIBRAR",
81 "HSMIC", "Headset Mic",
82 "Headset Mic", "Headset Mic Bias",
83 "MAINMIC", "Main Handset Mic",
84 "Main Handset Mic", "Main Mic Bias",
85 "SUBMIC", "Sub Handset Mic",
86 "Sub Handset Mic", "Main Mic Bias",
87 "AFML", "Line In",
88 "AFMR", "Line In",
89 "DMic", "Digital Mic",
90 "Digital Mic", "Digital Mic1 Bias";
91 };
92

3. 한국어 전문 번역

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

OMAP4+ TWL6040 card 속성

1-17

Texas Instruments OMAP4+와 TWL6040 기반 audio setup의 `compatible`은 `ti,abe-twl6040`입니다. `ti,model`은 sound card 이름, `ti,mclk-freq`는 HPPLL 동작용 MCLK frequency, `ti,mcpdm`은 McPDM node phandle, `ti,twl6040`은 TWL6040 core phandle입니다.

`ti,audio-routing`은 audio component 연결 목록이며 각 entry는 sink와 source 두 문자열의 pair입니다. 선택 `ti,dmic`은 연결된 OMAP DMIC node phandle이고, jack 삽입·제거를 감지할 수 있는 board는 `ti,jack-detection`을 둡니다.

Audio-routing endpoint 목록

18-55

Board connector endpoint는 `Headset Stereophone`, `Earphone Spk`, `Ext Spk`, `Line Out`, `Vibrator`, `Headset Mic`, `Main Handset Mic`, `Sub Handset Mic`, `Line In`, `Digital Mic`입니다.

TWL6040 pin endpoint는 `HSOL`, `HSOR`, `EP`, `HFL`, `HFR`, `AUXL`, `AUXR`, `VIBRAL`, `VIBRAR`, `HSMIC`, `MAINMIC`, `SUBMIC`, `AFML`, `AFMR`입니다. Bias endpoint는 `Headset Mic Bias`, `Main Mic Bias`, `Digital Mic1 Bias`, `Digital Mic2 Bias`이고 digital microphone pin은 `DMic`입니다.

SDP4430 routing 예제

56-91

예제는 38.4 MHz HPPLL MCLK, McPDM·DMIC·TWL6040 phandle과 jack detection을 지정하고 headset, earphone, external speaker, line out, vibrator, 세 microphone, line input, digital microphone route를 구성합니다.

sound {
        compatible = "ti,abe-twl6040";
        ti,model = "SDP4430";

        ti,jack-detection;
        ti,mclk-freq = <38400000>;

        ti,mcpdm = <&mcpdm>;
        ti,dmic = <&dmic>;

        ti,twl6040 = <&twl6040>;

        /* Audio routing */
        ti,audio-routing =
                "Headset Stereophone", "HSOL",
                "Headset Stereophone", "HSOR",
                "Earphone Spk", "EP",
                "Ext Spk", "HFL",
                "Ext Spk", "HFR",
                "Line Out", "AUXL",
                "Line Out", "AUXR",
                "Vibrator", "VIBRAL",
                "Vibrator", "VIBRAR",
                "HSMIC", "Headset Mic",
                "Headset Mic", "Headset Mic Bias",
                "MAINMIC", "Main Handset Mic",
                "Main Handset Mic", "Main Mic Bias",
                "SUBMIC", "Sub Handset Mic",
                "Sub Handset Mic", "Main Mic Bias",
                "AFML", "Line In",
                "AFMR", "Line In",
                "DMic", "Digital Mic",
                "Digital Mic", "Digital Mic1 Bias";
};