{"id":814600,"url":"http://patchwork.ozlabs.org/api/covers/814600/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-imx/cover/1505635252-27716-1-git-send-email-chen.zhong@mediatek.com/","project":{"id":19,"url":"http://patchwork.ozlabs.org/api/projects/19/?format=json","name":"Linux IMX development","link_name":"linux-imx","list_id":"linux-imx-kernel.lists.patchwork.ozlabs.org","list_email":"linux-imx-kernel@lists.patchwork.ozlabs.org","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<1505635252-27716-1-git-send-email-chen.zhong@mediatek.com>","list_archive_url":null,"date":"2017-09-17T08:00:47","name":"[v4,0/5] Add MediaTek PMIC keys support","submitter":{"id":72090,"url":"http://patchwork.ozlabs.org/api/people/72090/?format=json","name":"Chen Zhong","email":"chen.zhong@mediatek.com"},"mbox":"http://patchwork.ozlabs.org/project/linux-imx/cover/1505635252-27716-1-git-send-email-chen.zhong@mediatek.com/mbox/","series":[{"id":3486,"url":"http://patchwork.ozlabs.org/api/series/3486/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-imx/list/?series=3486","date":"2017-09-17T08:00:47","name":"Add MediaTek PMIC keys support","version":4,"mbox":"http://patchwork.ozlabs.org/series/3486/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/covers/814600/comments/","headers":{"Return-Path":"<linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org>","X-Original-To":"incoming-imx@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming-imx@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.infradead.org\n\t(client-ip=65.50.211.133; helo=bombadil.infradead.org;\n\tenvelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=lists.infradead.org\n\theader.i=@lists.infradead.org\n\theader.b=\"Q1N5H+8M\"; dkim-atps=neutral"],"Received":["from bombadil.infradead.org (bombadil.infradead.org\n\t[65.50.211.133])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xw1nM3VqSz9sPs\n\tfor <incoming-imx@patchwork.ozlabs.org>;\n\tSun, 17 Sep 2017 18:01:59 +1000 (AEST)","from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dtUWY-00036u-Ov; Sun, 17 Sep 2017 08:01:54 +0000","from [218.249.47.110] (helo=mailgw01.mediatek.com)\n\tby bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dtUW6-0002da-Mn; Sun, 17 Sep 2017 08:01:28 +0000","from mtkcas32.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 1183245905; Sun, 17 Sep 2017 16:00:50 +0800","from MTKCAS32.mediatek.inc (172.27.4.184) by\n\tMTKMBS31N1.mediatek.inc\n\t(172.27.4.69) with Microsoft SMTP Server (TLS) id 15.0.1210.3;\n\tSun, 17 Sep 2017 16:00:52 +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:49 +0800"],"DKIM-Signature":"v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20170209; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post:\n\tList-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To\n\t:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:\n\tResent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:\n\tList-Owner; bh=j7CeMDIzbhyZBS/+oaL+UNMlDzIUYrHFpdAW9/OtPLE=;\n\tb=Q1N5H+8Mwd6XAh\n\tgVkA7UOl+YEjmOqxl90YnQDvEqiw2OMER380XzVck51tNh8Vh4cQgGBOLp0/Ve1MyxaEGiqeOxlXQ\n\t5I36GC/gaS4s21xrHgIgwoZJ+rVxco6MQX822X8xaFY6plVdZ16L6NiOj4NdF95SDbTNQVFuGlCLu\n\t/L2xkbVf9jcxdpoRADKKeVZ/3TrCC7mjfskyQup6gkgpqewXRyF2LQT0J4mwumwn2lciJd9FPsrAh\n\t8EpGZpDjMtKr0P7jAu+5kBy6njrrN5APaLmIhc681Ry6vaZNfL+b3SxHarKhRKvn7KXgiiNL9Hfjl\n\t6ZF/T9T63qsJxjYn56vg==;","X-UUID":"134c5763df6e4115afba3baeda7e4e69-20170917","From":"Chen Zhong <chen.zhong@mediatek.com>","To":"Dmitry Torokhov <dmitry.torokhov@gmail.com>, Rob Herring\n\t<robh+dt@kernel.org>, Lee Jones <lee.jones@linaro.org>, Alexandre Belloni\n\t<alexandre.belloni@free-electrons.com>","Subject":"[PATCH v4 0/5] Add MediaTek PMIC keys support","Date":"Sun, 17 Sep 2017 16:00:47 +0800","Message-ID":"<1505635252-27716-1-git-send-email-chen.zhong@mediatek.com>","X-Mailer":"git-send-email 1.7.9.5","MIME-Version":"1.0","X-MTK":"N","X-CRM114-Version":"20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ","X-CRM114-CacheID":"sfid-20170917_010127_023614_F3DAA712 ","X-CRM114-Status":"GOOD (  12.39  )","X-Spam-Score":"-1.1 (-)","X-Spam-Report":"SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details:   (-1.1 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-0.0 SPF_PASS               SPF: sender matches SPF record\n\t-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n\t[score: 0.0000]\n\t0.8 RDNS_NONE Delivered to internal network by a host with no rDNS\n\t0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay\n\tlines","X-BeenThere":"linux-arm-kernel@lists.infradead.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Unsubscribe":"<http://lists.infradead.org/mailman/options/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe>","List-Archive":"<http://lists.infradead.org/pipermail/linux-arm-kernel/>","List-Post":"<mailto:linux-arm-kernel@lists.infradead.org>","List-Help":"<mailto:linux-arm-kernel-request@lists.infradead.org?subject=help>","List-Subscribe":"<http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe>","Cc":"Mark Rutland <mark.rutland@arm.com>,\n\tAlessandro Zummo <a.zummo@towertech.it>, devicetree@vger.kernel.org, \n\tLinus Walleij <linus.walleij@linaro.org>,\n\tJaechul Lee <jcsing.lee@samsung.com>, \n\tlinux-kernel@vger.kernel.org, Andi Shyti <andi.shyti@samsung.com>,\n\tlinux-mediatek@lists.infradead.org,\n\tKrzysztof Kozlowski <krzk@kernel.org>, \n\tlinux-input@vger.kernel.org, Matthias Brugger <matthias.bgg@gmail.com>,\n\tEddie Huang <eddie.huang@mediatek.com>,\n\tChen Zhong <chen.zhong@mediatek.com>, \n\tlinux-arm-kernel@lists.infradead.org, linux-rtc@vger.kernel.org","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Sender":"\"linux-arm-kernel\" <linux-arm-kernel-bounces@lists.infradead.org>","Errors-To":"linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org","List-Id":"linux-imx-kernel.lists.patchwork.ozlabs.org"},"content":"Changes since v3:\n- make the naming to be consistent as mtk_pmic or MTK_PMIC\n- add suspend/resume functions to enable/disable irq\n- change binding properties to define wakeup sources\n\nChanges since v2:\n- use standard properties for keycodes and debounce time\n- change to use platform_get_irq in leaf drivers\n- use better ways to define IRQ resources\n\nChanges since v1:\n- create irq mappings in mfd core driver instead of leaf drivers\n- remove some unused parts in mtk-pmic-keys driver\n\nMediaTek PMIC are multi-function devices that can handle key interrupts,\ntypically there are two keys attached to PMIC, which called pwrkey\nand homekey. PWRKEY usually used to wake up system from sleep. Homekey\ncan used as volume down key due to board design. Long press keys can\nshutdown PMIC, the mode can be choose to be one key only or two keys\ntogether.\nThis series add support for key functions for MediaTek PMIC MT6397/MT6323.\n\nChen Zhong (5):\n  mfd: mt6397: create irq mappings in mfd core driver\n  dt-bindings: input: Add document bindings for mtk-pmic-keys\n  dt-bindings: mfd: Add bindings for the keys as subnode of PMIC\n  input: Add MediaTek PMIC keys support\n  mfd: mt6397: Add PMIC keys support to MT6397 driver\n\n .../devicetree/bindings/input/mtk-pmic-keys.txt    |   41 +++\n Documentation/devicetree/bindings/mfd/mt6397.txt   |    6 +\n drivers/input/keyboard/Kconfig                     |    9 +\n drivers/input/keyboard/Makefile                    |    1 +\n drivers/input/keyboard/mtk-pmic-keys.c             |  354 ++++++++++++++++++++\n drivers/mfd/mt6397-core.c                          |   26 +-\n drivers/rtc/rtc-mt6397.c                           |    7 +-\n 7 files changed, 437 insertions(+), 7 deletions(-)\n create mode 100644 Documentation/devicetree/bindings/input/mtk-pmic-keys.txt\n create mode 100644 drivers/input/keyboard/mtk-pmic-keys.c\n\n--\n1.7.9.5"}