776fbf2d26
With some additional macro-magic we can remove the CMake-based header file template feature, and instead take advantage of the usual DT_INST_FOREACH_STATUS_OKAY() macro. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
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"
|
|
depends on I2C_DW
|
|
default 32
|