105 lines
2.6 KiB
Plaintext
105 lines
2.6 KiB
Plaintext
#
|
|
# Copyright (c) 2018 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
menuconfig I2C_QMSI
|
|
bool "QMSI I2C driver"
|
|
depends on QMSI
|
|
default n
|
|
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
|
|
default n
|
|
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"
|
|
default n
|
|
|
|
config I2C_SS_0_NAME
|
|
string "Select a name for finding the device"
|
|
depends on I2C_SS_0
|
|
default "I2C_SS_0"
|
|
|
|
config I2C_SS_0_DEFAULT_CFG
|
|
hex "I2C default configuration"
|
|
depends on I2C_SS_0
|
|
default 0x0
|
|
help
|
|
Allows the I2C port to be brought up with a default configuration.
|
|
This is useful to set if other drivers depend upon using the I2C bus
|
|
before the application has a chance to custom configure the port.
|
|
Setting this value does not prohibit the application from customizing
|
|
the values later. Refer to the I2C datasheet for proper values.
|
|
|
|
config I2C_SS_1
|
|
bool "Enable I2C SS Port 1"
|
|
default n
|
|
|
|
config I2C_SS_1_NAME
|
|
string "Select a name for finding the device"
|
|
default "I2C_SS_1"
|
|
depends on I2C_SS_1
|
|
|
|
config I2C_SS_1_DEFAULT_CFG
|
|
hex "I2C SS default configuration"
|
|
depends on I2C_SS_1
|
|
default 0x0
|
|
help
|
|
Allows the I2C port to be brought up with a default configuration.
|
|
This is useful to set if other drivers depend upon using the I2C bus
|
|
before the application has a chance to custom configure the port.
|
|
Setting this value does not prohibit the application from customizing
|
|
the values later. Refer to the I2C datasheet for proper values.
|
|
|
|
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
|