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