summaryrefslogtreecommitdiffstats
path: root/kernel/Documentation/devicetree/bindings/sound/max98090.txt
blob: aa802a274520793a4ae3f46fa3edb8d55be1083c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
MAX98090 audio CODEC

This device supports I2C only.

Required properties:

- compatible : "maxim,max98090" or "maxim,max98091".

- reg : The I2C address of the device.

- interrupts : The CODEC's interrupt output.

Optional properties:

- clocks: The phandle of the master clock to the CODEC

- clock-names: Should be "mclk"

- maxim,dmic-freq: Frequency at which to clock DMIC

Pins on the device (for linking into audio routes):

  * MIC1
  * MIC2
  * DMICL
  * DMICR
  * IN1
  * IN2
  * IN3
  * IN4
  * IN5
  * IN6
  * IN12
  * IN34
  * IN56
  * HPL
  * HPR
  * SPKL
  * SPKR
  * RCVL
  * RCVR
  * MICBIAS

Example:

audio-codec@10 {
	compatible = "maxim,max98090";
	reg = <0x10>;
	interrupt-parent = <&gpio>;
	interrupts = <TEGRA_GPIO(H, 4) GPIO_ACTIVE_HIGH>;
};