This emulator supports basic reads and writes with 8-bit addressing. It connects itself to any AT24 devices it finds in the device tree. The I2C emulation controller driver is used to direct I2C messages from the AT24 driver to the AT24 emulator. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
13 lines
399 B
Plaintext
13 lines
399 B
Plaintext
# Configuration options for I2C emulators
|
|
|
|
# Copyright 2020 Google LLC
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config EMUL_EEPROM_AT2X
|
|
bool "Emulate an Atmel AT24 I2C chip"
|
|
help
|
|
This is an emulator for the Atmel AT24 series of I2C-attached EEPROMs.
|
|
|
|
At present it only supports 8-bit addressing. The size of the EEPROM
|
|
is given by the 'size' property. See the binding for further details.
|