qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v3 0/2] i2c: Add AT24Cxx EEPROM model
@ 2013-04-26  9:19 Jan Kiszka
  2013-04-26  9:19 ` [Qemu-devel] [PATCH v3 1/2] i2c: Introduce device address mask Jan Kiszka
  2013-04-26  9:19 ` [Qemu-devel] [PATCH v3 2/2] Add AT24Cxx I2C EEPROM device model Jan Kiszka
  0 siblings, 2 replies; 5+ messages in thread
From: Jan Kiszka @ 2013-04-26  9:19 UTC (permalink / raw)
  To: qemu-devel, Anthony Liguori; +Cc: Peter Crosthwaite, Andreas Faerber

Changes in v3:
 - rebased over current master
 - addressed review comments by Andreas Färber and Peter Crosthwaite
    - better QOM compliance
    - table-driven device parametrization

I also briefly looked into a libqos-based test case, but the omap
wrapper just gives me

  libi2c-omap.c:79:omap_i2c_send: assertion failed: ((data & OMAP_I2C_CON_STP) != 0)

when sending an address word to the EEPROM.

Jan Kiszka (2):
  i2c: Introduce device address mask
  Add AT24Cxx I2C EEPROM device model

 hw/arm/pxa2xx.c        |    3 +-
 hw/arm/tosa.c          |    2 +-
 hw/arm/z2.c            |    2 +-
 hw/audio/wm8750.c      |    2 +-
 hw/display/ssd0303.c   |    2 +-
 hw/gpio/max7310.c      |    2 +-
 hw/i2c/core.c          |   14 ++-
 hw/i2c/smbus.c         |    2 +-
 hw/input/lm832x.c      |    2 +-
 hw/misc/tmp105.c       |    2 +-
 hw/nvram/Makefile.objs |    2 +-
 hw/nvram/at24.c        |  347 ++++++++++++++++++++++++++++++++++++++++++++++++
 hw/timer/ds1338.c      |    2 +-
 hw/timer/twl92230.c    |    2 +-
 include/hw/i2c/i2c.h   |    4 +-
 15 files changed, 373 insertions(+), 17 deletions(-)
 create mode 100644 hw/nvram/at24.c

-- 
1.7.3.4

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

end of thread, other threads:[~2013-04-26 12:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-26  9:19 [Qemu-devel] [PATCH v3 0/2] i2c: Add AT24Cxx EEPROM model Jan Kiszka
2013-04-26  9:19 ` [Qemu-devel] [PATCH v3 1/2] i2c: Introduce device address mask Jan Kiszka
2013-04-26  9:19 ` [Qemu-devel] [PATCH v3 2/2] Add AT24Cxx I2C EEPROM device model Jan Kiszka
2013-04-26 12:16   ` Peter Crosthwaite
2013-04-26 12:28     ` Jan Kiszka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).