mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-12 21:44:06 +08:00
a8335c64c5
Here is an I2C slave backend driver which allows to test some uncommon functionalities of the I2C and SMBus world. Usually, you need specific devices to test e.g. SMBus Host Notify and such. With this driver you just need the slave interface of another I2C controller. This initial version has testcases for multi-master and SMBus Host Notify. Already planned but not yet implemented are SMBus Alert and messages with I2C_M_RECV_LEN. Please read the documentation for further details. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Wolfram Sang <wsa@kernel.org>
22 lines
680 B
Makefile
22 lines
680 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for the i2c core.
|
|
#
|
|
|
|
obj-$(CONFIG_I2C_BOARDINFO) += i2c-boardinfo.o
|
|
obj-$(CONFIG_I2C) += i2c-core.o
|
|
i2c-core-objs := i2c-core-base.o i2c-core-smbus.o
|
|
i2c-core-$(CONFIG_ACPI) += i2c-core-acpi.o
|
|
i2c-core-$(CONFIG_I2C_SLAVE) += i2c-core-slave.o
|
|
i2c-core-$(CONFIG_OF) += i2c-core-of.o
|
|
|
|
obj-$(CONFIG_I2C_SMBUS) += i2c-smbus.o
|
|
obj-$(CONFIG_I2C_CHARDEV) += i2c-dev.o
|
|
obj-$(CONFIG_I2C_MUX) += i2c-mux.o
|
|
obj-y += algos/ busses/ muxes/
|
|
obj-$(CONFIG_I2C_STUB) += i2c-stub.o
|
|
obj-$(CONFIG_I2C_SLAVE_EEPROM) += i2c-slave-eeprom.o
|
|
obj-$(CONFIG_I2C_SLAVE_TESTUNIT) += i2c-slave-testunit.o
|
|
|
|
ccflags-$(CONFIG_I2C_DEBUG_CORE) := -DDEBUG
|