Add a config option to the generic I2C device driver to indicate to the OS that this device should be probed before being added.
This can be used to provide ACPI device instantiations to devices that may not actually exist on the board. For example, if multiple trackpad
vendors are supported on the same board they can both be described in ACPI and the OS will probe the address and load the driver only if the device responds to the probe at that address.
BUG=chrome-os-partner:57686
Change-Id: I22cffb4b15f25d97dfd37dc58bca315f57bafc59
fbf2c79 drivers/i2c/generic: Add config for marking device as probed
src/drivers/i2c/generic/chip.h | 9 +++++++++
src/drivers/i2c/generic/generic.c | 7 +++++++
2 files changed, 16 insertions(+)
Upstream: review.coreboot.org