Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | RT5514 audio CODEC |
| 2 | |
| 3 | This device supports both I2C and SPI. |
| 4 | |
| 5 | Required properties: |
| 6 | |
| 7 | - compatible : "realtek,rt5514". |
| 8 | |
| 9 | - reg : the I2C address of the device for I2C, the chip select |
| 10 | number for SPI. |
| 11 | |
| 12 | Optional properties: |
| 13 | |
| 14 | - clocks: The phandle of the master clock to the CODEC |
| 15 | - clock-names: Should be "mclk" |
| 16 | |
| 17 | - interrupts: The interrupt number to the cpu. The interrupt specifier format |
| 18 | depends on the interrupt controller. |
| 19 | |
| 20 | - realtek,dmic-init-delay-ms |
| 21 | Set the DMIC initial delay (ms) to wait it ready for I2C. |
| 22 | |
| 23 | Pins on the device (for linking into audio routes) for I2C: |
| 24 | |
| 25 | * DMIC1L |
| 26 | * DMIC1R |
| 27 | * DMIC2L |
| 28 | * DMIC2R |
| 29 | * AMICL |
| 30 | * AMICR |
| 31 | |
| 32 | Example: |
| 33 | |
| 34 | rt5514: codec@57 { |
| 35 | compatible = "realtek,rt5514"; |
| 36 | reg = <0x57>; |
| 37 | }; |