{"id":2234216,"url":"http://patchwork.ozlabs.org/api/1.2/covers/2234216/?format=json","web_url":"http://patchwork.ozlabs.org/project/qemu-devel/cover/20260507120524.111056-1-npiggin@gmail.com/","project":{"id":14,"url":"http://patchwork.ozlabs.org/api/1.2/projects/14/?format=json","name":"QEMU Development","link_name":"qemu-devel","list_id":"qemu-devel.nongnu.org","list_email":"qemu-devel@nongnu.org","web_url":"","scm_url":"","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20260507120524.111056-1-npiggin@gmail.com>","list_archive_url":null,"date":"2026-05-07T12:05:18","name":"[0/4] hw/i2c: Add designware i2c controller","submitter":{"id":69518,"url":"http://patchwork.ozlabs.org/api/1.2/people/69518/?format=json","name":"Nicholas Piggin","email":"npiggin@gmail.com"},"mbox":"http://patchwork.ozlabs.org/project/qemu-devel/cover/20260507120524.111056-1-npiggin@gmail.com/mbox/","series":[{"id":503171,"url":"http://patchwork.ozlabs.org/api/1.2/series/503171/?format=json","web_url":"http://patchwork.ozlabs.org/project/qemu-devel/list/?series=503171","date":"2026-05-07T12:05:18","name":"hw/i2c: Add designware i2c controller","version":1,"mbox":"http://patchwork.ozlabs.org/series/503171/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/covers/2234216/comments/","headers":{"Return-Path":"<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=DqayFYIf;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org\n (client-ip=209.51.188.17; helo=lists1p.gnu.org;\n envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n receiver=patchwork.ozlabs.org)"],"Received":["from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17])\n\t(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4gB9vc4Gf8z1yCg\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 07 May 2026 22:06:19 +1000 (AEST)","from localhost ([::1] helo=lists1p.gnu.org)\n\tby lists1p.gnu.org with esmtp (Exim 4.90_1)\n\t(envelope-from <qemu-devel-bounces@nongnu.org>)\n\tid 1wKxU7-0008SN-P1; Thu, 07 May 2026 08:05:44 -0400","from eggs.gnu.org ([2001:470:142:3::10])\n by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <npiggin@gmail.com>) id 1wKxU2-0008Ru-Tv\n for qemu-devel@nongnu.org; Thu, 07 May 2026 08:05:38 -0400","from mail-pf1-x436.google.com ([2607:f8b0:4864:20::436])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)\n (Exim 4.90_1) (envelope-from <npiggin@gmail.com>) id 1wKxU0-0002AD-QZ\n for qemu-devel@nongnu.org; Thu, 07 May 2026 08:05:38 -0400","by mail-pf1-x436.google.com with SMTP id\n d2e1a72fcca58-835399c11e0so280805b3a.0\n for <qemu-devel@nongnu.org>; Thu, 07 May 2026 05:05:35 -0700 (PDT)","from localhost (124.158.97.178.qld.leaptel.network.\n [124.158.97.178])\n by smtp.gmail.com with ESMTPSA id\n d2e1a72fcca58-83967dbd995sm7930951b3a.43.2026.05.07.05.05.32\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 07 May 2026 05:05:33 -0700 (PDT)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20251104; t=1778155535; x=1778760335; darn=nongnu.org;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:from:to:cc:subject:date:message-id:reply-to;\n bh=uiJFEVwmPmAwFk5yNViinwxDNqH4/28NbHcjZ3MgTZE=;\n b=DqayFYIf0pQug+NYz71JYJRFzXeHEPri1RZyIznh68a8DYYC9GTKh++XJf46xetOOe\n N9whhjtRyntxbPMUZN4tTZFKfHmVSdGPxpum6OzBuoYBXA42jEgXvzA/lKEsfAhDTc7R\n +dN3xylLEE+AfUVAca+R23FNch7juBM6nPDL33e3JqtC1j2+zksfE53oz52UiCyrIHW5\n pkOXbqLStk8qA7pzHRgl6EZqfqIhSsuYgSWZUKnBM02E2dFxY29BLFv+yxzwIuUBCLjK\n F6GAKxlXMC0kUvebBRWYbSsB+Z954tNBGEh13o1PPPApMx3UXhKQ5DhjY/+lwkiGNWu3\n iU2g==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1778155535; x=1778760335;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date\n :message-id:reply-to;\n bh=uiJFEVwmPmAwFk5yNViinwxDNqH4/28NbHcjZ3MgTZE=;\n b=SXYSYoB8fwT/UstRhiGBqUjBAOEloB+MwM05ZUimD2wfoJcDE6ypAwhwY7WnLKeiqc\n 0ZzqPtrPqYLloIEEHFN6bvw7hVFBQZ3RHCPiuZkDft49JyQGBZOAeulTl4a1N2N/R5FP\n 2u5MjGfSJFQY2bQk9YYSLa9qtk5R5lzIfjpqoBAid7coUGfdvcwpB6s3P89iTbUyGiTB\n Frhj+UcZpT4AzyJUlgqHmWozW4nJJcedy7DUWhG6ZNPEnuop3cfXTh3bs7vmHIh6A/dD\n JtoWToAE0xYRwtclGWupdCuXcEPM8kAn83YXeL2lV7VEY5yeZbslyzPUtqgY/+34ZvTV\n /l/A==","X-Forwarded-Encrypted":"i=1;\n AFNElJ+ENJTnJ79VRUp6loZAB+Js/N9tkJIt/9rylbsl8l8vu9pZdziNMo4LFKN2nqGBoquYEET/NqgS+yux@nongnu.org","X-Gm-Message-State":"AOJu0YzZqlX1iKRj8EVI7U7phSayLrtPZPkHX593CLouqQ1T/IvttP1l\n NmPs/E80KDh8VIxTXvpg0ZnNyEpJ4rLuaaHD9jUhu9YsTyYL08jIPv1o","X-Gm-Gg":"AeBDiesZN/KObs1QRBXPM/WRWWym/K8sPn69OthrRMCm3Kr0kFcw/laEuZstgfmXhjh\n 325Epa07H3Al/kNE8Q44bSMRdhE24guOaMzLlfgMx+vxQPtaEZdItWNXEcIol1rZEX+zFA9ELTo\n Jhl7GXgPyeIJY456CNA6Vsq/1xgD41kGvUDOkpBrFjl9x/SqSIok+9URORJwmothmAmI1VMJ/Hf\n V71IOAsQPO17uDvdrX7TSgoSnM9hLSugcV2DhkLpPtUmbVkFPrEX7Qupx/3xTCgZRguSLwtF595\n 1Z+SKgRLqRqB5roX2V5eWsn7DvSMwIwTseFJ99wrPy/P3rGTe+uUU75ct+cZxFzq46CkJ0aqhRo\n pCY2MP4MNDvU5tEI/Y6uldN2ZA4pMYfsqAjyfjUH0tFbD0FZIKxNTtueR5HLjluWpMr88GXJJt1\n idWiMsouLq/92irf1CQWP47wTnFH72VAHdrX/7jlUXM/FJhJ33yXVgEpaWAmZ5ZEzY2nr1NSTR7\n 1Qj2mCA","X-Received":"by 2002:a05:6a00:124c:b0:834:df57:9d36 with SMTP id\n d2e1a72fcca58-83a5d18fe2amr7791510b3a.25.1778155534592;\n Thu, 07 May 2026 05:05:34 -0700 (PDT)","From":"Nicholas Piggin <npiggin@gmail.com>","To":"Corey Minyard <cminyard@mvista.com>","Cc":"Nicholas Piggin <npiggin@gmail.com>,\n Alistair Francis <alistair.francis@wdc.com>,\n Daniel Henrique Barboza <daniel.barboza@oss.qualcomm.com>,\n Chao Liu <chao.liu.zevorn@gmail.com>, Chris Rauer <crauer@google.com>,\n Michael Ellerman <mpe@kernel.org>, Joel Stanley <jms@oss.tenstorrent.com>,\n Anirudh Srinivasan <asrinivasan@oss.tenstorrent.com>,\n Portia Stephens <portias@oss.tenstorrent.com>, qemu-riscv@nongnu.org,\n qemu-devel@nongnu.org, Hao Wu <wuhaotsh@google.com>, =?utf-8?q?Philippe_Mat?=\n\t=?utf-8?q?hieu-Daud=C3=A9?= <philmd@linaro.org>","Subject":"[PATCH 0/4] hw/i2c: Add designware i2c controller","Date":"Thu,  7 May 2026 22:05:18 +1000","Message-ID":"<20260507120524.111056-1-npiggin@gmail.com>","X-Mailer":"git-send-email 2.53.0","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Received-SPF":"pass client-ip=2607:f8b0:4864:20::436;\n envelope-from=npiggin@gmail.com; helo=mail-pf1-x436.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,\n DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,\n RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,\n SPF_PASS=-0.001 autolearn=ham autolearn_force=no","X-Spam_action":"no action","X-BeenThere":"qemu-devel@nongnu.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"qemu development <qemu-devel.nongnu.org>","List-Unsubscribe":"<https://lists.nongnu.org/mailman/options/qemu-devel>,\n <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>","List-Archive":"<https://lists.nongnu.org/archive/html/qemu-devel>","List-Post":"<mailto:qemu-devel@nongnu.org>","List-Help":"<mailto:qemu-devel-request@nongnu.org?subject=help>","List-Subscribe":"<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n <mailto:qemu-devel-request@nongnu.org?subject=subscribe>","Errors-To":"qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org","Sender":"qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org"},"content":"Hi,\n\nThis series contains the DW I2C model written by Chris Rauer and\nupdated for the Tenstorrent Atlantis machine recently. There was\nsome more review comment on that submission and so we decided to\ntake the I2C device out of that series and work on it separately,\nsee here:\n\nhttps://lore.kernel.org/qemu-devel/20260425131721.932250-1-joel@jms.id.au/T/#mb1ef2824c2f1f37bf4574dc1ef0fb95566c3a2f2\n\nThe big thing suggested was to move to the QEMU register API. That\nis a big change and difficult to review, so I have split that and\na some smaller changes out into their own patches. I don't expect\ndetailed reviews on the register API patch -- it's quite mechanical\nand I did attempt to verify it by diff'ing register traces. But it\nwould be good to make sure maintainers are happy to go that way.\n\nUnfortunately the patch 1 was quite well reviewed and tested so\nincremental changes would be preferable, but it is painful to maintain\nmigration compatibility across these changes.\n\nThanks,\nNick\n\nChris Rauer (1):\n  hw/i2c: Add designware i2c controller\n\nNicholas Piggin (3):\n  [RFC] hw/i2c/designware_i2c: Switch to Fifo8\n  [RFC] hw/i2c/designware_i2c: Switch to QEMU register API\n  [RFC] hw/i2c/designware_i2c: add SMBUS_INTR_MASK\n\n MAINTAINERS                     |   8 +\n hw/i2c/Kconfig                  |   5 +\n hw/i2c/designware_i2c.c         | 742 ++++++++++++++++++++++++++++++++\n hw/i2c/meson.build              |   1 +\n hw/i2c/trace-events             |   4 +\n include/hw/i2c/designware_i2c.h |  56 +++\n roms/seabios-hppa               |   2 +-\n 7 files changed, 817 insertions(+), 1 deletion(-)\n create mode 100644 hw/i2c/designware_i2c.c\n create mode 100644 include/hw/i2c/designware_i2c.h"}