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