2018-02-28 18:27:46 +08:00
|
|
|
#
|
|
|
|
# Copyright (c) 2018 Intel Corporation
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
|
|
|
|
|
|
|
menuconfig I2C_QMSI
|
|
|
|
bool "QMSI I2C driver"
|
|
|
|
depends on QMSI
|
2018-09-27 01:40:29 +08:00
|
|
|
select HAS_DTS_I2C
|
2018-02-28 18:27:46 +08:00
|
|
|
help
|
|
|
|
This option enable the QMSI I2C driver.
|
|
|
|
|
|
|
|
This driver is simply a shim driver based on the I2C driver
|
|
|
|
provided by the QMSI BSP.
|
|
|
|
|
|
|
|
if I2C_QMSI
|
|
|
|
|
|
|
|
config I2C_SDA_SETUP
|
|
|
|
int
|
|
|
|
help
|
|
|
|
The delay time of clock rising edge relative to i2c data signal
|
|
|
|
change. The unit is i2c module base clock.
|
|
|
|
|
|
|
|
config I2C_SDA_TX_HOLD
|
|
|
|
int
|
|
|
|
help
|
|
|
|
The hold time on the data signal after a negative edge of i2c clock
|
|
|
|
while i2c acts as transmitter. The unit is i2c module base clock.
|
|
|
|
|
|
|
|
config I2C_SDA_RX_HOLD
|
|
|
|
int
|
|
|
|
help
|
|
|
|
The hold time on the data signal after a negative edge of i2c clock
|
|
|
|
while i2c acts as receiver. The unit is i2c module base clock.
|
|
|
|
|
|
|
|
endif # I2C_QMSI
|
|
|
|
|
|
|
|
|
|
|
|
menuconfig I2C_QMSI_SS
|
|
|
|
bool "QMSI I2C driver for the Sensor Subsystem"
|
|
|
|
depends on QMSI
|
2018-09-27 01:40:29 +08:00
|
|
|
select HAS_DTS_I2C
|
2018-02-28 18:27:46 +08:00
|
|
|
help
|
|
|
|
This option enable the Sensor QMSI I2C driver.
|
|
|
|
|
|
|
|
This driver is simply a shim driver based on the I2C driver
|
|
|
|
provided by the QMSI BSP.
|
|
|
|
|
|
|
|
if I2C_QMSI_SS
|
|
|
|
|
|
|
|
config I2C_SS_0
|
|
|
|
bool "Enable I2C_SS_0"
|
|
|
|
|
|
|
|
config I2C_SS_1
|
|
|
|
bool "Enable I2C SS Port 1"
|
|
|
|
|
|
|
|
config I2C_SS_SDA_HOLD
|
|
|
|
int
|
|
|
|
help
|
|
|
|
The hold time on the data signal after a negative edge of i2c clock.
|
|
|
|
The unit is i2c module base clock.
|
|
|
|
|
|
|
|
config I2C_SS_SDA_SETUP
|
|
|
|
int
|
|
|
|
help
|
|
|
|
The delay time of clock rising edge relative to i2c data signal
|
|
|
|
change. The unit is i2c module base clock.
|
|
|
|
|
|
|
|
endif # I2C_QMSI_SS
|