soc/amd/common/i2c: Add i2c bus ops handler
Without this, calls to i2c_link() and runtime i2c detection fails on AMD common platform boards. Test: Runtime i2c detection of correct touchpad model succeeds on google/zork. Change-Id: I238b680b2afb4b9d3e5ac75fe9e630b2adc74860 Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/65232 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
This commit is contained in:
parent
323ca33b20
commit
f8c8a8dc55
|
@ -126,6 +126,7 @@ struct device_operations soc_amd_i2c_mmio_ops = {
|
|||
.scan_bus = scan_smbus,
|
||||
.acpi_name = i2c_acpi_name,
|
||||
.acpi_fill_ssdt = dw_i2c_acpi_fill_ssdt,
|
||||
.ops_i2c_bus = &dw_i2c_bus_ops,
|
||||
};
|
||||
|
||||
static void drive_scl(const struct soc_i2c_peripheral_reset_info *reset_info, int val)
|
||||
|
|
Loading…
Reference in New Issue