]>
Commit | Line | Data |
---|---|---|
5863e57c AP |
1 | Device-Tree bindings for Digital microphone (DMIC) codec |
2 | ||
3 | This device support generic PDM digital microphone. | |
4 | ||
5 | Required properties: | |
6 | - compatible: should be "dmic-codec". | |
7 | ||
8c9741b1 | 8 | Optional properties: |
9 | - dmicen-gpios: GPIO specifier for dmic to control start and stop | |
7fb59e94 | 10 | - num-channels: Number of microphones on this DAI |
05c9b302 | 11 | - wakeup-delay-ms: Delay (in ms) after enabling the DMIC |
bc0a7dbc | 12 | - modeswitch-delay-ms: Delay (in ms) to complete DMIC mode switch |
8c9741b1 | 13 | |
5863e57c AP |
14 | Example node: |
15 | ||
16 | dmic_codec: dmic@0 { | |
17 | compatible = "dmic-codec"; | |
8c9741b1 | 18 | dmicen-gpios = <&gpio4 3 GPIO_ACTIVE_HIGH>; |
7fb59e94 | 19 | num-channels = <1>; |
05c9b302 | 20 | wakeup-delay-ms <50>; |
bc0a7dbc | 21 | modeswitch-delay-ms <35>; |
5863e57c | 22 | }; |