Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/ide
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / sound / dmic.txt
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
8 Optional properties:
9         - dmicen-gpios: GPIO specifier for dmic to control start and stop
10         - num-channels: Number of microphones on this DAI
11         - wakeup-delay-ms: Delay (in ms) after enabling the DMIC
12         - modeswitch-delay-ms: Delay (in ms) to complete DMIC mode switch
13
14 Example node:
15
16         dmic_codec: dmic@0 {
17                 compatible = "dmic-codec";
18                 dmicen-gpios = <&gpio4 3 GPIO_ACTIVE_HIGH>;
19                 num-channels = <1>;
20                 wakeup-delay-ms <50>;
21                 modeswitch-delay-ms <35>;
22         };