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 | |
Stephen Warren | 308a0f3 | 2013-12-04 15:19:26 -0700 | [diff] [blame] | 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 | }; |