Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2196165/?format=api
{ "id": 2196165, "url": "http://patchwork.ozlabs.org/api/patches/2196165/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-i2c/patch/20260213-i2c-xiic-v11-6-5d18aea11bde@nexthop.ai/", "project": { "id": 35, "url": "http://patchwork.ozlabs.org/api/projects/35/?format=api", "name": "Linux I2C development", "link_name": "linux-i2c", "list_id": "linux-i2c.vger.kernel.org", "list_email": "linux-i2c@vger.kernel.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20260213-i2c-xiic-v11-6-5d18aea11bde@nexthop.ai>", "list_archive_url": null, "date": "2026-02-13T00:15:21", "name": "[v11,6/7] i2c: xiic: use numbered adapter registration", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "e919b23ce6bebfa44141ba65885c8eddb8507335", "submitter": { "id": 92480, "url": "http://patchwork.ozlabs.org/api/people/92480/?format=api", "name": "Abdurrahman Hussain via B4 Relay", "email": "devnull+abdurrahman.nexthop.ai@kernel.org" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linux-i2c/patch/20260213-i2c-xiic-v11-6-5d18aea11bde@nexthop.ai/mbox/", "series": [ { "id": 492044, "url": "http://patchwork.ozlabs.org/api/series/492044/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-i2c/list/?series=492044", "date": "2026-02-13T00:15:16", "name": "i2c: xiic: use generic device property accessors", "version": 11, "mbox": "http://patchwork.ozlabs.org/series/492044/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2196165/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2196165/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "\n <linux-i2c+bounces-15962-incoming=patchwork.ozlabs.org@vger.kernel.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "linux-i2c@vger.kernel.org" ], "Delivered-To": "patchwork-incoming@legolas.ozlabs.org", "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256\n header.s=k20201202 header.b=O7w81c0V;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c04:e001:36c::12fc:5321; helo=tor.lore.kernel.org;\n envelope-from=linux-i2c+bounces-15962-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)", "smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org\n header.b=\"O7w81c0V\"", "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=10.30.226.201" ], "Received": [ "from tor.lore.kernel.org (tor.lore.kernel.org\n [IPv6:2600:3c04:e001:36c::12fc:5321])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fBt5L4vZBz1xpY\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 13 Feb 2026 11:16:54 +1100 (AEDT)", "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby tor.lore.kernel.org (Postfix) with ESMTP id 7572330B249A\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 13 Feb 2026 00:15:45 +0000 (UTC)", "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 98E8D22F177;\n\tFri, 13 Feb 2026 00:15:23 +0000 (UTC)", "from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org\n [10.30.226.201])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id 073B92153D8;\n\tFri, 13 Feb 2026 00:15:23 +0000 (UTC)", "by smtp.kernel.org (Postfix) with ESMTPS id B6355C2BCC6;\n\tFri, 13 Feb 2026 00:15:22 +0000 (UTC)", "from aws-us-west-2-korg-lkml-1.web.codeaurora.org\n (localhost.localdomain [127.0.0.1])\n\tby smtp.lore.kernel.org (Postfix) with ESMTP id 9EBF8EEA875;\n\tFri, 13 Feb 2026 00:15:22 +0000 (UTC)" ], "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1770941723; cv=none;\n b=HsVUwGf5ELbTVnTNZTuMz5CS2oHhEN+3G4aGijB3kFBLvndbncRchMyDGDtTE1ZIh5dfjz4oBwxWP9JuzvdQ4vNKMA/B8m8a8sOWzKb83aIqpIkZCRG/MtVrpxisD1fSNdoEwIfRys+PrwV12U6AQpzgC2gdM9/DgTY7bONzitE=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1770941723; c=relaxed/simple;\n\tbh=i0It30sqUuBb6w3dSvN+K4xAmB3+vRycrDLUAHCmoR4=;\n\th=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References:\n\t In-Reply-To:To:Cc;\n b=BYP8f8TSIoDxaLjTU1bVnIG3Dr0iuuq3KrKG+ed6Q87OjNx4gjL9TAPW427avqoQkdpjaq3364BqF+tUjk5E5XuLOi5ZozAGKFv0/xPP5WZ+PjSc8z+ReXgJ7iaOQf8JLDPpbisC/7tzdFsRQdMctlZokLJa1bmeY2gEkXaqruQ=", "ARC-Authentication-Results": "i=1; smtp.subspace.kernel.org;\n dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org\n header.b=O7w81c0V; arc=none smtp.client-ip=10.30.226.201", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org;\n\ts=k20201202; t=1770941722;\n\tbh=i0It30sqUuBb6w3dSvN+K4xAmB3+vRycrDLUAHCmoR4=;\n\th=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From;\n\tb=O7w81c0VDV7ngVKI/feWUryR8Xc0UgOHb0lphOG17ufO3BtdP9K8bS7JzCcPdMBZU\n\t ATTHBx7x9fXidcm9PJWsteQUW/LCNCee9YQfeSTLS+RQ6oqvpq9aSseG2knwZcgx3K\n\t j8aFevf7ng/YG6aUSr7MMxqMLSMLxLJKBYyasYUq8fXezAIJCPM/1ae8Y+NOrush2R\n\t AGNo5LwAyrTfDRdsJ7o6seBgGVQOjYHirbymgofcQWotfWGOaTtGd8BXCqAHpM7aLo\n\t ofR4jHhBOSob/5Z33ENZw/bgi4Ypcs5SYqsMgeN2G9tVFf2zDTSCIxU5pWIFAr38Hx\n\t WIDm9WAI2hUog==", "From": "Abdurrahman Hussain via B4 Relay\n <devnull+abdurrahman.nexthop.ai@kernel.org>", "Date": "Fri, 13 Feb 2026 00:15:21 +0000", "Subject": "[PATCH v11 6/7] i2c: xiic: use numbered adapter registration", "Precedence": "bulk", "X-Mailing-List": "linux-i2c@vger.kernel.org", "List-Id": "<linux-i2c.vger.kernel.org>", "List-Subscribe": "<mailto:linux-i2c+subscribe@vger.kernel.org>", "List-Unsubscribe": "<mailto:linux-i2c+unsubscribe@vger.kernel.org>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "7bit", "Message-Id": "<20260213-i2c-xiic-v11-6-5d18aea11bde@nexthop.ai>", "References": "<20260213-i2c-xiic-v11-0-5d18aea11bde@nexthop.ai>", "In-Reply-To": "<20260213-i2c-xiic-v11-0-5d18aea11bde@nexthop.ai>", "To": "Michal Simek <michal.simek@amd.com>, Andi Shyti <andi.shyti@kernel.org>,\n Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>,\n Conor Dooley <conor+dt@kernel.org>", "Cc": "Andy Shevchenko <andriy.shevchenko@intel.com>,\n linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org,\n linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,\n Abdurrahman Hussain <abdurrahman@nexthop.ai>", "X-Mailer": "b4 0.14.3", "X-Developer-Signature": "v=1; a=ed25519-sha256; t=1770941721; l=1381;\n i=abdurrahman@nexthop.ai; s=20260119; h=from:subject:message-id;\n bh=OcfhhTnF0WtrdPeWNqGBAVD1c0SVBN7KhRbWFtUKE0E=;\n b=x96Wn3uuPvc410bLRuXiGYkplzRWuLttTyJI9nXHfMJhzJq0/V8kNe6hltjxFJpDfsYODUu3l\n 1BQHVyRnVcIC4Q7VgvNexWkyQetdFE+JV1WlmRrA5BzmvIrAve16DsT", "X-Developer-Key": "i=abdurrahman@nexthop.ai; a=ed25519;\n pk=S+ysnf+NwMcBdHBlyKIUEAtaFGSIhQwcJcgcXhq0osg=", "X-Endpoint-Received": "by B4 Relay for abdurrahman@nexthop.ai/20260119 with\n auth_id=608", "X-Original-From": "Abdurrahman Hussain <abdurrahman@nexthop.ai>", "Reply-To": "abdurrahman@nexthop.ai" }, "content": "From: Abdurrahman Hussain <abdurrahman@nexthop.ai>\n\nSwitch from i2c_add_adapter() to i2c_add_numbered_adapter() to enable\nplatforms to specify fixed I2C bus numbers via the platform device ID.\n\nThis allows systems to maintain consistent bus numbering across reboots.\nOn platforms where the device ID is PLATFORM_DEVID_NONE (the default),\nthe adapter falls back to dynamic allocation, preserving backward\ncompatibility.\n\nSigned-off-by: Abdurrahman Hussain <abdurrahman@nexthop.ai>\n---\n drivers/i2c/busses/i2c-xiic.c | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)", "diff": "diff --git a/drivers/i2c/busses/i2c-xiic.c b/drivers/i2c/busses/i2c-xiic.c\nindex 373c00a93034..2ad75325154c 100644\n--- a/drivers/i2c/busses/i2c-xiic.c\n+++ b/drivers/i2c/busses/i2c-xiic.c\n@@ -1450,6 +1450,7 @@ static int xiic_i2c_probe(struct platform_device *pdev)\n \t/* hook up driver to tree */\n \tplatform_set_drvdata(pdev, i2c);\n \ti2c->adap = xiic_adapter;\n+\ti2c->adap.nr = pdev->id;\n \ti2c_set_adapdata(&i2c->adap, i2c);\n \ti2c->adap.dev.parent = dev;\n \tdevice_set_node(&i2c->adap.dev, dev_fwnode(dev));\n@@ -1506,7 +1507,7 @@ static int xiic_i2c_probe(struct platform_device *pdev)\n \t\treturn dev_err_probe(dev, ret, \"Cannot xiic_reinit\\n\");\n \n \t/* add i2c adapter to i2c tree */\n-\tret = i2c_add_adapter(&i2c->adap);\n+\tret = i2c_add_numbered_adapter(&i2c->adap);\n \tif (ret) {\n \t\txiic_deinit(i2c);\n \t\treturn ret;\n", "prefixes": [ "v11", "6/7" ] }