zephyr/drivers/i2c/Kconfig.i2c_emul
Simon Glass 49f2167974 emul: i2c: Add support for I2C emulators
Add an emulation controller which routes I2C traffic to attached
emulators depending on the I2C address selected. This allows drivers
for I2C peripherals to be tested on systems that don't have that
peripheral attached, with the emulator handling the I2C traffic.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2020-09-01 14:30:46 -04:00

11 lines
357 B
Plaintext

# Copyright 2020 Google LLC
# SPDX-License-Identifier: Apache-2.0
config I2C_EMUL
bool "I2C emulator"
help
Enable the I2C emulator driver. This is a fake driver in that it
does not talk to real hardware. Instead it talks to emulation
drivers that pretend to be devices on the emulated I2C bus. It is
used for testing drivers for I2C devices.