Hi all,

This series try to add DesignWare I2C controller
according to DesignWare I2C databook v2.01a.

Cause DesignWare I2C controller is commonly used
on arm soc chip, I add it onto arm virt board,
and also an at24c eeprom for r/w operation.

I also add the I2C controller and at24c eeprom into
the acpi table of arm virt board.

The code above has been confirmed with i2c-tools under
linux v6.18 kernel driver.

Thanks for your review!
Alano Song.

Alano Song (2):
  hw/i2c/dw: Add DesignWare I2C controller emulator
  hw/arm/virt: Add DesignWare I2C controller

 hw/arm/Kconfig           |   1 +
 hw/arm/virt-acpi-build.c |  32 +++
 hw/arm/virt.c            |  38 ++-
 hw/i2c/Kconfig           |   4 +
 hw/i2c/dw_i2c.c          | 517 +++++++++++++++++++++++++++++++++++++++
 hw/i2c/meson.build       |   1 +
 hw/i2c/trace-events      |   4 +
 include/hw/arm/virt.h    |   1 +
 include/hw/i2c/dw_i2c.h  | 151 ++++++++++++
 9 files changed, 748 insertions(+), 1 deletion(-)
 create mode 100644 hw/i2c/dw_i2c.c
 create mode 100644 include/hw/i2c/dw_i2c.h

-- 
2.43.0


Reply via email to