blob: 4e3be6682c98c97c04ea6e8983edaca1beb22fbe [file] [log] [blame]
Stephen Warren308a0f32013-12-04 15:19:26 -07001MAX98090 audio CODEC
2
3This device supports I2C only.
4
5Required properties:
6
Wonjoon Lee053e69d2014-06-20 13:33:15 +05307- compatible : "maxim,max98090" or "maxim,max98091".
Stephen Warren308a0f32013-12-04 15:19:26 -07008
9- reg : The I2C address of the device.
10
11- interrupts : The CODEC's interrupt output.
12
Tushar Beherab10ab7b2014-05-26 13:58:21 +053013Optional properties:
14
15- clocks: The phandle of the master clock to the CODEC
16
17- clock-names: Should be "mclk"
18
Dylan Reiddefcd982014-11-03 10:28:57 -080019- maxim,dmic-freq: Frequency at which to clock DMIC
20
Fang, Yang Abb13f0e2015-05-29 11:56:10 -070021- 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
Stephen Warren308a0f32013-12-04 15:19:26 -070027Pins 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
50Example:
51
52audio-codec@10 {
53 compatible = "maxim,max98090";
54 reg = <0x10>;
55 interrupt-parent = <&gpio>;
56 interrupts = <TEGRA_GPIO(H, 4) GPIO_ACTIVE_HIGH>;
57};