1# Copyright (c) 2024 Espressif Systems (Shanghai) CO LTD 2# 3# SPDX-License-Identifier: Apache-2.0 4 5config I2S_ESP32 6 bool "ESP32 I2S driver" 7 default y 8 depends on DT_HAS_ESPRESSIF_ESP32_I2S_ENABLED 9 depends on DT_HAS_ESPRESSIF_ESP32_GDMA_ENABLED 10 select DMA 11 help 12 Enables the ESP32 I2S driver (GDMA SoCs only). 13 14if I2S_ESP32 15 16config I2S_ESP32_RX_BLOCK_COUNT 17 int "ESP32 I2S RX block count" 18 default 5 19 help 20 Max number of blocks waiting to be read from the I2S RX channel. 21 22config I2S_ESP32_TX_BLOCK_COUNT 23 int "ESP32 I2S TX block count" 24 default 5 25 help 26 Max number of blocks waiting to be transmitted by the I2S TX channel. 27 28endif 29