xref: /freebsd/sys/contrib/device-tree/Bindings/sound/dmic.txt (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1Device-Tree bindings for Digital microphone (DMIC) codec
2
3This device support generic PDM digital microphone.
4
5Required properties:
6	- compatible: should be "dmic-codec".
7
8Optional 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
14Example 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	};
23