hw/i2c-ddc.c: Implement DDC I2C slave
commit78c71af8049c40657b646d9dd722867fa15c0f1b
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 14 Jun 2016 14:59:15 +0000 (14 15:59 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 14 Jun 2016 14:59:15 +0000 (14 15:59 +0100)
treea42d18bdf609bca00ad69e3837fc4578ea6706fe
parente27ed1bdd33402c9b5187bc0b30f8fd36b9e5202
hw/i2c-ddc.c: Implement DDC I2C slave

Implement an I2C slave which implements DDC and returns the
EDID data for an attached monitor.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
Tested-by: Hyun Kwon <hyun.kwon@xilinx.com>
Signed-off-by: KONRAD Frederic <fred.konrad@greensocs.com>
Message-id: 1465833014-21982-7-git-send-email-fred.konrad@greensocs.com

  - Rebased on the current master.
  - Modified for QOM.

Signed-off-by: KONRAD Frederic <fred.konrad@greensocs.com>
Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
Tested-By: Hyun Kwon <hyun.kwon@xilinx.com>
[PMM: actually wire up the vmstate to dc->vmsd]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
default-configs/aarch64-softmmu.mak
hw/i2c/Makefile.objs
hw/i2c/i2c-ddc.c [new file with mode: 0644]
include/hw/i2c/i2c-ddc.h [new file with mode: 0644]