Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/733479/?format=api
{ "id": 733479, "url": "http://patchwork.ozlabs.org/api/patches/733479/?format=api", "web_url": "http://patchwork.ozlabs.org/project/devicetree-bindings/patch/20170228120452.10043-3-zajec5@gmail.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": "<20170228120452.10043-3-zajec5@gmail.com>", "list_archive_url": null, "date": "2017-02-28T12:04:51", "name": "[3/4] dt-bindings: leds: document binding for LED timer trigger", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "55ac1fa498fbcc5fd9e40e04caff8e723ae53cc3", "submitter": { "id": 5824, "url": "http://patchwork.ozlabs.org/api/people/5824/?format=api", "name": "Rafał Miłecki", "email": "zajec5@gmail.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/devicetree-bindings/patch/20170228120452.10043-3-zajec5@gmail.com/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/733479/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/733479/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", "Received": [ "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3vXdXv4tJpz9s8G\n\tfor <incoming-dt@patchwork.ozlabs.org>;\n\tTue, 28 Feb 2017 23:43:27 +1100 (AEDT)", "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1752000AbdB1MnY (ORCPT\n\t<rfc822;incoming-dt@patchwork.ozlabs.org>);\n\tTue, 28 Feb 2017 07:43:24 -0500", "from mail-lf0-f68.google.com ([209.85.215.68]:33604 \"EHLO\n\tmail-lf0-f68.google.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1751060AbdB1MnX (ORCPT\n\t<rfc822; devicetree@vger.kernel.org>); Tue, 28 Feb 2017 07:43:23 -0500", "by mail-lf0-f68.google.com with SMTP id r36so908235lfi.0\n\tfor <devicetree@vger.kernel.org>;\n\tTue, 28 Feb 2017 04:41:31 -0800 (PST)", "from linux-samsung.lan\n\t(ip-194-187-74-233.konfederacka.maverick.com.pl. [194.187.74.233])\n\tby smtp.gmail.com with ESMTPSA id\n\t25sm324680lju.56.2017.02.28.04.07.32\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tTue, 28 Feb 2017 04:07:33 -0800 (PST)" ], "Authentication-Results": "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"baw7dsnG\"; dkim-atps=neutral", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding;\n\tbh=pAB74yt8/R4ii/3iJVAbgp0ZAZw4UqUz5OcTIg8let0=;\n\tb=baw7dsnGCjjzQ1wZQPvJWifnCpn/6R27G+3f1ID2Hkj6VcvmtKbgY9jby+iOgpaPr8\n\tdxzjebdZeyOIhPOQfhNLmTkggsscJtAg0YPF6YKinwBseT8+Mmg7ys6c1DR3lz0KKpNN\n\tT5TczWZz/Uz5qjR6CkV9kuB3TbLvuN+hZwmSRH206f2xoogbH5GlVkp6fLj4g+jGNmCQ\n\t/xJNvDTa/VIOYXtqnHkGkj/QjK0W5wCi+xcVha6W4/EdoWIT/mgymhvAqRsKEk+h4Gus\n\tqFVAGdRFgX1qdTKXGVor4hUv8jWh0WoDdo6vTNcADWwyHrQDJYkXB/m8W60ws902wR2n\n\tqfkw==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references:mime-version:content-transfer-encoding;\n\tbh=pAB74yt8/R4ii/3iJVAbgp0ZAZw4UqUz5OcTIg8let0=;\n\tb=c/rqD5UO8wpddncb+25mlbNqzl1qsm4HHonSDQFNorUVJ9dMsRS49G36O+Zve7XCYb\n\tj6w+/oYxmvB9IMMA4xefpPaTExHUsjIO9dC2B4aOcfVpbV6aKUl52eg9wZqkZWxYEgvd\n\tBkgzQ2BJAQ3wDGdkKGDjWXqxg0zeufRq+FeNyY8NcxKcbyHwurdPG9rh/Ko8rFUm6SLW\n\tngySdr2yUQ5QGXgAv16nzfPujIRB6rm2YlC2M6/dER5kJAhDMn1Xos0aLpu7yVg1x92/\n\tBdn3z1KAfptSfslp58QI0p3mRhUsPMFvqv2guRkuLK+CPzh/V13D5LY3UeYAeSYZzCVu\n\tS+aw==", "X-Gm-Message-State": "AMke39lE0FJAG7GdBvN2otMV37mk3qLYAtlFcZqYMEn7mYaWHpPMhlCXsAs2j+n+FQ8OYw==", "X-Received": "by 10.25.198.196 with SMTP id w187mr745373lff.36.1488283653642; \n\tTue, 28 Feb 2017 04:07:33 -0800 (PST)", "From": "=?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com>", "To": "Richard Purdie <rpurdie@rpsys.net>,\n\tJacek Anaszewski <jacek.anaszewski@gmail.com>, linux-leds@vger.kernel.org", "Cc": "Rob Herring <robh+dt@kernel.org>, Mark Rutland <mark.rutland@arm.com>,\n\tdevicetree@vger.kernel.org,\n\t=?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>", "Subject": "[PATCH 3/4] dt-bindings: leds: document binding for LED timer\n\ttrigger", "Date": "Tue, 28 Feb 2017 13:04:51 +0100", "Message-Id": "<20170228120452.10043-3-zajec5@gmail.com>", "X-Mailer": "git-send-email 2.11.0", "In-Reply-To": "<20170228120452.10043-1-zajec5@gmail.com>", "References": "<20170228120452.10043-1-zajec5@gmail.com>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=UTF-8", "Content-Transfer-Encoding": "8bit", "Sender": "devicetree-owner@vger.kernel.org", "Precedence": "bulk", "List-ID": "<devicetree.vger.kernel.org>", "X-Mailing-List": "devicetree@vger.kernel.org" }, "content": "From: Rafał Miłecki <rafal@milecki.pl>\n\nTimer trigger is one of the simplest, hardware independent triggers. It\njust blinks LED with a given intervals.\n\nSigned-off-by: Rafał Miłecki <rafal@milecki.pl>\n---\n .../devicetree/bindings/leds/triggers-timer.txt | 18 ++++++++++++++++++\n Documentation/devicetree/bindings/leds/triggers.txt | 17 +++++++++++++++++\n 2 files changed, 35 insertions(+)\n create mode 100644 Documentation/devicetree/bindings/leds/triggers-timer.txt", "diff": "diff --git a/Documentation/devicetree/bindings/leds/triggers-timer.txt b/Documentation/devicetree/bindings/leds/triggers-timer.txt\nnew file mode 100644\nindex 000000000000..0e6c81d6f81b\n--- /dev/null\n+++ b/Documentation/devicetree/bindings/leds/triggers-timer.txt\n@@ -0,0 +1,18 @@\n+Timer LED trigger properties.\n+\n+Timer trigger enables and disables LED with a given time intervals. It's example\n+usage may be a simple indication that system is alive & working (to some point\n+at least).\n+\n+Properties:\n+- trigger-type : Must be \"timer\".\n+- delay-on : Amount of time (in milliseconds) LED stays enabled.\n+- delay-off : Amount of time (in milliseconds) LED stays disabled.\n+\n+Examples:\n+\n+timer-trigger {\n+\ttrigger-type = \"timer\";\n+\tdelay-on = <300>;\n+\tdelay-off = <1000>;\n+};\ndiff --git a/Documentation/devicetree/bindings/leds/triggers.txt b/Documentation/devicetree/bindings/leds/triggers.txt\nindex a1fbf3a75d67..8d8daa027bee 100644\n--- a/Documentation/devicetree/bindings/leds/triggers.txt\n+++ b/Documentation/devicetree/bindings/leds/triggers.txt\n@@ -11,3 +11,20 @@ Common properties:\n \t\t documentation for more details.\n \n More properties can be available depending on the chosen trigger type.\n+\n+Examples:\n+\n+timer_trigger: timer-trigger {\n+\ttrigger-type = \"timer\";\n+\t...\n+};\n+\n+gpio-leds {\n+\tcompatible = \"gpio-leds\";\n+\n+\tsystem-status {\n+\t\tlabel = \"Status\";\n+\t\tgpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;\n+\t\ttriggers = <&timer_trigger>;\n+\t};\n+};\n", "prefixes": [ "3/4" ] }