Linux-libre 3.16.41-gnu
[librecmc/linux-libre.git] / Documentation / devicetree / bindings / sound / max98090.txt
1 MAX98090 audio CODEC
2
3 This device supports I2C only.
4
5 Required properties:
6
7 - compatible : "maxim,max98090".
8
9 - reg : The I2C address of the device.
10
11 - interrupts : The CODEC's interrupt output.
12
13 Optional properties:
14
15 - clocks: The phandle of the master clock to the CODEC
16
17 - clock-names: Should be "mclk"
18
19 Pins on the device (for linking into audio routes):
20
21   * MIC1
22   * MIC2
23   * DMICL
24   * DMICR
25   * IN1
26   * IN2
27   * IN3
28   * IN4
29   * IN5
30   * IN6
31   * IN12
32   * IN34
33   * IN56
34   * HPL
35   * HPR
36   * SPKL
37   * SPKR
38   * RCVL
39   * RCVR
40   * MICBIAS
41
42 Example:
43
44 audio-codec@10 {
45         compatible = "maxim,max98090";
46         reg = <0x10>;
47         interrupt-parent = <&gpio>;
48         interrupts = <TEGRA_GPIO(H, 4) GPIO_ACTIVE_HIGH>;
49 };