The dmic_mcux driver required a mapping of paired dmics to specify the same pdm number, and would arbitrarily assign the left channel of the pair to even dmic channel number and the right to an odd dmic channel number. Change this so that the pdm number in the mapping is used as the dmic channel number, and paired dmics are checked to specify consecutive pdm numbers (instead of the same pdm number). This allows users to control explicitly which dmic channel to use and whether that dmic channel is left or right, without this arbitrary indirect mapping. This is important in case they want a dmic that is wired to be right channel to be assigned to dmic channel 0, which is the only channel that supports hwvad. Signed-off-by: Mike J. Chen <mjchen@google.com> |
||
|---|---|---|
| .. | ||
| mic_privacy/intel | ||
| CMakeLists.txt | ||
| codec_shell.c | ||
| cs43l22.c | ||
| dmic_ambiq_pdm.c | ||
| dmic_mcux.c | ||
| dmic_nrfx_pdm.c | ||
| Kconfig | ||
| Kconfig.cs43l22 | ||
| Kconfig.dmic_ambiq_pdm | ||
| Kconfig.dmic_mcux | ||
| Kconfig.dmic_pdm_nrfx | ||
| Kconfig.max98091 | ||
| Kconfig.mpxxdtyy | ||
| Kconfig.pcm1681 | ||
| Kconfig.tas6422dac | ||
| Kconfig.tlv320aic3110 | ||
| Kconfig.tlv320dac | ||
| Kconfig.wm8904 | ||
| Kconfig.wm8962 | ||
| max98091.c | ||
| max98091.h | ||
| mpxxdtyy-i2s.c | ||
| mpxxdtyy.c | ||
| mpxxdtyy.h | ||
| pcm1681.c | ||
| pcm1681.h | ||
| tas6422dac.c | ||
| tas6422dac.h | ||
| tlv320aic3110.c | ||
| tlv320aic3110.h | ||
| tlv320dac310x.c | ||
| tlv320dac310x.h | ||
| wm8904.c | ||
| wm8904.h | ||
| wm8962.c | ||
| wm8962.h | ||