SAMA5 I2S Kconfig update
This commit is contained in:
parent
c615f6e6fd
commit
60950c760f
@ -231,6 +231,10 @@ config ARCH_CHIP_SAM4L
|
||||
default n
|
||||
select ARCH_RAMFUNCS
|
||||
|
||||
config ARCH_CHIP_SAM4E
|
||||
bool
|
||||
default n
|
||||
|
||||
config ARCH_CHIP_SAM4S
|
||||
bool
|
||||
default n
|
||||
|
@ -1418,31 +1418,25 @@ choice
|
||||
default SAMA5_SSC0_RX_MCKDIV
|
||||
|
||||
config SAMA5_SSC0_RX_RKINPUT
|
||||
bool "External Clock"
|
||||
bool "RK input"
|
||||
---help---
|
||||
The SSC receiver clock is an external clock provided on the RK input
|
||||
pin.
|
||||
pin. Sample rate determined by the external clock frequency.
|
||||
|
||||
config SAMA5_SSC0_RX_TXCLK
|
||||
bool "Transmitter Clock"
|
||||
---help---
|
||||
The SSC receiver clock is transmitter clock.
|
||||
The SSC receiver clock is transmitter clock. RX sample rate is the same
|
||||
as the TX sample rate.
|
||||
|
||||
config SAMA5_SSC0_RX_MCKDIV
|
||||
bool "MCK/2"
|
||||
---help---
|
||||
The SSC receiver clock is the MCK/2 divided by a up to 4095.
|
||||
The SSC receiver clock is the MCK/2 divided by a up to 4095. Desired
|
||||
sample rate must be provided below.
|
||||
|
||||
endchoice # Receiver clock source
|
||||
|
||||
config SAMA5_SSC0_RX_EXTFREQ
|
||||
int "External reciver clock frequency"
|
||||
default 100
|
||||
depends on SAMA5_SSC0_RX_RKINPUT
|
||||
---help---
|
||||
If the receiver clock is provided via a clock input on the RK pin,
|
||||
then the frequency of the receiver clock must be provided.
|
||||
|
||||
if !SAMA5_SSC0_RX_RKINPUT
|
||||
choice
|
||||
prompt "Receiver output clock"
|
||||
@ -1474,31 +1468,25 @@ choice
|
||||
default SAMA5_SSC0_TX_MCKDIV
|
||||
|
||||
config SAMA5_SSC0_TX_TKINPUT
|
||||
bool "External Clock"
|
||||
bool "TK input"
|
||||
---help---
|
||||
The SSC transmitter clock is an external clock provided on the TK input
|
||||
pin.
|
||||
pin. Sample rate determined by the external clock frequency.
|
||||
|
||||
config SAMA5_SSC0_TX_RXCLK
|
||||
bool "Receiver Clock"
|
||||
---help---
|
||||
The SSC transmitter clock is receiver clock.
|
||||
The SSC transmitter clock is receiver clock. TX sample rate is the same
|
||||
as the RX sample rate.
|
||||
|
||||
config SAMA5_SSC0_TX_MCKDIV
|
||||
bool "MCK/2"
|
||||
---help---
|
||||
The SSC transmitter clock is the MCK/2 divided by a up to 4095.
|
||||
The SSC transmitter clock is the MCK/2 divided by a up to 4095. Desired
|
||||
sample rate must be provided below.
|
||||
|
||||
endchoice # Transmitter clock source
|
||||
|
||||
config SAMA5_SSC0_TX_EXTFREQ
|
||||
int "External transmitter clock frequency"
|
||||
default 100
|
||||
depends on SAMA5_SSC0_TX_TKINPUT
|
||||
---help---
|
||||
If the transmitter clock is provided via a clock input on the TK pin,
|
||||
then the frequency of the transmitter clock must be provided.
|
||||
|
||||
if !SAMA5_SSC0_TX_TKINPUT
|
||||
choice
|
||||
prompt "Transmitter output clock"
|
||||
@ -1518,8 +1506,8 @@ endif # !SAMA5_SSC0_TX_TKINPUT
|
||||
endif # SAMA5_SSC0_TX
|
||||
|
||||
config SAMA5_SSC0_MCKDIV_SAMPLERATE
|
||||
int "Internal transmitter clock frequency"
|
||||
default 100
|
||||
int "Sample rate"
|
||||
default 48000
|
||||
depends on SAMA5_SSC0_RX_MCKDIV || SAMA5_SSC0_TX_MCKDIV
|
||||
---help---
|
||||
If the either the receiver or transmitter clock is provided by MCK/2 divided
|
||||
@ -1570,31 +1558,25 @@ choice
|
||||
default SAMA5_SSC1_RX_MCKDIV
|
||||
|
||||
config SAMA5_SSC1_RX_RKINPUT
|
||||
bool "External Clock"
|
||||
bool "RK input"
|
||||
---help---
|
||||
The SSC receiver clock is an external clock provided on the RK input
|
||||
pin.
|
||||
pin. Sample rate determined by the external clock frequency.
|
||||
|
||||
config SAMA5_SSC1_RX_TXCLK
|
||||
bool "Transmitter Clock"
|
||||
---help---
|
||||
The SSC receiver clock is transmitter clock.
|
||||
The SSC receiver clock is transmitter clock. RX sample rate is the same
|
||||
as the TX sample rate.
|
||||
|
||||
config SAMA5_SSC1_RX_MCKDIV
|
||||
bool "MCK/2"
|
||||
---help---
|
||||
The SSC receiver clock is the MCK/2 divided by a up to 4095.
|
||||
The SSC receiver clock is the MCK/2 divided by a up to 4095. Desired
|
||||
sample rate must be provided below.
|
||||
|
||||
endchoice # Receiver clock source
|
||||
|
||||
config SAMA5_SSC1_RX_EXTFREQ
|
||||
int "External reciver clock frequency"
|
||||
default 100
|
||||
depends on SAMA5_SSC1_RX_RKINPUT
|
||||
---help---
|
||||
If the receiver clock is provided via a clock input on the RK pin,
|
||||
then the frequency of the receiver clock must be provided.
|
||||
|
||||
if !SAMA5_SSC1_RX_RKINPUT
|
||||
choice
|
||||
prompt "Receiver output clock"
|
||||
@ -1626,31 +1608,25 @@ choice
|
||||
default SAMA5_SSC1_TX_MCKDIV
|
||||
|
||||
config SAMA5_SSC1_TX_TKINPUT
|
||||
bool "External Clock"
|
||||
bool "TK input"
|
||||
---help---
|
||||
The SSC transmitter clock is an external clock provided on the TK input
|
||||
pin.
|
||||
pin. Sample rate determined by the external clock frequency.
|
||||
|
||||
config SAMA5_SSC1_TX_RXCLK
|
||||
bool "Receiver Clock"
|
||||
---help---
|
||||
The SSC transmitter clock is receiver clock.
|
||||
The SSC transmitter clock is receiver clock. TX sample rate is the same
|
||||
as the RX sample rate.
|
||||
|
||||
config SAMA5_SSC1_TX_MCKDIV
|
||||
bool "MCK/2"
|
||||
---help---
|
||||
The SSC transmitter clock is the MCK/2 divided by a up to 4095.
|
||||
The SSC transmitter clock is the MCK/2 divided by a up to 4095. Desired
|
||||
sample rate must be provided below.
|
||||
|
||||
endchoice # Transmitter clock source
|
||||
|
||||
config SAMA5_SSC1_TX_EXTFREQ
|
||||
int "External transmitter clock frequency"
|
||||
default 100
|
||||
depends on SAMA5_SSC1_TX_TKINPUT
|
||||
---help---
|
||||
If the transmitter clock is provided via a clock input on the TK pin,
|
||||
then the frequency of the transmitter clock must be provided.
|
||||
|
||||
if !SAMA5_SSC1_TX_TKINPUT
|
||||
choice
|
||||
prompt "Transmitter output clock"
|
||||
@ -1670,8 +1646,8 @@ endif # !SAMA5_SSC1_TX_TKINPUT
|
||||
endif # SAMA5_SSC1_TX
|
||||
|
||||
config SAMA5_SSC1_MCKDIV_SAMPLERATE
|
||||
int "Internal transmitter clock frequency"
|
||||
default 100
|
||||
int "Sample rate"
|
||||
default 48000
|
||||
depends on SAMA5_SSC1_RX_MCKDIV || SAMA5_SSC1_TX_MCKDIV
|
||||
---help---
|
||||
If the either the receiver or transmitter clock is provided by MCK/2 divided
|
||||
|
Loading…
Reference in New Issue
Block a user