Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/814601/?format=api
{ "id": 814601, "url": "http://patchwork.ozlabs.org/api/patches/814601/?format=api", "web_url": "http://patchwork.ozlabs.org/project/rtc-linux/patch/1505635252-27716-6-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-6-git-send-email-chen.zhong@mediatek.com>", "list_archive_url": null, "date": "2017-09-17T08:00:52", "name": "[v4,5/5] mfd: mt6397: Add PMIC keys support to MT6397 driver", "commit_ref": null, "pull_url": null, "state": "not-applicable", "archived": false, "hash": "7c701310d70ebb3bd69a7efe66ff182f7c074280", "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-6-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/814601/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/814601/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 3xw1nv3ybHz9s7v\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun, 17 Sep 2017 18:02:27 +1000 (AEST)", "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751599AbdIQIBv (ORCPT <rfc822;incoming@patchwork.ozlabs.org>);\n\tSun, 17 Sep 2017 04:01:51 -0400", "from mailgw02.mediatek.com ([218.249.47.111]:58551 \"EHLO\n\tmailgw02.mediatek.com\" rhost-flags-OK-FAIL-OK-FAIL) by\n\tvger.kernel.org with ESMTP id S1751343AbdIQIBF (ORCPT\n\t<rfc822; linux-rtc@vger.kernel.org>); Sun, 17 Sep 2017 04:01:05 -0400", "from mtkcas34.mediatek.inc [(172.27.4.250)] by\n\tmailgw02.mediatek.com (envelope-from <chen.zhong@mediatek.com>)\n\t(mailgw01.mediatek.com ESMTP with TLS)\n\twith ESMTP id 1529007390; Sun, 17 Sep 2017 16:01:02 +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:57 +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:53 +0800" ], "X-UUID": "c25e75bdbdbb48f98be9a96a33ed9964-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 5/5] mfd: mt6397: Add PMIC keys support to MT6397 driver", "Date": "Sun, 17 Sep 2017 16:00:52 +0800", "Message-ID": "<1505635252-27716-6-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 compatible strings and interrupts for pmic keys\nwhich serves as child device of MFD.\n\nAcked-for-MFD-by: Lee Jones <lee.jones@linaro.org>\nSigned-off-by: Chen Zhong <chen.zhong@mediatek.com>\n---\n drivers/mfd/mt6397-core.c | 22 +++++++++++++++++++++-\n 1 file changed, 21 insertions(+), 1 deletion(-)", "diff": "diff --git a/drivers/mfd/mt6397-core.c b/drivers/mfd/mt6397-core.c\nindex 6546d7f..77b64bd 100644\n--- a/drivers/mfd/mt6397-core.c\n+++ b/drivers/mfd/mt6397-core.c\n@@ -43,6 +43,16 @@\n \t},\n };\n \n+static const struct resource mt6323_keys_resources[] = {\n+\tDEFINE_RES_IRQ(MT6323_IRQ_STATUS_PWRKEY),\n+\tDEFINE_RES_IRQ(MT6323_IRQ_STATUS_FCHRKEY),\n+};\n+\n+static const struct resource mt6397_keys_resources[] = {\n+\tDEFINE_RES_IRQ(MT6397_IRQ_PWRKEY),\n+\tDEFINE_RES_IRQ(MT6397_IRQ_HOMEKEY),\n+};\n+\n static const struct mfd_cell mt6323_devs[] = {\n \t{\n \t\t.name = \"mt6323-regulator\",\n@@ -50,6 +60,11 @@\n \t}, {\n \t\t.name = \"mt6323-led\",\n \t\t.of_compatible = \"mediatek,mt6323-led\"\n+\t}, {\n+\t\t.name = \"mtk-pmic-keys\",\n+\t\t.num_resources = ARRAY_SIZE(mt6323_keys_resources),\n+\t\t.resources = mt6323_keys_resources,\n+\t\t.of_compatible = \"mediatek,mt6323-keys\"\n \t},\n };\n \n@@ -71,7 +86,12 @@\n \t}, {\n \t\t.name = \"mt6397-pinctrl\",\n \t\t.of_compatible = \"mediatek,mt6397-pinctrl\",\n-\t},\n+\t}, {\n+\t\t.name = \"mtk-pmic-keys\",\n+\t\t.num_resources = ARRAY_SIZE(mt6397_keys_resources),\n+\t\t.resources = mt6397_keys_resources,\n+\t\t.of_compatible = \"mediatek,mt6397-keys\"\n+\t}\n };\n \n static void mt6397_irq_lock(struct irq_data *data)\n", "prefixes": [ "v4", "5/5" ] }