1# Copyright (c) 2024 NXP 2# SPDX-License-Identifier: Apache-2.0 3 4source "Kconfig.zephyr" 5 6config I2S_INIT_BUFFERS 7 int "Initial count of audio data blocks" 8 default 4 9 help 10 Controls the initial count of audio data blocks, which are (optionally) 11 filled by data from the DMIC peripheral and played back by the I2S 12 output peripheral. 13 14config SAMPLE_FREQ 15 int "Sample rate" 16 default 16000 17 help 18 Sample frequency of the system. 19 20config USE_CODEC_CLOCK 21 bool "I2S BCK is generated by a selected codec device" 22 help 23 If selected, the I2S selected peripheral will be configured to consume 24 (receive) the I2S BCK and WS signals and the codec will be configured 25 to generate those. If not selected, the I2S peripheral will generate 26 them and the codec will be expected to consume them. 27 28config EXTRA_BLOCKS 29 int "Number of extra blocks" 30 default 32 31 help 32 Extra blocks for storing PCM sample. 33 34config SAMPLE_WIDTH 35 int "Sample bit width" 36 default 16 37 help 38 PCM sample bit width. 39 40config BYTES_PER_SAMPLE 41 int "Bytes per sample" 42 default 2 43 help 44 Number of bytes per PCM sample. 45 46config USE_DMIC 47 bool "Use DMIC as an audio input" 48 49if USE_DMIC 50 51config DMIC_CHANNELS 52 int "Number of DMIC channels" 53 default 1 54 help 55 Count of DMIC channels to capture and process. 56 57endif 58