Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/814597/?format=api
{ "id": 814597, "url": "http://patchwork.ozlabs.org/api/patches/814597/?format=api", "web_url": "http://patchwork.ozlabs.org/project/rtc-linux/patch/1505635252-27716-3-git-send-email-chen.zhong@mediatek.com/", "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": "<1505635252-27716-3-git-send-email-chen.zhong@mediatek.com>", "list_archive_url": null, "date": "2017-09-17T08:00:49", "name": "[v4,2/5] dt-bindings: input: Add document bindings for mtk-pmic-keys", "commit_ref": null, "pull_url": null, "state": "not-applicable", "archived": false, "hash": "124c4de3fda984cde3125c0534a7b3434dabf4c7", "submitter": { "id": 72090, "url": "http://patchwork.ozlabs.org/api/people/72090/?format=api", "name": "Chen Zhong", "email": "chen.zhong@mediatek.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/rtc-linux/patch/1505635252-27716-3-git-send-email-chen.zhong@mediatek.com/mbox/", "series": [ { "id": 3485, "url": "http://patchwork.ozlabs.org/api/series/3485/?format=api", "web_url": "http://patchwork.ozlabs.org/project/rtc-linux/list/?series=3485", "date": "2017-09-17T08:00:49", "name": "Add MediaTek PMIC keys support", "version": 4, "mbox": "http://patchwork.ozlabs.org/series/3485/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/814597/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/814597/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<linux-rtc-owner@vger.kernel.org>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@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=linux-rtc-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)", "Received": [ "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xw1md72lPz9sPs\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun, 17 Sep 2017 18:01:21 +1000 (AEST)", "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751529AbdIQIBI (ORCPT <rfc822;incoming@patchwork.ozlabs.org>);\n\tSun, 17 Sep 2017 04:01:08 -0400", "from mailgw01.mediatek.com ([218.249.47.110]:44656 \"EHLO\n\tmailgw01.mediatek.com\" rhost-flags-OK-FAIL-OK-FAIL) by\n\tvger.kernel.org with ESMTP id S1751334AbdIQIBD (ORCPT\n\t<rfc822; linux-rtc@vger.kernel.org>); Sun, 17 Sep 2017 04:01:03 -0400", "from mtkcas36.mediatek.inc [(172.27.4.250)] by\n\tmailgw01.mediatek.com (envelope-from <chen.zhong@mediatek.com>)\n\t(mailgw01.mediatek.com ESMTP with TLS)\n\twith ESMTP id 1440790555; Sun, 17 Sep 2017 16:00:51 +0800", "from MTKCAS32.mediatek.inc (172.27.4.184) by\n\tMTKMBS31N2.mediatek.inc\n\t(172.27.4.87) with Microsoft SMTP Server (TLS) id 15.0.1210.3;\n\tSun, 17 Sep 2017 16:00:54 +0800", "from localhost.localdomain (10.17.3.153) by MTKCAS32.mediatek.inc\n\t(172.27.4.170) with Microsoft SMTP Server id 15.0.1210.3 via\n\tFrontend Transport; Sun, 17 Sep 2017 16:00:50 +0800" ], "X-UUID": "8661b841b5b049d7bc839ab434ba4ef2-20170917", "From": "Chen Zhong <chen.zhong@mediatek.com>", "To": "Dmitry Torokhov <dmitry.torokhov@gmail.com>,\n\tRob Herring <robh+dt@kernel.org>, Lee Jones <lee.jones@linaro.org>,\n\tAlexandre Belloni <alexandre.belloni@free-electrons.com>", "CC": "Mark Rutland <mark.rutland@arm.com>,\n\tMatthias Brugger <matthias.bgg@gmail.com>,\n\tEddie Huang <eddie.huang@mediatek.com>,\n\tAlessandro Zummo <a.zummo@towertech.it>,\n\tAndi Shyti <andi.shyti@samsung.com>,\n\tJaechul Lee <jcsing.lee@samsung.com>,\n\tKrzysztof Kozlowski <krzk@kernel.org>,\n\tLinus Walleij <linus.walleij@linaro.org>,\n\tChen Zhong <chen.zhong@mediatek.com>,\n\t<linux-input@vger.kernel.org>, <devicetree@vger.kernel.org>,\n\t<linux-arm-kernel@lists.infradead.org>,\n\t<linux-mediatek@lists.infradead.org>,\n\t<linux-kernel@vger.kernel.org>, <linux-rtc@vger.kernel.org>", "Subject": "[PATCH v4 2/5] dt-bindings: input: Add document bindings for\n\tmtk-pmic-keys", "Date": "Sun, 17 Sep 2017 16:00:49 +0800", "Message-ID": "<1505635252-27716-3-git-send-email-chen.zhong@mediatek.com>", "X-Mailer": "git-send-email 1.7.9.5", "In-Reply-To": "<1505635252-27716-1-git-send-email-chen.zhong@mediatek.com>", "References": "<1505635252-27716-1-git-send-email-chen.zhong@mediatek.com>", "MIME-Version": "1.0", "Content-Type": "text/plain", "X-MTK": "N", "Sender": "linux-rtc-owner@vger.kernel.org", "Precedence": "bulk", "List-ID": "<linux-rtc.vger.kernel.org>", "X-Mailing-List": "linux-rtc@vger.kernel.org" }, "content": "This patch adds the device tree binding documentation for the MediaTek\npmic keys found on PMIC MT6397/MT6323.\n\nSigned-off-by: Chen Zhong <chen.zhong@mediatek.com>\n---\n .../devicetree/bindings/input/mtk-pmic-keys.txt | 41 ++++++++++++++++++++\n 1 file changed, 41 insertions(+)\n create mode 100644 Documentation/devicetree/bindings/input/mtk-pmic-keys.txt", "diff": "diff --git a/Documentation/devicetree/bindings/input/mtk-pmic-keys.txt b/Documentation/devicetree/bindings/input/mtk-pmic-keys.txt\nnew file mode 100644\nindex 0000000..fd48ff7\n--- /dev/null\n+++ b/Documentation/devicetree/bindings/input/mtk-pmic-keys.txt\n@@ -0,0 +1,41 @@\n+MediaTek MT6397/MT6323 PMIC Keys Device Driver\n+\n+There are two key functions provided by MT6397/MT6323 PMIC, pwrkey\n+and homekey. The key functions are defined as the subnode of the function\n+node provided by MT6397/MT6323 PMIC that is being defined as one kind\n+of Muti-Function Device (MFD)\n+\n+For MT6397/MT6323 MFD bindings see:\n+Documentation/devicetree/bindings/mfd/mt6397.txt\n+\n+Required properties:\n+- compatible: \"mediatek,mt6397-keys\" or \"mediatek,mt6323-keys\"\n+- linux,keycodes: Specifies the numeric keycode values to\n+\tbe used for reporting keys presses. The array can\n+\tcontain up to 2 entries.\n+\n+Optional Properties:\n+- mediatek,wakeup-keys: Specifies each key can be used as a wakeup source\n+\tor not. This can be customized depends on board design.\n+- wakeup-source: PMIC keys can be used as wakeup sources.\n+- mediatek,long-press-mode: Long press key shutdown setting, 1 for\n+\tpwrkey only, 2 for pwrkey/homekey together, others for disabled.\n+- debounce-interval: Long press key shutdown debouncing interval time\n+\tin seconds. 0/1/2/3 for 8/11/14/5 seconds. If not specified defaults to 0.\n+\n+Example:\n+\n+\tpmic: mt6397 {\n+\t\tcompatible = \"mediatek,mt6397\";\n+\n+\t\t...\n+\n+\t\tmt6397keys: mt6397keys {\n+\t\t\tcompatible = \"mediatek,mt6397-keys\";\n+\t\t\tlinux,keycodes = <116>, <114>;\n+\t\t\tmediatek,wakeup-keys = <1>, <0>;\n+\t\t\twakeup-source;\n+\t\t\tmediatek,long-press-mode = <1>;\n+\t\t\tdebounce-interval = <0>;\n+\t\t};\n+\t};\n", "prefixes": [ "v4", "2/5" ] }