← Documents Documentation/devicetree/bindings/sound/mrvl,pxa-ssp.txt GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings / Sound

Marvell PXA SSP CPU DAI

PXA SSP upstream device와 CPU DAI, 선택 external MCLK 관계를 설명합니다.

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

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

1. 요약·해설

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

요약과 해설

mrvl,pxa-ssp.txt:1-34

PXA SSP upstream device와 CPU DAI, 선택 external MCLK 관계를 설명합니다. 아래의 접을 수 있는 영어 원문은 source path와 줄 배치를 그대로 보존하고, 한국어 전문 번역은 property·phandle·symbol과 예제 코드를 원형으로 유지합니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 Marvell PXA SSP CPU DAI bindings
2
3 Required properties:
4
5 compatible Must be "mrvl,pxa-ssp-dai"
6 port A phandle reference to a PXA ssp upstream device
7
8 Optional properties:
9
10 clock-names
11 clocks Through "clock-names" and "clocks", external clocks
12 can be configured. If a clock names "extclk" exists,
13 it will be set to the mclk rate of the audio stream
14 and be used as clock provider of the DAI.
15
16 Example:
17
18 /* upstream device */
19
20 ssp1: ssp@41000000 {
21 compatible = "mrvl,pxa3xx-ssp";
22 reg = <0x41000000 0x40>;
23 interrupts = <24>;
24 clock-names = "pxa27x-ssp.0";
25 };
26
27 /* DAI as user */
28
29 ssp_dai0: ssp_dai@0 {
30 compatible = "mrvl,pxa-ssp-dai";
31 port = <&ssp1>;
32 #sound-dai-cells = <0>;
33 };
34
35

3. 한국어 전문 번역

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

PXA SSP CPU DAI 속성

1-15

필수 `compatible`은 `mrvl,pxa-ssp-dai`이고 `port`는 upstream PXA SSP device를 참조하는 phandle입니다.

선택 `clock-names`와 `clocks`로 external clock을 구성할 수 있습니다. `extclk`이라는 clock이 있으면 audio stream의 MCLK rate로 설정되며 DAI의 clock provider로 사용됩니다.

Upstream SSP와 DAI user

16-34

예제는 `0x41000000` upstream SSP device를 만들고, 별도 `ssp_dai0` node가 `port = <&ssp1>`로 이를 참조하도록 구성합니다.

/* upstream device */

ssp1: ssp@41000000 {
        compatible = "mrvl,pxa3xx-ssp";
        reg = <0x41000000 0x40>;
        interrupts = <24>;
        clock-names = "pxa27x-ssp.0";
};

/* DAI as user */

ssp_dai0: ssp_dai@0 {
        compatible = "mrvl,pxa-ssp-dai";
        port = <&ssp1>;
        #sound-dai-cells = <0>;
};