Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2217447/?format=api
{ "id": 2217447, "url": "http://patchwork.ozlabs.org/api/patches/2217447/?format=api", "web_url": "http://patchwork.ozlabs.org/project/rtc-linux/patch/20260329-sc27xx-mfd-cells-v3-4-9158dee41f74@abscue.de/", "project": { "id": 9, "url": "http://patchwork.ozlabs.org/api/projects/9/?format=api", "name": "Linux RTC development", "link_name": "rtc-linux", "list_id": "linux-rtc.vger.kernel.org", "list_email": "linux-rtc@vger.kernel.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20260329-sc27xx-mfd-cells-v3-4-9158dee41f74@abscue.de>", "list_archive_url": null, "date": "2026-03-29T07:27:48", "name": "[v3,4/5] power: reset: sc27xx: Add platform_device_id table", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "1a8443fba6bc4aec2a3f163195b242069e746b4b", "submitter": { "id": 85322, "url": "http://patchwork.ozlabs.org/api/people/85322/?format=api", "name": "Otto Pflüger", "email": "otto.pflueger@abscue.de" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/rtc-linux/patch/20260329-sc27xx-mfd-cells-v3-4-9158dee41f74@abscue.de/mbox/", "series": [ { "id": 497909, "url": "http://patchwork.ozlabs.org/api/series/497909/?format=api", "web_url": "http://patchwork.ozlabs.org/project/rtc-linux/list/?series=497909", "date": "2026-03-29T07:27:46", "name": "mfd: sc27xx: Use MFD cells and devm_mfd_add_devices()", "version": 3, "mbox": "http://patchwork.ozlabs.org/series/497909/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2217447/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2217447/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "\n <linux-rtc+bounces-6265-incoming=patchwork.ozlabs.org@vger.kernel.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "linux-rtc@vger.kernel.org" ], "Delivered-To": "patchwork-incoming@legolas.ozlabs.org", "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n secure) header.d=abscue.de header.i=@abscue.de header.a=rsa-sha256\n header.s=dkim header.b=kFkdA6kY;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c0a:e001:db::12fc:5321; helo=sea.lore.kernel.org;\n envelope-from=linux-rtc+bounces-6265-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)", "smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=abscue.de header.i=@abscue.de\n header.b=\"kFkdA6kY\"", "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=89.58.28.240", "smtp.subspace.kernel.org;\n dmarc=none (p=none dis=none) header.from=abscue.de", "smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=abscue.de" ], "Received": [ "from sea.lore.kernel.org (sea.lore.kernel.org\n [IPv6:2600:3c0a:e001:db::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 4fk5c15n4Zz1xrn\n\tfor <incoming@patchwork.ozlabs.org>; Sun, 29 Mar 2026 18:29:21 +1100 (AEDT)", "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sea.lore.kernel.org (Postfix) with ESMTP id 51644304178B\n\tfor <incoming@patchwork.ozlabs.org>; Sun, 29 Mar 2026 07:28:09 +0000 (UTC)", "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id E93BF2DB7A0;\n\tSun, 29 Mar 2026 07:28:02 +0000 (UTC)", "from srv01.abscue.de (abscue.de [89.58.28.240])\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 730602D73AD;\n\tSun, 29 Mar 2026 07:28:01 +0000 (UTC)", "from fluffy-mammal.metal.fwg-cag.de (87-94-78-46.co.dnainternet.fi\n [87.94.78.46])\n\tby srv01.abscue.de (Postfix) with ESMTPSA id CFE561C243A;\n\tSun, 29 Mar 2026 09:27:52 +0200 (CEST)" ], "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1774769282; cv=none;\n b=EIwE1A5uQPzjE/wOXzTRwPnqyTyZ7sGkUJfFxMmmDuGmlU63WgZQt4Gi+/TafbL9Tk0Q5KkdDBGQ5Rj2yjjpvmsywa3caqUjbeGqclLztpJHdISVzoSRc75dHlzS+vvQNmO/BSylTQ911aJrpJ5IcQFGpnUtuWBgg6MiWTLowGk=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1774769282; c=relaxed/simple;\n\tbh=pi32dSd8TSx+SNWSMpom2JT7gL0RFRI7pQDQIaLDrq8=;\n\th=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References:\n\t In-Reply-To:To:Cc;\n b=EL/B1WWXtrOZ60zSmYLsWeILsTLwxkGjbkVIwcDP1kgqDjqZVyAEO/cyXQUWLbSq8U76NAo4k43Oh0x/SsPtLZ4D3fo9J9XGTYV3r4v6cWlkR2TdWQiKsYcjpIrvEkRSe+q9NSg5DytHwxGqBVAGuFWY61JB/ByJNcvw2CzU0kQ=", "ARC-Authentication-Results": "i=1; smtp.subspace.kernel.org;\n dmarc=none (p=none dis=none) header.from=abscue.de;\n spf=pass smtp.mailfrom=abscue.de;\n dkim=pass (2048-bit key) header.d=abscue.de header.i=@abscue.de\n header.b=kFkdA6kY; arc=none smtp.client-ip=89.58.28.240", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=abscue.de; s=dkim;\n\tt=1774769274;\n\th=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n\t to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n\t content-transfer-encoding:content-transfer-encoding:\n\t in-reply-to:in-reply-to:references:references;\n\tbh=RHqLGlaDozhvgx5NZzsru55VUPorc1eitoMtmO4DGA0=;\n\tb=kFkdA6kYd/QrIaoKLsTyJNmA2Q0Mz5EwPAxVol41mpbcwJhv275luDN+Ks0cowUWPG84YS\n\tyujaMxjyI4oi4ychknGaNUk169VnS7PzteBORUnRCaEwSH0x26xKsqONxK464zt1j5NG1e\n\tnBM/W7f4YY7gP/4m5hZnVttxpbdOQS65xoa3Yy2x2oxosHwWH2+Erw//4xEC3y54zakv34\n\tBFdWvcNYiJQRZEvusS+td7NLuPPdCwrtgDJQFCbPhf1hGE9h7M35rWmlMwq+A+62QNG4mp\n\td77Es7TlGYtG5kwqo0JYOUSAwu5ftKejl05uEmagbgBshp95YixcfZGWufiRKA==", "From": "=?utf-8?q?Otto_Pfl=C3=BCger?= <otto.pflueger@abscue.de>", "Date": "Sun, 29 Mar 2026 09:27:48 +0200", "Subject": "[PATCH v3 4/5] power: reset: sc27xx: Add platform_device_id table", "Precedence": "bulk", "X-Mailing-List": "linux-rtc@vger.kernel.org", "List-Id": "<linux-rtc.vger.kernel.org>", "List-Subscribe": "<mailto:linux-rtc+subscribe@vger.kernel.org>", "List-Unsubscribe": "<mailto:linux-rtc+unsubscribe@vger.kernel.org>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "8bit", "Message-Id": "<20260329-sc27xx-mfd-cells-v3-4-9158dee41f74@abscue.de>", "References": "<20260329-sc27xx-mfd-cells-v3-0-9158dee41f74@abscue.de>", "In-Reply-To": "<20260329-sc27xx-mfd-cells-v3-0-9158dee41f74@abscue.de>", "To": "Alexandre Belloni <alexandre.belloni@bootlin.com>,\n Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>,\n Conor Dooley <conor+dt@kernel.org>, Orson Zhai <orsonzhai@gmail.com>,\n Baolin Wang <baolin.wang@linux.alibaba.com>,\n Chunyan Zhang <zhang.lyra@gmail.com>, Lee Jones <lee@kernel.org>,\n Pavel Machek <pavel@kernel.org>, Liam Girdwood <lgirdwood@gmail.com>,\n Mark Brown <broonie@kernel.org>, Sebastian Reichel <sre@kernel.org>", "Cc": "linux-rtc@vger.kernel.org, devicetree@vger.kernel.org,\n linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org,\n linux-pm@vger.kernel.org,\n =?utf-8?q?Otto_Pfl=C3=BCger?= <otto.pflueger@abscue.de>,\n Sebastian Reichel <sebastian.reichel@collabora.com>", "X-Mailer": "b4 0.14.3" }, "content": "Make the poweroff driver for SC27xx-series PMICs probe automatically.\nSince the device representing the poweroff functionality of the SC27xx\nPMIC is not supposed to have a dedicated device tree node without any\ncorresponding DT resources [1], an of_device_id table cannot be used\nhere. Instead, use a platform_device_id table to match the poweroff\nsub-device instantiated by the parent MFD driver.\n\nSigned-off-by: Otto Pflüger <otto.pflueger@abscue.de>\n\n[1]: https://lore.kernel.org/all/20251002025344.GA2958334-robh@kernel.org/\n\nAcked-by: Sebastian Reichel <sebastian.reichel@collabora.com>\n---\n drivers/power/reset/sc27xx-poweroff.c | 8 ++++++++\n 1 file changed, 8 insertions(+)", "diff": "diff --git a/drivers/power/reset/sc27xx-poweroff.c b/drivers/power/reset/sc27xx-poweroff.c\nindex 393bd1c33b73..6376706bf561 100644\n--- a/drivers/power/reset/sc27xx-poweroff.c\n+++ b/drivers/power/reset/sc27xx-poweroff.c\n@@ -6,6 +6,7 @@\n \n #include <linux/cpu.h>\n #include <linux/kernel.h>\n+#include <linux/mod_devicetable.h>\n #include <linux/module.h>\n #include <linux/platform_device.h>\n #include <linux/pm.h>\n@@ -70,11 +71,18 @@ static int sc27xx_poweroff_probe(struct platform_device *pdev)\n \treturn 0;\n }\n \n+static const struct platform_device_id sc27xx_poweroff_id_table[] = {\n+\t{ \"sc2731-poweroff\" },\n+\t{ }\n+};\n+MODULE_DEVICE_TABLE(platform, sc27xx_poweroff_id_table);\n+\n static struct platform_driver sc27xx_poweroff_driver = {\n \t.probe = sc27xx_poweroff_probe,\n \t.driver = {\n \t\t.name = \"sc27xx-poweroff\",\n \t},\n+\t.id_table = sc27xx_poweroff_id_table,\n };\n module_platform_driver(sc27xx_poweroff_driver);\n \n", "prefixes": [ "v3", "4/5" ] }