qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH V3 0/4] Exynos: i2c, gpio and touchscreen support fo


From: Igor Mitsyanko
Subject: [Qemu-devel] [PATCH V3 0/4] Exynos: i2c, gpio and touchscreen support for NURI board
Date: Tue, 24 Apr 2012 22:36:15 +0400

This patchset adds Exynos4210 i2c and GPIO implementation along with Atmel MXT 
touchscreen
which is used for NURI board emulation.

v2->v3
    - static TypeInfos are made const.
    - added spaces after "do {".
    - "All rights reserved" sentence is droped from license.
    - names are fixed according to conventions.

 PATCH1:
    - introduced scl_free member of exynos4210 i2c state. As it turned out, 
real hardware
      generates level-triggered interrupt while scl line is kept low, scl_free 
member models
      this behaviour. This fixes a bug when i2c generates receiving of extra 
data byte.
    - exynos4210 i2c slave device droped.
    - added missing i2caddr in vmstate.
    - timers are droped.
    - debug array containing i2c registers names replaced with a function.
 NEW PATCH2:
    introduce VMSTATE_STRUCT_ARRAY_POINTER_TEST_V macro in vmstate.h, it'll be 
used later in PATCH3
 PATCH3(prev PATCH2):
    - each GPIO part now has its own init, realize, read/write and reset 
functions.
    - if portgroup control register value changes, out_cb is called only if pin 
is configured as output.
    - num_of_ports and num_of_portints members are droped.
 PATCH4(prev PATCH3):
    - use "s" instead of cpu.
    - enums are writen in one column now.
    - use ARRAY_SIZE for array sizes.
    - mxt bjects registers are now saved in vmstate.
    - fix bug when touchscreen sent an extra zero byte.
    - coordinate offsets are droped, scale coef is of a "double" type now. This 
increases coordinate
      conversion precision a lot.
    - coordinate threshold added.

v1->v2
    - QOM-related patches are droped (they have already been accepted);
    - Added indendations for second and subsequent lines of multiple-line macro 
definitions;
    - Weird big spaces after .field members of VMStateDescriptions are replaced 
with single space;
    - maxtouch.c is not ARM target specific from now on.

Igor Mitsyanko (4):
  exynos4210: add Exynos4210 i2c implementation
  vmstate.h: introduce VMSTATE_STRUCT_ARRAY_POINTER_TEST_V
  exynos4210: add exynos4210 GPIO implementation
  hw: add Atmel maxtouch touchscreen implementation

 Makefile.objs                   |    1 +
 Makefile.target                 |    1 +
 default-configs/arm-softmmu.mak |    1 +
 hw/exynos4210.c                 |   74 ++
 hw/exynos4210.h                 |   67 ++
 hw/exynos4210_gpio.c            | 1407 +++++++++++++++++++++++++++++++++++++++
 hw/exynos4210_i2c.c             |  334 ++++++++++
 hw/exynos4_boards.c             |   13 +-
 hw/maxtouch.c                   | 1114 +++++++++++++++++++++++++++++++
 vmstate.h                       |   14 +
 10 files changed, 3022 insertions(+), 4 deletions(-)
 create mode 100644 hw/exynos4210_gpio.c
 create mode 100644 hw/exynos4210_i2c.c
 create mode 100644 hw/maxtouch.c

-- 
1.7.4.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]