From patchwork Tue Feb 27 10:48:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 129764 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp1246955lja; Tue, 27 Feb 2018 02:53:40 -0800 (PST) X-Google-Smtp-Source: AH8x227tBlhI7QM5EqwCzXsSxB2Ntz7KrVmOlYKwfRqkdEhNKa7GzydWzMfMpU8RsYr9q6/mnEk8 X-Received: by 10.13.218.66 with SMTP id c63mr9074635ywe.479.1519728820157; Tue, 27 Feb 2018 02:53:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519728820; cv=none; d=google.com; s=arc-20160816; b=kKJNaNpqB+eaQ0x9wBJtZsbwEiWKdpapDgMqrTA3khgdsSKQPsNv5T80IYiKayeqrA 1fsX0cB5/zdhztpdx/pTddtqQqwxPneYNaMgiXIG/j0B90eNAMJQagOyniKce3bu9j9D VgBwZ/4n3MViMGtiyQpGT3rpE/nbNCBuF4QhwZB/QGYwRsNKqlMC9ZNAeG7h6x2vy/D+ m0yU1ZuxuJSn7ZqW8etggM1seO4ZoWqJKuRG8LR9TX7bcV01H1/WoAV10ieGk5KJTTvw hfhvmpqLjKNVUMtMUOUvw/XRo7acGM1u3oEOLdYIehygYMlpfaxPz0rnZgCZzH83Y+Y0 p/Kg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:message-id:date:to:from :dkim-signature:arc-authentication-results; bh=TxFe7aQlQyN1Yd30zoh+CU5sYfNhdHMK0tgWjRr0TmE=; b=xJ9gDKZDvr91s5VP2fLg9+mpd2yWb06qfihqP1edepJmaCbbmkmeNNOwUpW7I3Xf+L JVxsclzidQ3E5fcCQD/6E0vpjNQEqQm1BKgJzJz3IgWo2kyetdlJuASqqW0z05bPgyGA rzzMRqRmskjD6zhoOeR9sOWCT18XEki99CRxSXAwT5NZeV3P0cK2psJtGOdDT6A3Mhux cMBc38vQ2SDe1730DNHyPaNdG5YRFRl8Li2YsQamLi753poU0CacQoOgTv4eU9j6KXps X+FbcI9cF2hiXAVVpjgsItTmCU7+78pVP0anz7mmJd+oQQtoGQDMYUvJPmWh/FjvAfwA lREQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=kXY/LmqA; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id q3si1887487ywi.321.2018.02.27.02.53.39 for (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 27 Feb 2018 02:53:40 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=kXY/LmqA; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:36182 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eqct9-0000ak-JU for patch@linaro.org; Tue, 27 Feb 2018 05:53:39 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54663) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eqcoq-0006JK-Uk for qemu-devel@nongnu.org; Tue, 27 Feb 2018 05:49:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eqcon-00049H-Qn for qemu-devel@nongnu.org; Tue, 27 Feb 2018 05:49:12 -0500 Received: from mail-lf0-x243.google.com ([2a00:1450:4010:c07::243]:40230) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eqcon-00048w-Il for qemu-devel@nongnu.org; Tue, 27 Feb 2018 05:49:09 -0500 Received: by mail-lf0-x243.google.com with SMTP id 37so26791613lfs.7 for ; Tue, 27 Feb 2018 02:49:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=TxFe7aQlQyN1Yd30zoh+CU5sYfNhdHMK0tgWjRr0TmE=; b=kXY/LmqAkin4AvsDkditshRigz1cD6Fe3Ca0NOiNsXsPV/QnfkIgvjNiz9vT8bSOKO jolPE2ZAJXT3VFoeHh7xDPDGDPQPEWSKHlAsLYkvyyliV5Wmm1lL4+xI//aUbNQuigfm TMYtkdlRRDVHejiUjUSJpF95SWTqKUK73IplA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=TxFe7aQlQyN1Yd30zoh+CU5sYfNhdHMK0tgWjRr0TmE=; b=kAvkXayHBySEkdI3oMBmfeeWQk9CcpRBCDLKXQCBB8Yr4bhSn6g29/SPwzE0piT2W9 kCkCUQhODX3BszbqqXD631i/tUk881OVsiboUnjcnah2GReQiFcV7KJGis1oOw+uSc92 keDqii0c2KEQ3Lsl83a8LuddoDeUHjFgCwphcyxbZfN8c+/mn1MriRa2AgjelOirDCdU 9h5Ep79N6d3fPFWkuUyuElO5yECuaBCzk7BP7HTgJyqaHa4TISjNXyTMRlsnz1oA1Jd6 usKqqblUFq49eQ7F7SvIqlBfu6R9hk4YGneU4rD+xmGS42QfHlL1Vfd/+//8w4A58fZG lvZA== X-Gm-Message-State: APf1xPCV7WbS2eX2C7Gh6bg5TY3DW4XZit/AZ5c7b3CiSPscuBpGD8+E 8x4ch4YJvHeNO/u3/OOPxwBWeaJPOzE= X-Received: by 10.25.103.20 with SMTP id b20mr9910806lfc.16.1519728547894; Tue, 27 Feb 2018 02:49:07 -0800 (PST) Received: from genomnajs.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id 74sm2484148ljq.32.2018.02.27.02.49.06 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 27 Feb 2018 02:49:07 -0800 (PST) From: Linus Walleij To: qemu-devel@nongnu.org, Peter Maydell Date: Tue, 27 Feb 2018 11:48:58 +0100 Message-Id: <20180227104903.21353-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.14.3 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4010:c07::243 Subject: [Qemu-devel] [PATCH 0/5] Versatile Express SiI9022 emulation X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Corey Minyard , Linus Walleij , qemu-arm@nongnu.org, =?utf-8?q?Philippe_M?= =?utf-8?q?athieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" This series adds proper display bridge/connector emulation for the Versatile Express, implementing a simple Silicon Image 9022 emulation spawning a DDC I2C child. After the series the Versatile Express is successfully presented the "QEMU monitor" through DDC I2C. The series includes two refactorings from Corey and a minor bug fix for the i2c-ddc so that everything is smoothly integrated. Corey Minyard (2): i2c: Fix some brace style issues i2c: Move the bus class to i2c.h Linus Walleij (3): hw/i2c-ddc: Do not fail writes hw/sii9022: Add support for Silicon Image SII9022 arm/vexpress: Add proper display connector emulation default-configs/arm-softmmu.mak | 2 + hw/arm/vexpress.c | 6 +- hw/display/Makefile.objs | 1 + hw/display/sii9022.c | 188 ++++++++++++++++++++++++++++++++++++++++ hw/display/trace-events | 5 ++ hw/i2c/core.c | 18 ---- hw/i2c/i2c-ddc.c | 4 +- include/hw/i2c/i2c.h | 23 ++++- 8 files changed, 222 insertions(+), 25 deletions(-) create mode 100644 hw/display/sii9022.c -- 2.14.3