xref: /freebsd/sys/contrib/device-tree/Bindings/sound/dmic.txt (revision a4e5e0106ac7145f56eb39a691e302cabb4635be)
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