Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/805788/?format=api
{ "id": 805788, "url": "http://patchwork.ozlabs.org/api/patches/805788/?format=api", "web_url": "http://patchwork.ozlabs.org/project/openbmc/patch/20170825065244.488-2-andrew@aj.id.au/", "project": { "id": 56, "url": "http://patchwork.ozlabs.org/api/projects/56/?format=api", "name": "OpenBMC development", "link_name": "openbmc", "list_id": "openbmc.lists.ozlabs.org", "list_email": "openbmc@lists.ozlabs.org", "web_url": "http://github.com/openbmc/", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20170825065244.488-2-andrew@aj.id.au>", "list_archive_url": null, "date": "2017-08-25T06:52:40", "name": "[linux,dev-4.10,1/5] dt-bindings: leds: gpio: Add optional retain-state-shutdown property", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "1798225d1607a2a0c0d8ab545aea3f39502446d9", "submitter": { "id": 68332, "url": "http://patchwork.ozlabs.org/api/people/68332/?format=api", "name": "Andrew Jeffery", "email": "andrew@aj.id.au" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/openbmc/patch/20170825065244.488-2-andrew@aj.id.au/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/805788/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/805788/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<openbmc-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "openbmc@lists.ozlabs.org" ], "Delivered-To": [ "patchwork-incoming@bilbo.ozlabs.org", "openbmc@lists.ozlabs.org" ], "Received": [ "from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\t(using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xdsMW6wlnz9sDB\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 25 Aug 2017 16:53:59 +1000 (AEST)", "from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3xdsMW59f7zDrWK\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 25 Aug 2017 16:53:59 +1000 (AEST)", "from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com\n\t[66.111.4.26])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 3xdsM32Kf1zDrK0\n\tfor <openbmc@lists.ozlabs.org>; Fri, 25 Aug 2017 16:53:35 +1000 (AEST)", "from compute4.internal (compute4.nyi.internal [10.202.2.44])\n\tby mailout.nyi.internal (Postfix) with ESMTP id 0C2AA20EA7;\n\tFri, 25 Aug 2017 02:53:33 -0400 (EDT)", "from frontend2 ([10.202.2.161])\n\tby compute4.internal (MEProxy); Fri, 25 Aug 2017 02:53:33 -0400", "from keelia.aj.id.au\n\t(ppp118-210-176-216.bras2.adl6.internode.on.net [118.210.176.216])\n\tby mail.messagingengine.com (Postfix) with ESMTPA id E9FB0240B1;\n\tFri, 25 Aug 2017 02:53:29 -0400 (EDT)" ], "Authentication-Results": [ "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=aj.id.au header.i=@aj.id.au header.b=\"tyAiSrxh\";\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=messagingengine.com\n\theader.i=@messagingengine.com header.b=\"qgrzpAo+\"; \n\tdkim-atps=neutral", "lists.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=aj.id.au header.i=@aj.id.au header.b=\"tyAiSrxh\";\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=messagingengine.com\n\theader.i=@messagingengine.com header.b=\"qgrzpAo+\"; \n\tdkim-atps=neutral", "lists.ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=aj.id.au header.i=@aj.id.au header.b=\"tyAiSrxh\";\n\tdkim=pass (2048-bit key;\n\tunprotected) header.d=messagingengine.com\n\theader.i=@messagingengine.com\n\theader.b=\"qgrzpAo+\"; dkim-atps=neutral" ], "DKIM-Signature": [ "v=1; a=rsa-sha256; c=relaxed/relaxed; d=aj.id.au; h=cc\n\t:date:from:in-reply-to:message-id:references:subject:to\n\t:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=NcTUM4\n\tEhpW7ne/3uFo+obaqRQHcFXtOdywhZSzQTpRM=; b=tyAiSrxhggMPrYYkJ/2vJi\n\tPQboDWDWytqi8q9BrCeQPRTdZEzlPE3MTx1liDQqWNL+1HRcXWk9JHeURZcTk0Ve\n\tsgVjycg0lDGg/fAFjp/qLSLy2qPac1BA1v4BiQAWTJpShdx9F5//emDUxFrypj+5\n\tJYoddXf+3YGZi5YQEcb4bu1F0Y/Q18MjSpIxzF+Sap3dNm8H9LaT59m4UDLo5Zsy\n\tpAAHkQdNwRG0fVDYyyWQn/8WMRL0ma55mp0OuEWAL5h+5nGqKfTag/TlBMYFgVve\n\t75uZKs+Hx7jH6uWI2auiIm50wKq6dcb/B1sWALgXj6KNepmlQRB2YFvOEMJuXC9w\n\t==", "v=1; a=rsa-sha256; c=relaxed/relaxed; d=\n\tmessagingengine.com; h=cc:date:from:in-reply-to:message-id\n\t:references:subject:to:x-me-sender:x-me-sender:x-sasl-enc\n\t:x-sasl-enc; s=fm1; bh=NcTUM4EhpW7ne/3uFo+obaqRQHcFXtOdywhZSzQTp\n\tRM=; b=qgrzpAo+G5UHIdSkkdkBnPGN5SsqAc+8g/HPAT0noT1YBXUksm6rfS1Ry\n\tkkrDRHYywm2c2LyuLdXJzvFDC5aRpWhoakKo3yfn4kjeb4EECxuYvXzROId4lB2a\n\tSO5X5DE6JuG47J/084+kg55Oz8elD2suLll98tPTkxMW7THeR2i//j/7KpPcYb6m\n\ta60ICIpbWNef9NlJHDL85Q8ZVEFQJjW0YXFAl+qMIoHC9cw8eAZLS7/z6a8un3c4\n\trdxFrOZOBjNRyi9oJamta4pe0b6F66cf5ziWPQpYbJJSvIrcPjkyJLf17TD/NLlS\n\tXXwmYVYmnSWuc+6cTJ6d5MMi5Xm6w==" ], "X-ME-Sender": "<xms:bMmfWbYpbezGlQ9frD_r-LY7xa1aVX41gkWw8lfGygKwxtEABac8lw>", "X-Sasl-enc": "f47w9uI56yTRxt+mr2ecGHUFJf1paoloGd7yJ6rnhH64 1503644012", "From": "Andrew Jeffery <andrew@aj.id.au>", "To": "joel@jms.id.au", "Subject": "[PATCH linux dev-4.10 1/5] dt-bindings: leds: gpio: Add optional\n\tretain-state-shutdown property", "Date": "Fri, 25 Aug 2017 16:22:40 +0930", "Message-Id": "<20170825065244.488-2-andrew@aj.id.au>", "X-Mailer": "git-send-email 2.11.0", "In-Reply-To": "<20170825065244.488-1-andrew@aj.id.au>", "References": "<20170825065244.488-1-andrew@aj.id.au>", "X-BeenThere": "openbmc@lists.ozlabs.org", "X-Mailman-Version": "2.1.23", "Precedence": "list", "List-Id": "Development list for OpenBMC <openbmc.lists.ozlabs.org>", "List-Unsubscribe": "<https://lists.ozlabs.org/options/openbmc>,\n\t<mailto:openbmc-request@lists.ozlabs.org?subject=unsubscribe>", "List-Archive": "<http://lists.ozlabs.org/pipermail/openbmc/>", "List-Post": "<mailto:openbmc@lists.ozlabs.org>", "List-Help": "<mailto:openbmc-request@lists.ozlabs.org?subject=help>", "List-Subscribe": "<https://lists.ozlabs.org/listinfo/openbmc>,\n\t<mailto:openbmc-request@lists.ozlabs.org?subject=subscribe>", "Cc": "Andrew Jeffery <andrew@aj.id.au>, eajames@linux.vnet.ibm.com,\n\topenbmc@lists.ozlabs.org, clg@kaod.org, bjwyman@gmail.com", "Errors-To": "openbmc-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org", "Sender": "\"openbmc\"\n\t<openbmc-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org>" }, "content": "On BMC systems it's sometimes necessary for a LED to retain its state\nacross a BMC reset (which is independent of the host system state). Add\na devicetree property to describe this behaviour. The property would\ntypically be used in conjunction with 'default-state = \"keep\"'.\n\nSigned-off-by: Andrew Jeffery <andrew@aj.id.au>\n---\n Documentation/devicetree/bindings/leds/leds-gpio.txt | 3 +++\n 1 file changed, 3 insertions(+)", "diff": "diff --git a/Documentation/devicetree/bindings/leds/leds-gpio.txt b/Documentation/devicetree/bindings/leds/leds-gpio.txt\nindex 76535ca37120..a48dda268f81 100644\n--- a/Documentation/devicetree/bindings/leds/leds-gpio.txt\n+++ b/Documentation/devicetree/bindings/leds/leds-gpio.txt\n@@ -18,6 +18,9 @@ LED sub-node properties:\n see Documentation/devicetree/bindings/leds/common.txt\n - retain-state-suspended: (optional) The suspend state can be retained.Such\n as charge-led gpio.\n+- retain-state-shutdown: (optional) Retain the state of the LED on shutdown.\n+ Useful in BMC systems, for example when the BMC is rebooted while the host\n+ remains up.\n - panic-indicator : (optional)\n see Documentation/devicetree/bindings/leds/common.txt\n \n", "prefixes": [ "linux", "dev-4.10", "1/5" ] }