2017-07-17 21:16:49 +08:00
|
|
|
# Kconfig - I2S (Inter-IC Sound) driver configuration options
|
|
|
|
#
|
|
|
|
# Copyright (c) 2017 Piotr Mienkowski
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
|
|
|
|
|
|
|
#
|
|
|
|
# I2S Drivers
|
|
|
|
#
|
|
|
|
menuconfig I2S
|
2018-08-14 22:19:20 +08:00
|
|
|
bool "I2S bus drivers"
|
2017-07-17 21:16:49 +08:00
|
|
|
help
|
|
|
|
Enable support for the I2S (Inter-IC Sound) hardware bus.
|
|
|
|
|
|
|
|
if I2S
|
|
|
|
|
|
|
|
config I2S_INIT_PRIORITY
|
|
|
|
int "Init priority"
|
|
|
|
default 70
|
|
|
|
help
|
|
|
|
Device driver initialization priority.
|
|
|
|
|
|
|
|
config SYS_LOG_I2S_LEVEL
|
|
|
|
int "I2S Driver Log level"
|
|
|
|
depends on SYS_LOG
|
|
|
|
default 0
|
|
|
|
range 0 4
|
|
|
|
help
|
|
|
|
Sets log level for I2S drivers.
|
|
|
|
Levels are:
|
|
|
|
0 OFF, do not write
|
|
|
|
1 ERROR, only write SYS_LOG_ERR
|
|
|
|
2 WARNING, write SYS_LOG_WRN in addition to previous level
|
|
|
|
3 INFO, write SYS_LOG_INF in addition to previous levels
|
|
|
|
4 DEBUG, write SYS_LOG_DBG in addition to previous levels
|
|
|
|
|
|
|
|
comment "Device Drivers"
|
|
|
|
|
2018-08-14 13:20:30 +08:00
|
|
|
source "drivers/i2s/Kconfig.*"
|
2017-07-17 21:16:49 +08:00
|
|
|
|
|
|
|
endif # I2S
|