Add snapshot of device tree bindings from keystone common kernel, branch "android-mainline-keystone-qcom-release" at c4c12103f9c0 ("Snap for 9228065 from e32903b9a63bb558df8b803b076619c53c16baad to android-mainline-keystone-qcom-release"). Change-Id: I7682079615cbd9f29340a5c1f2a1d84ec441a1f1 Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
23 lines
627 B
Plaintext
23 lines
627 B
Plaintext
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
|
|
- modeswitch-delay-ms: Delay (in ms) to complete DMIC mode switch
|
|
|
|
Example node:
|
|
|
|
dmic_codec: dmic@0 {
|
|
compatible = "dmic-codec";
|
|
dmicen-gpios = <&gpio4 3 GPIO_ACTIVE_HIGH>;
|
|
num-channels = <1>;
|
|
wakeup-delay-ms <50>;
|
|
modeswitch-delay-ms <35>;
|
|
};
|