2017-07-25 08:48:13 +00:00
|
|
|
Device-Tree bindings for Digital microphone (DMIC) codec
|
|
|
|
|
|
|
|
This device support generic PDM digital microphone.
|
|
|
|
|
|
|
|
Required properties:
|
|
|
|
- compatible: should be "dmic-codec".
|
|
|
|
|
2017-08-17 02:24:45 +00:00
|
|
|
Optional properties:
|
|
|
|
- dmicen-gpios: GPIO specifier for dmic to control start and stop
|
2018-01-05 20:39:57 +00:00
|
|
|
- num-channels: Number of microphones on this DAI
|
2018-02-16 17:53:12 +00:00
|
|
|
- wakeup-delay-ms: Delay (in ms) after enabling the DMIC
|
2018-11-28 06:52:45 +00:00
|
|
|
- modeswitch-delay-ms: Delay (in ms) to complete DMIC mode switch
|
2017-08-17 02:24:45 +00:00
|
|
|
|
2017-07-25 08:48:13 +00:00
|
|
|
Example node:
|
|
|
|
|
|
|
|
dmic_codec: dmic@0 {
|
|
|
|
compatible = "dmic-codec";
|
2017-08-17 02:24:45 +00:00
|
|
|
dmicen-gpios = <&gpio4 3 GPIO_ACTIVE_HIGH>;
|
2018-01-05 20:39:57 +00:00
|
|
|
num-channels = <1>;
|
2018-02-16 17:53:12 +00:00
|
|
|
wakeup-delay-ms <50>;
|
2018-11-28 06:52:45 +00:00
|
|
|
modeswitch-delay-ms <35>;
|
2017-07-25 08:48:13 +00:00
|
|
|
};
|