All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] hw/i2c/dw: Add DesignWare I2C controller emulator
@ 2026-01-06 13:12 AlanoSong
  2026-01-06 13:12 ` [PATCH 1/2] " AlanoSong
  2026-01-06 13:12 ` [PATCH 2/2] hw/arm/virt: Add DesignWare I2C controller AlanoSong
  0 siblings, 2 replies; 11+ messages in thread
From: AlanoSong @ 2026-01-06 13:12 UTC (permalink / raw)
  To: qemu-devel, qemu-arm
  Cc: cminyard, peter.maydell, philmd, ani, pbonzini, shannon.zhaosl

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



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2026-01-07  9:48 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-06 13:12 [PATCH 0/2] hw/i2c/dw: Add DesignWare I2C controller emulator AlanoSong
2026-01-06 13:12 ` [PATCH 1/2] " AlanoSong
2026-01-06 15:52   ` Jonathan Cameron via
2026-01-06 15:52     ` Jonathan Cameron via
2026-01-07  1:50     ` Alano Song
2026-01-06 13:12 ` [PATCH 2/2] hw/arm/virt: Add DesignWare I2C controller AlanoSong
2026-01-06 15:45   ` Jonathan Cameron via
2026-01-06 15:45     ` Jonathan Cameron via
2026-01-07  7:07     ` Alano Song
2026-01-07  9:47       ` Jonathan Cameron via
2026-01-07  9:47         ` Jonathan Cameron via

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.