2015-08-27 05:56:43 +08:00
|
|
|
# Kconfig - I2C configuration options
|
|
|
|
|
|
|
|
#
|
|
|
|
# Copyright (c) 2015 Intel Corporation
|
|
|
|
#
|
2015-10-07 00:00:37 +08:00
|
|
|
# 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
|
2015-08-27 05:56:43 +08:00
|
|
|
#
|
2015-10-07 00:00:37 +08:00
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
2015-08-27 05:56:43 +08:00
|
|
|
#
|
2015-10-07 00:00:37 +08:00
|
|
|
# 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.
|
2015-08-27 05:56:43 +08:00
|
|
|
#
|
|
|
|
|
|
|
|
#
|
|
|
|
# I2C options
|
|
|
|
#
|
2015-09-20 11:20:52 +08:00
|
|
|
menuconfig I2C
|
|
|
|
bool
|
|
|
|
prompt "I2C Drivers"
|
2015-08-27 05:56:43 +08:00
|
|
|
default n
|
2015-09-20 11:20:52 +08:00
|
|
|
help
|
|
|
|
Enable I2C Driver Configuration
|
2015-08-27 05:56:43 +08:00
|
|
|
|
2015-10-27 03:56:02 +08:00
|
|
|
config I2C_INIT_PRIORITY
|
|
|
|
int
|
|
|
|
depends on I2C
|
2015-12-19 21:23:50 +08:00
|
|
|
default 60
|
2015-10-27 03:56:02 +08:00
|
|
|
prompt "Init priority"
|
|
|
|
help
|
|
|
|
I2C device driver initialization priority.
|
|
|
|
|
2016-01-15 00:46:07 +08:00
|
|
|
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
|
|
|
|
|
2016-03-18 02:05:05 +08:00
|
|
|
source "drivers/i2c/Kconfig.dw"
|
2016-01-29 01:16:53 +08:00
|
|
|
|
2016-03-18 02:05:05 +08:00
|
|
|
source "drivers/i2c/Kconfig.quark_se_ss"
|
2016-01-29 01:16:53 +08:00
|
|
|
|
2016-03-18 02:05:05 +08:00
|
|
|
source "drivers/i2c/Kconfig.qmsi"
|
2016-02-04 05:28:31 +08:00
|
|
|
|
|
|
|
source "drivers/i2c/Kconfig.atmel_sam3"
|