blob: 1df49c5b21a7bb6dfe87ead03a4d1f3b91c98b62 [file] [log] [blame]
Ulf Magnussonbd6e0442019-11-01 13:45:29 +01001# STM32 I2S driver configuration options
2
Armando Visconti7b82e9f2018-06-14 09:27:46 +02003# Copyright (c) 2018 STMicroelectronics
Armando Visconti7b82e9f2018-06-14 09:27:46 +02004# SPDX-License-Identifier: Apache-2.0
Armando Visconti7b82e9f2018-06-14 09:27:46 +02005
6menuconfig I2S_STM32
7 bool "STM32 MCU I2S controller driver"
Kumar Gala324ee292022-08-24 14:12:33 -05008 default y
9 depends on DT_HAS_ST_STM32_I2S_ENABLED
Emil Lindqvist548fb972024-01-24 12:42:36 +010010 select CACHE_MANAGEMENT if CPU_HAS_DCACHE
Armando Visconti7b82e9f2018-06-14 09:27:46 +020011 select DMA
Erwan Gourioud13f9d92024-08-29 16:04:49 +020012 select PINCTRL
Armando Visconti7b82e9f2018-06-14 09:27:46 +020013 help
14 Enable I2S support on the STM32 family of processors.
Emil Lindqvisted6da682023-11-01 11:54:23 +010015 (Tested on the STM32F4 & STM32H7 series)
Armando Visconti7b82e9f2018-06-14 09:27:46 +020016
17if I2S_STM32
18
19config I2S_STM32_RX_BLOCK_COUNT
20 int "RX queue length"
21 default 4
22
23config I2S_STM32_TX_BLOCK_COUNT
24 int "TX queue length"
25 default 4
26
Armando Visconti7b82e9f2018-06-14 09:27:46 +020027endif # I2S_STM32