From patchwork Tue Jan 10 08:29:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 640834 Delivered-To: patch@linaro.org Received: by 2002:a17:522:f3c4:b0:4b4:3859:abed with SMTP id in4csp2591692pvb; Tue, 10 Jan 2023 01:12:49 -0800 (PST) X-Google-Smtp-Source: AMrXdXvCN5gKFrCLAcro8gte8RVylcL348cJ7Mb3jJsMK9mnq+3UTn9EHg05woGT70k30bxbwB9F X-Received: by 2002:ac8:7c92:0:b0:3a7:eb36:5cb1 with SMTP id y18-20020ac87c92000000b003a7eb365cb1mr90247397qtv.36.1673341969402; Tue, 10 Jan 2023 01:12:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673341969; cv=none; d=google.com; s=arc-20160816; b=LTZ+UZZ7v5WBB30DBzBc9B75S7eAkOG9qZOgI0tQbnoFxixSKwWE6znfxOikVN4Lv3 3bPneTUZd4LbKy3OKE7oPVWy42lkM+PYIZzWVT0ujQ3+vW7/2ARV3GNLzgq7uJNswyaU JQvXDvrR56vydWUnUDHIkbUsD70QIJvTp7vOH70+FRtQB73mr9mBpBWFXIPI9bkDUoej MTvS0FNBNkkjQyP8RJTi+/EyGLBZu50ic7eymzxr59hBxH6DqBWkktTL/WfXpn3WE6M4 y+ujX5ZiF+GN9lF52Xltwgnjx0/ZNazQo3h25RI1QDe3OKoLlmyVEChln/63ee1bw/6g 9e4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=DCXUIVf0arT8UMGlNT6Zng3MtIHNoVWqjWtp/UuBCL0=; b=fXO+rrpGkotj8sKEaH/Q62H+9NCmRYzieUk2gOARC7/ZFqhIuEHTdix/rTR2yBU8zH ZDMllvj7C8aY/TF1Fc9W3G9bsVIVm+0zt5eRWBSujAspDO7HjDR0s9lM0M1/iqdiuox9 Ch9bpZ0P+6QMBnO/a+8NK/mhZC/N8EzI/flAsdCuRzPX7gyhLTmMquYnum7YuuLIoaS3 /PqGd4+1hYup9uYf7aaXd40qtqn+jIw4eCToau2+iGDGD9XMaDgXEX6ftr6HYSrlra7r R+q0LUGHdyPNFkGdd47HBwbIBDs3wf4OZixrT1in3lFBUTtt+NymWZrh9z9ndoWtueQG l4eg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=j8JFfYAm; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id h11-20020ac8744b000000b003a697bc7955si5957074qtr.168.2023.01.10.01.12.49 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Jan 2023 01:12:49 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=j8JFfYAm; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pFA0p-0006Zi-In; Tue, 10 Jan 2023 03:29:39 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pFA0o-0006Yd-9K for qemu-devel@nongnu.org; Tue, 10 Jan 2023 03:29:38 -0500 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pFA0m-0006HA-2f for qemu-devel@nongnu.org; Tue, 10 Jan 2023 03:29:38 -0500 Received: by mail-wm1-x330.google.com with SMTP id i17-20020a05600c355100b003d99434b1cfso9206966wmq.1 for ; Tue, 10 Jan 2023 00:29:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=DCXUIVf0arT8UMGlNT6Zng3MtIHNoVWqjWtp/UuBCL0=; b=j8JFfYAmTXTrpMWr/Kpfa9NOMbDkhTFmeQ5azgJZOlDlz33pRip1TmSB2TEygo4ieJ Hr8bclA6o+K6+r+ug2T8GukOz9OI9XPB3OWKfXRIPL5rrOaA6px13eV4gegTPkoFkozs 8RahUDLn4savrLAgjTinCxgeC7BA/nRJS+7MdInUz2nYXyFGIIMKwGzpsb+L0lmtbhuk /8Gx/dJh65ywg5P7WPJdWFGwgK+049L3TSVGFKcaBRvBFEQHpAUA7YNJdjyuDrbvrmP8 smz85pPiQYZvxC1ymngHtW1xMVvPT6Sx8AfsdNWnrDIuq/6//WrZr8nXEcIrfcuQvX0k hi3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=DCXUIVf0arT8UMGlNT6Zng3MtIHNoVWqjWtp/UuBCL0=; b=P8Pmhk8lHQYaMOd5ouNWr+xl+ANmyDXxQ0g9CnDVBjlplcUUjRHf9DQScK8Mae9cLE BxHx3lr//pEEn763rcNLjkaFS2Rkz9HLf3j8H4sS6MZlXe39VfmzhpaxTe4WIYyThQW9 z1WUFXusGElyxwxS+1JEentPW0B5mPCva5xtm9Zfm1Qunnfwq8vDW+wqaJR3UoaZ3ZGp 96eoueMgU0ubCOohpzCcgqGciyDeWmabnMCx9L3YEIIbGxdzTJJI/3xz/8YF798R+F5L NA8h+5MplBCILHAapy1wn3REDd60mEU+cpTkxorp1mOyJGzqge9DZZYLI1CvaF2uhQF8 YEoQ== X-Gm-Message-State: AFqh2kqn3Li19Yo3S+NumizpP3KEMFEYsoqRa5i29lOlFQwn4UtUY75J pqd/MB74ITLtM0ki2G+VvPthIxI442XfYtOp X-Received: by 2002:a05:600c:3ca8:b0:3d9:e8b3:57fa with SMTP id bg40-20020a05600c3ca800b003d9e8b357famr7013471wmb.30.1673339374260; Tue, 10 Jan 2023 00:29:34 -0800 (PST) Received: from localhost.localdomain ([81.0.6.76]) by smtp.gmail.com with ESMTPSA id l27-20020a05600c2cdb00b003a84375d0d1sm20048713wmc.44.2023.01.10.00.29.33 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 10 Jan 2023 00:29:33 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Thomas Huth , Jan Kiszka , qemu-trivial@nongnu.org, qemu-arm@nongnu.org, Peter Maydell , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= Subject: [PATCH v2 0/5] hw/i2c/bitbang_i2c: Housekeeping Date: Tue, 10 Jan 2023 09:29:27 +0100 Message-Id: <20230110082932.24386-1-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::330; envelope-from=philmd@linaro.org; helo=mail-wm1-x330.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Series fully reviewed. Since v1: - Fixed overwritten RECEIVING_BIT7 entry (Richard) - Picked R-b tags - Remove unused dummy MemoryRegion - Convert DPRINTF() to using trace events (series used as base for follow-up, better if merged via ARM tree) Philippe Mathieu-Daudé (5): hw/i2c/bitbang_i2c: Define TYPE_GPIO_I2C in public header hw/i2c/bitbang_i2c: Remove unused dummy MemoryRegion hw/i2c/bitbang_i2c: Change state calling bitbang_i2c_set_state() helper hw/i2c/bitbang_i2c: Trace state changes hw/i2c/bitbang_i2c: Convert DPRINTF() to trace events hw/arm/musicpal.c | 3 +- hw/i2c/bitbang_i2c.c | 80 ++++++++++++++++++++++-------------- hw/i2c/trace-events | 7 ++++ include/hw/i2c/bitbang_i2c.h | 2 + 4 files changed, 61 insertions(+), 31 deletions(-)