1# Atmel SAM I2S bus driver configuration options
2
3# Copyright (c) 2017 Piotr Mienkowski
4# SPDX-License-Identifier: Apache-2.0
5
6menuconfig I2S_SAM_SSC
7	bool "Atmel SAM MCU family I2S (SSC) Bus Driver"
8	default y
9	depends on DT_HAS_ATMEL_SAM_SSC_ENABLED
10	select PINCTRL
11	select DMA
12	help
13	  Enable Inter Sound (I2S) bus driver for Atmel SAM MCU family based on
14	  Synchronous Serial Controller (SSC) module.
15
16if I2S_SAM_SSC
17
18config I2S_SAM_SSC_RX_BLOCK_COUNT
19	int "RX queue length"
20	default 4
21
22config I2S_SAM_SSC_TX_BLOCK_COUNT
23	int "TX queue length"
24	default 4
25
26config I2S_SAM_SSC_0_PIN_RF_EN
27	bool "RF pin enabled"
28	default y
29	help
30	  If enabled RF signal is connected to RF pin. It will be configured as
31	  an output or an input depending on whether the receiver is working
32	  in master or slave mode.
33
34	  If disabled RF signal is disconnected from RF pin and connected
35	  internally to TF (Transmitter Frame Synchro signal).
36
37config I2S_SAM_SSC_0_PIN_RK_EN
38	bool "RK pin enabled"
39	default y
40	help
41	  If enabled RK signal is connected to RK pin. It will be configured as
42	  an output or an input depending on whether the receiver is working
43	  in master or slave mode.
44
45	  If disabled RK signal is disconnected from RK pin and connected
46	  internally to TK (Transmitter Clock signal).
47
48endif # I2S_SAM_SSC
49