Commit | Line | Data |
---|---|---|
308a0f3f SW |
1 | MAX98090 audio CODEC |
2 | ||
3 | This device supports I2C only. | |
4 | ||
5 | Required properties: | |
6 | ||
053e69d5 | 7 | - compatible : "maxim,max98090" or "maxim,max98091". |
308a0f3f SW |
8 | |
9 | - reg : The I2C address of the device. | |
10 | ||
11 | - interrupts : The CODEC's interrupt output. | |
12 | ||
b10ab7b8 TB |
13 | Optional properties: |
14 | ||
15 | - clocks: The phandle of the master clock to the CODEC | |
16 | ||
17 | - clock-names: Should be "mclk" | |
18 | ||
defcd98b DR |
19 | - maxim,dmic-freq: Frequency at which to clock DMIC |
20 | ||
bb13f0e0 FY |
21 | - maxim,micbias: Micbias voltage applies to the analog mic, valid voltages value are: |
22 | 0 - 2.2v | |
23 | 1 - 2.55v | |
24 | 2 - 2.4v | |
25 | 3 - 2.8v | |
26 | ||
308a0f3f SW |
27 | Pins on the device (for linking into audio routes): |
28 | ||
29 | * MIC1 | |
30 | * MIC2 | |
31 | * DMICL | |
32 | * DMICR | |
33 | * IN1 | |
34 | * IN2 | |
35 | * IN3 | |
36 | * IN4 | |
37 | * IN5 | |
38 | * IN6 | |
39 | * IN12 | |
40 | * IN34 | |
41 | * IN56 | |
42 | * HPL | |
43 | * HPR | |
44 | * SPKL | |
45 | * SPKR | |
46 | * RCVL | |
47 | * RCVR | |
48 | * MICBIAS | |
49 | ||
50 | Example: | |
51 | ||
52 | audio-codec@10 { | |
53 | compatible = "maxim,max98090"; | |
54 | reg = <0x10>; | |
55 | interrupt-parent = <&gpio>; | |
56 | interrupts = <TEGRA_GPIO(H, 4) GPIO_ACTIVE_HIGH>; | |
57 | }; |