summaryrefslogtreecommitdiff
path: root/tests/mock
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2022-03-28 22:35:42 -0500
committerPaul Fagerburg <pfagerburg@chromium.org>2022-05-31 13:44:02 +0000
commitc636142b025f3026d0ff4dcd6ed4a369b3b93f3d (patch)
treeaeb74aea6e7d44a7fbe7e83b250f6bc657763ab0 /tests/mock
parentee849ba62574ac52e04d80f774a374d9b7558f67 (diff)
drivers/i2c/generic: Add support for i2c device detection
Add 'detect' flag which can be attached to devices which may or may not be present at runtime, and for which coreboot should probe the i2c bus to confirm device presence prior to adding an entry for it in the SSDT. This is useful for boards which may utilize touchpads/touchscreens from multiple vendors, so that only the device(s) present are added to the SSDT. This relieves the burden from the OS to detect/probe if a device is actually present and allows the OS to trust the ACPI _STA value. Change-Id: I1a4169ed6416d544773a37d29cdcc154d3c28519 Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/63211 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin L Roth <gaumless@tutanota.com> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'tests/mock')
0 files changed, 0 insertions, 0 deletions