Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2196166/?format=api
{ "id": 2196166, "url": "http://patchwork.ozlabs.org/api/patches/2196166/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-i2c/patch/20260213-i2c-xiic-v11-7-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-7-5d18aea11bde@nexthop.ai>", "list_archive_url": null, "date": "2026-02-13T00:15:22", "name": "[v11,7/7] i2c: xiic: skip input clock setup on non-OF systems", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "7cc30a718462f44efc7b2b2897284d2e81d02b26", "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-7-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/2196166/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2196166/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "\n <linux-i2c+bounces-15964-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=CAJLwPxy;\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-15964-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=\"CAJLwPxy\"", "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 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fBt5M6F5tz1xpY\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 13 Feb 2026 11:16:55 +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 B75CC30B3790\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 A19E723536B;\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 37E62221DB3;\n\tFri, 13 Feb 2026 00:15:23 +0000 (UTC)", "by smtp.kernel.org (Postfix) with ESMTPS id CE593C2BC87;\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 B0C8CEEA870;\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=V09UMHOMpdPbSGMkpazvMD1zKzOY1QiQmn45fY3kaenq80tA1pvFBAj0lmWVhnwZVswWqjOMEPcVcZRLbyWv5eydE0Nxg+pP6UGDoIW0wgm/fGMT3kaZxaD1Ke4vJPRbNdFDvIf7Mo9Ab0nkIiLQZaTv36SinaLURmiJ8xIWvpw=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1770941723; c=relaxed/simple;\n\tbh=ktFNFyYb0Uq2CP/YIDJw0JUiqxN5uUvfLEqzzvmbA3E=;\n\th=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References:\n\t In-Reply-To:To:Cc;\n b=Ik/S1KstLLKEQzW2+lnUHxtk0zdR7IRgAcvD0QtMM3PPb0LuY12kJgyG6Wvz6r+S8Jf7LFX8z1nwEapM46inQ5P+702vW7/SCZWZBayeuBtNWCyxLPIgo2sVzoQ9dj+mvyvL2Jmaw4O5yGAuyBLzrArOkAsCDLBc2VYT+oZjgZ0=", "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=CAJLwPxy; 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=ktFNFyYb0Uq2CP/YIDJw0JUiqxN5uUvfLEqzzvmbA3E=;\n\th=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From;\n\tb=CAJLwPxyAGpEnyCJ9X50bSlJsJO3Nrm35GPhgvgTmZYRLKeuBlNlfJEyoBGdf9np2\n\t Dgph9pWF1BoPcs5oNxn34F3caf9t4u2Vn4NT0bq3Rv7fV2tuFvzd8yF98pF6Tx/c/Q\n\t ZN3E4fdpcAl3x5sOIO4Mnm9SBDWyHEbyQ1+nPTbVd4sPxXCBkgkxMFZtOf1FY9zXo9\n\t PvI7bEyX4EON++iWHHC30Csd9x4NzbAoI7bubt3zM0nQFa+Jp34iFMoGg8Nhga3Lx2\n\t L0geyFIzswShUKC8ksHIsiMnkRVxvXmXs+WyEul4MwySsn9TZnrUTevowrL3/Aa0OS\n\t rCVlNvwb3N8FA==", "From": "Abdurrahman Hussain via B4 Relay\n <devnull+abdurrahman.nexthop.ai@kernel.org>", "Date": "Fri, 13 Feb 2026 00:15:22 +0000", "Subject": "[PATCH v11 7/7] i2c: xiic: skip input clock setup on non-OF\n systems", "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-7-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=1203;\n i=abdurrahman@nexthop.ai; s=20260119; h=from:subject:message-id;\n bh=QbeCuGkKnN5h5Ohu93cG+bcDU57NUhxnJ+h/cgz+Owg=;\n b=ahPuuoyzgNrgiZHMsSNPsEPM2zxawKhDjYIy/l9O0JPv/Ev49NxOdwFTn9/lny7oLo4UvcqxH\n zT4VbTBiRoXDz5uZTAcdIDQ6cpd7w4vE8i5UWT7nKLNyZeOyhqMxJ2t", "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\nCurrently Linux does not implement ACPI ClockInput() resource to describe\nclocks, unlike DT. However the xiic driver is happy if something\nmagically enables the clock before the driver probes, and does not\nturn it off again. The clock should always be considered optional for\nACPI.\n\nSigned-off-by: Abdurrahman Hussain <abdurrahman@nexthop.ai>\n---\n drivers/i2c/busses/i2c-xiic.c | 10 ++++++----\n 1 file changed, 6 insertions(+), 4 deletions(-)", "diff": "diff --git a/drivers/i2c/busses/i2c-xiic.c b/drivers/i2c/busses/i2c-xiic.c\nindex 2ad75325154c..e5574f2d97bf 100644\n--- a/drivers/i2c/busses/i2c-xiic.c\n+++ b/drivers/i2c/busses/i2c-xiic.c\n@@ -1463,10 +1463,12 @@ static int xiic_i2c_probe(struct platform_device *pdev)\n \n \tspin_lock_init(&i2c->atomic_lock);\n \n-\ti2c->clk = devm_clk_get_enabled(&pdev->dev, NULL);\n-\tif (IS_ERR(i2c->clk))\n-\t\treturn dev_err_probe(&pdev->dev, PTR_ERR(i2c->clk),\n-\t\t\t\t \"failed to enable input clock.\\n\");\n+\tif (is_of_node(dev_fwnode(dev))) {\n+\t\ti2c->clk = devm_clk_get_enabled(dev, NULL);\n+\t\tif (IS_ERR(i2c->clk))\n+\t\t\treturn dev_err_probe(dev, PTR_ERR(i2c->clk),\n+\t\t\t\t\t\"failed to enable input clock.\\n\");\n+\t}\n \n \ti2c->dev = dev;\n \n", "prefixes": [ "v11", "7/7" ] }