378d6b137a
Same deal as in commit eddd98f811
("kconfig: Replace some single-symbol
'if's with 'depends on'"), for the remaining cases outside defconfig
files. See that commit for an explanation.
Will do the defconfigs separately in case there are any complaints
there.
Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
19 lines
388 B
Plaintext
19 lines
388 B
Plaintext
# Copyright (c) 2018 Intel Corporation
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# This option signifies whether DesignWare I2C compatible HW is
|
|
# available
|
|
config HAS_I2C_DW
|
|
bool
|
|
|
|
menuconfig I2C_DW
|
|
bool "Design Ware I2C support"
|
|
depends on HAS_I2C_DW
|
|
help
|
|
Enable the Design Ware I2C driver
|
|
|
|
config I2C_DW_CLOCK_SPEED
|
|
int "Set the clock speed for I2C"
|
|
default 32
|
|
depends on I2C_DW
|