zephyr/drivers/i2c/Kconfig

61 lines
1.3 KiB
Plaintext

# Kconfig - I2C configuration options
#
# Copyright (c) 2015 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#
# I2C options
#
menuconfig I2C
bool
prompt "I2C Drivers"
default n
help
Enable I2C Driver Configuration
config I2C_INIT_PRIORITY
int
depends on I2C
default 60
prompt "Init priority"
help
I2C device driver initialization priority.
config I2C_STATUS_DELAY
int "Delay for controller response"
depends on I2C
default 1000
config I2C_CLOCK_SPEED
int "Set the clock speed for I2C"
default 32
depends on I2C
config I2C_DEBUG
bool "Enable I2C debug options"
default n
depends on I2C
help
This option enables the debug features for I2C connections
source "drivers/i2c/Kconfig.dw"
source "drivers/i2c/Kconfig.quark_se_ss"
source "drivers/i2c/Kconfig.qmsi"
source "drivers/i2c/Kconfig.atmel_sam3"