Stephen Warren | 308a0f3 | 2013-12-04 15:19:26 -0700 | [diff] [blame] | 1 | MAX98090 audio CODEC |
| 2 | |
| 3 | This device supports I2C only. |
| 4 | |
| 5 | Required properties: |
| 6 | |
Wonjoon Lee | 053e69d | 2014-06-20 13:33:15 +0530 | [diff] [blame] | 7 | - compatible : "maxim,max98090" or "maxim,max98091". |
Stephen Warren | 308a0f3 | 2013-12-04 15:19:26 -0700 | [diff] [blame] | 8 | |
| 9 | - reg : The I2C address of the device. |
| 10 | |
| 11 | - interrupts : The CODEC's interrupt output. |
| 12 | |
Tushar Behera | b10ab7b | 2014-05-26 13:58:21 +0530 | [diff] [blame] | 13 | Optional properties: |
| 14 | |
| 15 | - clocks: The phandle of the master clock to the CODEC |
| 16 | |
| 17 | - clock-names: Should be "mclk" |
| 18 | |
Dylan Reid | defcd98 | 2014-11-03 10:28:57 -0800 | [diff] [blame] | 19 | - maxim,dmic-freq: Frequency at which to clock DMIC |
| 20 | |
Fang, Yang A | bb13f0e | 2015-05-29 11:56:10 -0700 | [diff] [blame] | 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 | |
Stephen Warren | 308a0f3 | 2013-12-04 15:19:26 -0700 | [diff] [blame] | 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 | }; |