This introduces LiteX I2S driver supporting the following features:
- 8,16,24,32 bit sample width,
- mono/stereo sound,
- different sample frequencies
- big/little-endian data format,
- concatenated channels mode (for selected sample widths only),
- slave/master mode operation.
Signed-off-by: Pawel Sagan <psagan@internships.antmicro.com>
Signed-off-by: Mateusz Holenko <mholenko@antmicro.com>
11 lines
402 B
CMake
11 lines
402 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
zephyr_library()
|
|
|
|
zephyr_library_sources(i2s_common.c)
|
|
zephyr_library_sources_ifdef(CONFIG_I2S_SAM_SSC i2s_sam_ssc.c)
|
|
zephyr_library_sources_ifdef(CONFIG_I2S_CAVS i2s_cavs.c)
|
|
zephyr_library_sources_ifdef(CONFIG_USERSPACE i2s_handlers.c)
|
|
zephyr_library_sources_ifdef(CONFIG_I2S_STM32 i2s_ll_stm32.c)
|
|
zephyr_library_sources_ifdef(CONFIG_I2S_LITEX i2s_litex.c)
|