Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/814878/?format=api
{ "id": 814878, "url": "http://patchwork.ozlabs.org/api/patches/814878/?format=api", "web_url": "http://patchwork.ozlabs.org/project/devicetree-bindings/patch/20170918102349.8935-5-sakari.ailus@linux.intel.com/", "project": { "id": 37, "url": "http://patchwork.ozlabs.org/api/projects/37/?format=api", "name": "Devicetree Bindings", "link_name": "devicetree-bindings", "list_id": "devicetree.vger.kernel.org", "list_email": "devicetree@vger.kernel.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20170918102349.8935-5-sakari.ailus@linux.intel.com>", "list_archive_url": null, "date": "2017-09-18T10:23:47", "name": "[RESEND,v2,4/6] dt: bindings: as3645a: Improve label documentation, DT example", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "ce483febe912815c5300a5e1da08b931de9c1509", "submitter": { "id": 65485, "url": "http://patchwork.ozlabs.org/api/people/65485/?format=api", "name": "Sakari Ailus", "email": "sakari.ailus@linux.intel.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/devicetree-bindings/patch/20170918102349.8935-5-sakari.ailus@linux.intel.com/mbox/", "series": [ { "id": 3619, "url": "http://patchwork.ozlabs.org/api/series/3619/?format=api", "web_url": "http://patchwork.ozlabs.org/project/devicetree-bindings/list/?series=3619", "date": "2017-09-18T10:23:43", "name": "AS3645A fixes", "version": 2, "mbox": "http://patchwork.ozlabs.org/series/3619/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/814878/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/814878/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<devicetree-owner@vger.kernel.org>", "X-Original-To": "incoming-dt@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming-dt@bilbo.ozlabs.org", "Authentication-Results": "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=devicetree-owner@vger.kernel.org; receiver=<UNKNOWN>)", "Received": [ "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xwhtp0FTfz9s7M\n\tfor <incoming-dt@patchwork.ozlabs.org>;\n\tMon, 18 Sep 2017 20:24:02 +1000 (AEST)", "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1753407AbdIRKXy (ORCPT\n\t<rfc822;incoming-dt@patchwork.ozlabs.org>);\n\tMon, 18 Sep 2017 06:23:54 -0400", "from nblzone-211-213.nblnetworks.fi ([83.145.211.213]:45506 \"EHLO\n\thillosipuli.retiisi.org.uk\" rhost-flags-OK-OK-OK-FAIL)\n\tby vger.kernel.org with ESMTP id S1753403AbdIRKXw (ORCPT\n\t<rfc822; devicetree@vger.kernel.org>); Mon, 18 Sep 2017 06:23:52 -0400", "from lanttu.localdomain (unknown\n\t[IPv6:2001:1bc8:1a6:d3d5::e1:1002])\n\tby hillosipuli.retiisi.org.uk (Postfix) with ESMTP id 9E1556012E;\n\tMon, 18 Sep 2017 13:23:50 +0300 (EEST)" ], "From": "Sakari Ailus <sakari.ailus@linux.intel.com>", "To": "linux-leds@vger.kernel.org", "Cc": "linux-media@vger.kernel.org, devicetree@vger.kernel.org, pavel@ucw.cz", "Subject": "[RESEND PATCH v2 4/6] dt: bindings: as3645a: Improve label\n\tdocumentation, DT example", "Date": "Mon, 18 Sep 2017 13:23:47 +0300", "Message-Id": "<20170918102349.8935-5-sakari.ailus@linux.intel.com>", "X-Mailer": "git-send-email 2.11.0", "In-Reply-To": "<20170918102349.8935-1-sakari.ailus@linux.intel.com>", "References": "<20170918102349.8935-1-sakari.ailus@linux.intel.com>", "Sender": "devicetree-owner@vger.kernel.org", "Precedence": "bulk", "List-ID": "<devicetree.vger.kernel.org>", "X-Mailing-List": "devicetree@vger.kernel.org" }, "content": "Specify the exact label used if the label property is omitted in DT, as\nwell as use label in the example that conforms to LED device naming.\n\nSigned-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>\n---\n Documentation/devicetree/bindings/leds/ams,as3645a.txt | 12 ++++++++----\n 1 file changed, 8 insertions(+), 4 deletions(-)", "diff": "diff --git a/Documentation/devicetree/bindings/leds/ams,as3645a.txt b/Documentation/devicetree/bindings/leds/ams,as3645a.txt\nindex fdc40e354a64..9adba41e74b3 100644\n--- a/Documentation/devicetree/bindings/leds/ams,as3645a.txt\n+++ b/Documentation/devicetree/bindings/leds/ams,as3645a.txt\n@@ -39,7 +39,9 @@ ams,input-max-microamp: Maximum flash controller input current. The\n Optional properties of the flash child node\n ===========================================\n \n-label\t\t: The label of the flash LED.\n+label\t\t: The label of the flash LED. The label is otherwise assumed to\n+\t\t be the device node name concatenated with \":white:\" and the\n+\t\t name of the flash LED node is assumed if omitted.\n \n \n Required properties of the indicator child node (1)\n@@ -52,7 +54,9 @@ led-max-microamp: Maximum indicator current. The allowed values are\n Optional properties of the indicator child node\n ===============================================\n \n-label\t\t: The label of the indicator LED.\n+label\t\t: The label of the indicator LED. The label is otherwise assumed\n+\t\t to be the device node name concatenated with \":red:\" and the\n+\t\t name of the indicator LED node is assumed if omitted.\n \n \n Example\n@@ -69,11 +73,11 @@ Example\n \t\t\tflash-max-microamp = <320000>;\n \t\t\tled-max-microamp = <60000>;\n \t\t\tams,input-max-microamp = <1750000>;\n-\t\t\tlabel = \"as3645a:flash\";\n+\t\t\tlabel = \"as3645a:white:flash\";\n \t\t};\n \t\tindicator@1 {\n \t\t\treg = <0x1>;\n \t\t\tled-max-microamp = <10000>;\n-\t\t\tlabel = \"as3645a:indicator\";\n+\t\t\tlabel = \"as3645a:red:indicator\";\n \t\t};\n \t};\n", "prefixes": [ "RESEND", "v2", "4/6" ] }