← Documents Documentation/devicetree/bindings/sound/mikroe,mikroe-proto.txt GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings / Sound

Mikroe-PROTO audio board

Mikroe-PROTO board의 I2S controller·WM8731 codec·clock master 연결을 설명합니다.

Source pathDocumentation/devicetree/bindings/sound/mikroe,mikroe-proto.txt
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

요약과 해설

mikroe,mikroe-proto.txt:1-23

Mikroe-PROTO board의 I2S controller·WM8731 codec·clock master 연결을 설명합니다. 아래의 접을 수 있는 영어 원문은 source path와 줄 배치를 그대로 보존하고, 한국어 전문 번역은 property·phandle·symbol과 예제 코드를 원형으로 유지합니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 Mikroe-PROTO audio board
2
3 Required properties:
4 - compatible: "mikroe,mikroe-proto"
5 - dai-format: Must be "i2s".
6 - i2s-controller: The phandle of the I2S controller.
7 - audio-codec: The phandle of the WM8731 audio codec.
8 Optional properties:
9 - model: The user-visible name of this sound complex.
10 - bitclock-master: Indicates dai-link bit clock master; for details see simple-card.txt (1).
11 - frame-master: Indicates dai-link frame master; for details see simple-card.txt (1).
12
13 (1) : There must be the same master for both bit and frame clocks.
14
15 Example:
16 sound {
17 compatible = "mikroe,mikroe-proto";
18 model = "wm8731 @ sama5d2_xplained";
19 i2s-controller = <&i2s0>;
20 audio-codec = <&wm8731>;
21 dai-format = "i2s";
22 };
23 };
24

3. 한국어 전문 번역

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

Mikroe-PROTO card 속성

1-14

필수 `compatible`은 `mikroe,mikroe-proto`, `dai-format`은 `i2s`입니다. `i2s-controller`는 I2S controller phandle, `audio-codec`은 WM8731 audio codec phandle입니다.

선택 `model`은 사용자가 보는 sound complex 이름입니다. `bitclock-master`와 `frame-master`는 simple-card DAI link의 bit clock 및 frame master를 나타내며 `simple-card.txt`를 따릅니다. 두 clock은 반드시 같은 master를 사용해야 합니다.

SAMA5D2 board 예제

15-23

예제는 `i2s0` controller와 `wm8731` codec을 `i2s` 형식으로 연결하고 model 이름을 `wm8731 @ sama5d2_xplained`로 설정합니다.

        sound {
                compatible = "mikroe,mikroe-proto";
                model = "wm8731 @ sama5d2_xplained";
                i2s-controller = <&i2s0>;
                audio-codec = <&wm8731>;
                dai-format = "i2s";
        };
};