2018-02-28 18:27:46 +08:00
|
|
|
# Copyright (c) 2018 Intel Corporation
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2018-10-19 20:05:26 +08:00
|
|
|
# This option signifies whether DesignWare I2C compatible HW is
|
|
|
|
# available
|
|
|
|
config HAS_I2C_DW
|
|
|
|
bool
|
|
|
|
|
2018-02-28 18:27:46 +08:00
|
|
|
menuconfig I2C_DW
|
|
|
|
bool "Design Ware I2C support"
|
2018-10-19 20:05:26 +08:00
|
|
|
depends on HAS_I2C_DW
|
2018-02-28 18:27:46 +08:00
|
|
|
help
|
2018-10-19 20:05:26 +08:00
|
|
|
Enable the Design Ware I2C driver
|
2018-02-28 18:27:46 +08:00
|
|
|
|
|
|
|
config I2C_DW_CLOCK_SPEED
|
|
|
|
int "Set the clock speed for I2C"
|
|
|
|
default 32
|
2020-02-10 05:26:07 +08:00
|
|
|
depends on I2C_DW
|