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