From patchwork Mon Jan 9 08:41:16 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: 640581 Delivered-To: patch@linaro.org Received: by 2002:a17:522:f3c4:b0:4b4:3859:abed with SMTP id in4csp2025443pvb; Mon, 9 Jan 2023 00:41:42 -0800 (PST) X-Google-Smtp-Source: AMrXdXvRE8bfzuFQp+FvvdMrZmrMy6RGYurzOm720y6lNIcNK6II5xpriYMy5CRfKZyv685sPGpJ X-Received: by 2002:ac8:5142:0:b0:3a7:eb36:5cb2 with SMTP id h2-20020ac85142000000b003a7eb365cb2mr80468995qtn.29.1673253702150; Mon, 09 Jan 2023 00:41:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673253702; cv=none; d=google.com; s=arc-20160816; b=SuoAicEeAV56bm1nAMfSipu3YHLZXn8d/xoFWfgV7uViIh+DM0r9i8+6d/H5Ipe6Ad KyP12kof1bT0WTMPllhSdxMC8pGMldAIVoBbouamjaK2U1tVM5kEYB/FAUEUB1HGUuEB U7A3Crxq4GX/aTnIyNUL3GW1EufIwQn69e2h+Mfh1bfcDGjdObNQ1JiRmO2TevKMTBV/ q/t8t6TSz3tjWNuQDg+MB/TVJbTfWI9SjvBRytMCs/lxZBcjgfNyvQW9XJ1J3yFx3JTP UlnCZqgmx++AxA9HQxXFdg5XiNSgOryUc6A5JexBGrB8U47IDTucoALN+pfYlUiK/57M RCJQ== 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=B7l2Ne5QgaT9qY5iZJA1B6ys6kOA6AyFQ52dwLgtzLg=; b=snJSVjkCois/cRUyW23Lnatug4raLWkjinZW2PIw1YaGkjXbGqi8HvKxcNt6Jhbd2U U9nQQNoSJo5oH17YRpjGcLw0BebaFm1EtAfINpbJy6qBoyWTl6ly1TNPUD5Gfy+s3YJK 0Q8+DOS0r+TbW95FchxFZXgcRtwHlNbOXl7Nr8jbQSKrVH6yvvAUILcgpnoG96j4AYOf PWOKfEaSrckRtKDATOo8EI5LOu4N7XeM49jNNs7YPm5w5AKY2Eb317zSvJdFfnanxqoY Hv/HSH5UpZxrnCkVRCkBv5eQwRyS2LPXZY5KnGX43oGi2knu1YV8spi2vqmwr4YZa4xg OC1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="iP864h/Q"; 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 h8-20020ac87768000000b0039ce973b0ebsi4125743qtu.486.2023.01.09.00.41.42 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 09 Jan 2023 00:41:42 -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="iP864h/Q"; 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 1pEnij-0005eS-Kg; Mon, 09 Jan 2023 03:41:29 -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 1pEnih-0005dm-Uw for qemu-devel@nongnu.org; Mon, 09 Jan 2023 03:41:28 -0500 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pEnif-0001eP-7k for qemu-devel@nongnu.org; Mon, 09 Jan 2023 03:41:27 -0500 Received: by mail-wm1-x32c.google.com with SMTP id bg13-20020a05600c3c8d00b003d9712b29d2so8432258wmb.2 for ; Mon, 09 Jan 2023 00:41:24 -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=B7l2Ne5QgaT9qY5iZJA1B6ys6kOA6AyFQ52dwLgtzLg=; b=iP864h/QCRmS1WRmtx7jLD+JiCBRkWvl75Ju0RXaqK5laEwzIMVwwHk2oIIBfoyhL0 1xkQc7YSuV1s7t7tZpJWgdTYd75UO3+sa41QzGxzagXmA4nHw1keU3E2BXB8We4PDWKB xveVYQfxlJSCxi55YRq6rbUkmd971XkP1MFskoTZvi8VjWjxgJVOUG2XS8yrETUZQjjW c2BooFMIw7JcnCWi606teSzL9LgJLVEXWTznekzfeszBYxYTUlvoLcL30/ObNGDv39v6 XfmHdcB+Ze0eyAdBBFNBBVXjTqNEraqKPv90ici+1vHp+bOhe6vj48G3/MmRqHgGuTTm ST5g== 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=B7l2Ne5QgaT9qY5iZJA1B6ys6kOA6AyFQ52dwLgtzLg=; b=E6LJtEIH6XbOW0hRzOFw8l8Zib3jGAAriSm2mbyeZO1ESpVwrxPjbwni8GPJdc/J0g mNkGhKoAoCA7q2PjEN4jArw6K1qgFHM/cWyaNnxnVtEIXST+5L2iBuCZwdIsHxek4kYR IB4jqEczDIhUNHDz18TAzAk33tgJEns3Tdxt5Gqgpl1qvf6jqYXGiD08Dpx4u+koYDsP hBvwcXQPffbjQQrTcjXnHssiGJtNkIlQIcbqvPwSTu0Jo/GmZkZELzkonxGTMtlH4J4S pocjXfR2VbiEG421LtPGrdl42MXuIk6nEnzF6JiYtM+oW2FPhWCbaGlYIwTBo2iu+67G 7Fbw== X-Gm-Message-State: AFqh2kpAfc/2ay4UsyZd7soy+dNchZn5L99LZgb3wgO0wz+3c76lL3Aq vkCVMlKXKCLwIDQ8i/tl46OVsGpschXynyrF X-Received: by 2002:a05:600c:6003:b0:3d6:10e:68a8 with SMTP id az3-20020a05600c600300b003d6010e68a8mr46566564wmb.0.1673253683565; Mon, 09 Jan 2023 00:41:23 -0800 (PST) Received: from localhost.localdomain ([81.0.6.76]) by smtp.gmail.com with ESMTPSA id h15-20020a05600c314f00b003d99469ece1sm16017146wmo.24.2023.01.09.00.41.22 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 09 Jan 2023 00:41:23 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Peter Maydell , Thomas Huth , qemu-arm@nongnu.org, qemu-trivial@nongnu.org, Jan Kiszka , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH 0/5] hw/i2c/bitbang_i2c: Housekeeping Date: Mon, 9 Jan 2023 09:41:16 +0100 Message-Id: <20230109084121.72138-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::32c; envelope-from=philmd@linaro.org; helo=mail-wm1-x32c.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 - 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 | 81 +++++++++++++++++++++++------------- hw/i2c/trace-events | 7 ++++ include/hw/i2c/bitbang_i2c.h | 2 + 4 files changed, 62 insertions(+), 31 deletions(-)