Boot Linux faster!

Check our new training course

Boot Linux faster!

Check our new training course
and Creative Commons CC-BY-SA
lecture and lab materials

Bootlin logo

Elixir Cross Referencer

# Kconfig - I2C Slave configuration options

#
# Copyright (c) 2017 BayLibre, SAS
#
# SPDX-License-Identifier: Apache-2.0
#

#
# I2C options
#
menuconfig I2C_SLAVE
	bool "I2C Slave Drivers"
	help
	  Enable I2C Slave Driver Configuration

if I2C_SLAVE

config I2C_SLAVE_INIT_PRIORITY
	int "Init priority"
	default 60
	help
	  I2C Slave device driver initialization priority.

config LOG_I2C_SLAVE_LEVEL
	int "I2C Slave log level"
	depends on LOG
	default 0
	help
	  Sets log level for I2C drivers.
	  Levels are:
	  - 0 OFF, do not write
	  - 1 ERROR, only write LOG_ERR
	  - 2 WARNING, write LOG_WRN in addition to previous level
	  - 3 INFO, write LOG_INF in addition to previous levels
	  - 4 DEBUG, write LOG_DBG in addition to previous levels

source "drivers/i2c/slave/Kconfig.eeprom"

endif # I2C_SLAVE