zephyr/drivers/i2s/Kconfig
Maureen Helm c3ae364467 drivers: i2s: Refactor drivers to use shared init priority
Refactors the remaining I2S drivers to use the shared driver class
initialization priority configuration, CONFIG_I2S_INIT_PRIORITY, to
allow configuring I2S drivers separately from other devices. This is
similar to other driver classes.

The default is set to CONFIG_KERNEL_INIT_PRIORITY_DEVICE to be
consistent with other driver classes.

Signed-off-by: Maureen Helm <maureen.helm@intel.com>
2022-03-14 10:37:28 -04:00

31 lines
548 B
Plaintext

# I2S (Inter-IC Sound) driver configuration options
# Copyright (c) 2017 Piotr Mienkowski
# SPDX-License-Identifier: Apache-2.0
#
# I2S Drivers
#
menuconfig I2S
bool "I2S bus drivers"
help
Enable support for the I2S (Inter-IC Sound) hardware bus.
if I2S
config I2S_INIT_PRIORITY
int "Init priority"
default KERNEL_INIT_PRIORITY_DEVICE
help
Device driver initialization priority.
module = I2S
module-str = i2s
source "subsys/logging/Kconfig.template.log_config"
comment "Device Drivers"
source "drivers/i2s/Kconfig.*"
endif # I2S