← Documents Documentation/devicetree/bindings/sound/max98373.txt GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings / Sound

MAX98373 speaker amplifier

MAX98373의 I2C 주소, voltage·current·speaker feedback slot과 interleave mode를 설명합니다.

Source pathDocumentation/devicetree/bindings/sound/max98373.txt
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

요약과 해설

max98373.txt:1-40

MAX98373의 I2C 주소, voltage·current·speaker feedback slot과 interleave mode를 설명합니다. 아래의 접을 수 있는 영어 원문은 source path와 줄 배치를 그대로 보존하고, 한국어 전문 번역은 property·phandle·symbol과 예제 코드를 원형으로 유지합니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 Maxim Integrated MAX98373 Speaker Amplifier
2
3 This device supports I2C.
4
5 Required properties:
6
7 - compatible : "maxim,max98373"
8
9 - reg : the I2C address of the device.
10
11 Optional properties:
12
13 - maxim,vmon-slot-no : slot number used to send voltage information
14 or in inteleave mode this will be used as
15 interleave slot.
16 slot range : 0 ~ 15, Default : 0
17
18 - maxim,imon-slot-no : slot number used to send current information
19 slot range : 0 ~ 15, Default : 0
20
21 - maxim,spkfb-slot-no : slot number used to send speaker feedback information
22 slot range : 0 ~ 15, Default : 0
23
24 - maxim,interleave-mode : For cases where a single combined channel
25 for the I/V sense data is not sufficient, the device can also be configured
26 to share a single data output channel on alternating frames.
27 In this configuration, the current and voltage data will be frame interleaved
28 on a single output channel.
29 Boolean, define to enable the interleave mode, Default : false
30
31 Example:
32
33 codec: max98373@31 {
34 compatible = "maxim,max98373";
35 reg = <0x31>;
36 maxim,vmon-slot-no = <0>;
37 maxim,imon-slot-no = <1>;
38 maxim,spkfb-slot-no = <2>;
39 maxim,interleave-mode;
40 };
41

3. 한국어 전문 번역

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

MAX98373 필수 속성

1-10

Maxim Integrated MAX98373 speaker amplifier는 I2C를 지원합니다. `compatible`은 `maxim,max98373`, `reg`는 device의 I2C address입니다.

Sense slot과 interleave mode

11-30

`maxim,vmon-slot-no`는 voltage information을 전송할 slot number이며 interleave mode에서는 interleave slot으로 사용합니다. `maxim,imon-slot-no`는 current information, `maxim,spkfb-slot-no`는 speaker feedback information의 slot number입니다. 세 값의 범위는 0~15이고 기본값은 0입니다.

`maxim,interleave-mode`는 I/V sense data를 단일 결합 channel로 보내기 부족할 때 한 data output channel을 교대 frame으로 공유하게 하는 boolean 속성입니다. 활성화하면 current와 voltage data가 한 output channel에서 frame interleave되며 기본값은 false입니다.

MAX98373 I2C 예제

31-40

예제는 I2C address `0x31`에서 VMON slot 0, IMON slot 1, speaker-feedback slot 2를 지정하고 interleave mode를 활성화합니다.

codec: max98373@31 {
   compatible = "maxim,max98373";
   reg = <0x31>;
   maxim,vmon-slot-no = <0>;
   maxim,imon-slot-no = <1>;
   maxim,spkfb-slot-no = <2>;
   maxim,interleave-mode;
};