Received: by 10.213.65.68 with SMTP id h4csp296598imn; Wed, 21 Mar 2018 19:19:09 -0700 (PDT) X-Google-Smtp-Source: AG47ELv3LCtL3kr9h8hPPaZR69D7vjPCenwUEl3OGT5mMIs1hFOW3qdtkeD+FSBTTjTQ+99r62BD X-Received: by 2002:a17:902:bc04:: with SMTP id n4-v6mr23000174pls.97.1521685148970; Wed, 21 Mar 2018 19:19:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521685148; cv=none; d=google.com; s=arc-20160816; b=nYf0gupnNBRbi1d8kX5Nnb/TMqdjhGABq3qp9fxKM36YCxqL+oybPKA0lVBCbReE0c X8pkZFedKh+qD3+8/SR9VoTIu6HG/OCWN+08gjnFIeWFLQIfy8HutPfX2Y0fZPgruafC a24uRdGuG+vBCpVIiQzYFT0zk1w8W/D2KK7yo6k5eJBoLe2QumKRmoX9cmB/ZNcT9saE i8GFDop8KKgU4knsURzf77nVxFDueQFvXFf+rbJ26eSngYZtxxUMU0Umz1KLoflIU0oT p8npaCPuH+yLEchLrBMOt4h+ASIQ7TizDAyEx8sWQMGWNyIQX5tQISo+5S5KpvQA46Lk ubgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :references:in-reply-to:date:cc:to:from:subject:message-id :arc-authentication-results; bh=FMITJiS12767swv/rLlSLUuhacyYn+/4udZ1/K2DDLw=; b=JlM5FqFCBxhkBLpwZX9r3O5tJl49XZXhOjTe2VNXwicjp77b4FNoI4H0m8uf8mcYYw lsW/zUWovoInRAcg1fMgXR04Z4cir4VH+iAcSPzEDYEAphWEXjdNim97W42VOtBFBx/q VnR0NXefidPIMCKLY6S6i8Ynr8PuUkWRaXdULIHvbJxGCJe05TpLuEP/KAkYFoPMWCL5 UrUwLtbX1wgPY8hZY/vYeYedINg0/UAhc6sWABOMoqUShzqojnKWPHDnlUKBf+/oQ7Mw SXnBGfShJAn77M2B+qfdahnPInI3MBaQNS36++GyKlGlngaKer7c8izpPD3uE2XepDkX Tk5Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v13-v6si5640093plk.153.2018.03.21.19.18.54; Wed, 21 Mar 2018 19:19:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751885AbeCVCSD (ORCPT + 99 others); Wed, 21 Mar 2018 22:18:03 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:4481 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751608AbeCVCR7 (ORCPT ); Wed, 21 Mar 2018 22:17:59 -0400 X-UUID: 7345b8a08d5f4a348b5996989f4e1038-20180322 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 2096912429; Thu, 22 Mar 2018 10:17:55 +0800 Received: from mtkcas09.mediatek.inc (172.21.101.178) by mtkmbs08n2.mediatek.inc (172.21.101.56) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Thu, 22 Mar 2018 10:17:53 +0800 Received: from [172.21.77.33] (172.21.77.33) by mtkcas09.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1210.3 via Frontend Transport; Thu, 22 Mar 2018 10:17:53 +0800 Message-ID: <1521685073.28226.10.camel@mtkswgap22> Subject: Re: [PATCH v6 0/6] Add MediaTek PMIC keys support From: Sean Wang To: Dmitry Torokhov , Rob Herring , Lee Jones , Alexandre Belloni CC: Mark Rutland , , , , , , , , , , , , , , , Date: Thu, 22 Mar 2018 10:17:53 +0800 In-Reply-To: <808b2029da224ab687fb0553cbc1c68e@mtkmbs08n1.mediatek.inc> References: <1508937364-30054-1-git-send-email-chen.zhong@mediatek.com> <808b2029da224ab687fb0553cbc1c68e@mtkmbs08n1.mediatek.inc> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 Content-Transfer-Encoding: 8bit MIME-Version: 1.0 X-TM-AS-Product-Ver: SMEX-12.5.0.5042-8.2.9001-23734.000 X-TM-AS-Result: No-18.321900-8.000000-10 X-TMASE-MatchedRID: 9d2LtCNB3NLvkBiM1eNiXvv+//lqU1h61kqyrcMalqUxCa3oFeZrRetY BK5Q5zNX3f0e/BgwI9Dajws2LEAvyUoLuWKPFag47DzBuedLDxvRm6N++KG8MBd2FPQEB0XOyRS EpZz6DA+jSFwvhL29gyzBFB7FQ7aTcMMjBRRYYhx2ue67hwJx8fDfYikgJILnJLfQYoCQHFbXlh b0JuPQgXTDu+OFUeESiFHMv/GxbIVAoDTZXuYzI5VRzPxemJL0MZm0+sEE9msGW3hFnC9N1Si1J mRhPGAWuBUrbyBrMarfissJdn3y3A6IaLd0egCv7spMO3HwKCBQCOsAlaxN735h6y4KCSJcAvK0 O9Xf2H5eP4bUjYKV3+osEgojljL9D7+f/jfUYxLAJnGRMfFxyY+YVJqrrEz4uPDHG2o8VrB576m y5IxjulrA5k0qjE8HH0rosakDCywmNHlC7DQV5am4PbloS2C3a/fioJ9l4HjnU40jhQv76qPFjJ EFr+olSlnU38LCY8vkwjHXXC/4I5BlLa6MK1y4 X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--18.321900-8.000000 X-TMASE-Version: SMEX-12.5.0.5042-8.2.9001-23734.000 X-TMASE-POSTMAN: 2-d; X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Dmitry and Lee The series seems not being got merged. Are they good enough to be ready into the your tree? Recently I've tested the series with focusing on pwrkey event generated through interrupt when push and release the key on bpi-r2 board and then finally it's working fine. but for homekey it cannot be found on the board and thus I cannot have more tests more about it. Tested-by: Sean Wang Sean On Thu, 2018-03-22 at 10:03 +0800, Sean Wang (王志亘) wrote: > > > -----Original Message----- > > From: Linux-mediatek [mailto:linux-mediatek-bounces@lists.infradead.org] On > > Behalf Of Chen Zhong > > Sent: Wednesday, October 25, 2017 9:16 PM > > To: Dmitry Torokhov ; Rob Herring > > ; Lee Jones ; Alexandre Belloni > > > > Cc: Mark Rutland ; Alessandro Zummo > > ; devicetree@vger.kernel.org; Linus Walleij > > ; Jaechul Lee ; linux- > > kernel@vger.kernel.org; Krzysztof Kozlowski ; Javier > > Martinez Canillas ; linux- > > mediatek@lists.infradead.org; linux-arm-kernel@lists.infradead.org; linux- > > input@vger.kernel.org; Matthias Brugger ; Eddie > > Huang (S智) ; Chen Zhong (钟辰) > > ; Beomho Seo ; > > linux-rtc@vger.kernel.org > > Subject: [PATCH v6 0/6] Add MediaTek PMIC keys support > > > > MediaTek PMIC are multi-function devices that can handle key interrupts, > > typically there are two keys attached to PMIC, which called pwrkey and > > homekey. PWRKEY usually used to wake up system from sleep. Homekey can > > used as volume down key due to board design. Long press keys can shutdown > > PMIC, the mode can be choose to be one key only or two keys together. > > This series add support for key functions for MediaTek PMIC MT6397/MT6323. > > > > Changes since v5: > > - use __maybe_unused annotation instead of #ifdef guard > > - use of_* API instead of device_* API > > > > Changes since v4: > > - rebase to Linux 4.14-rc1 > > - add a common keyboard binding document > > - use child device tree node to define each key > > > > Changes since v3: > > - make the naming to be consistent as mtk_pmic or MTK_PMIC > > - add suspend/resume functions to enable/disable irq > > - change binding properties to define wakeup sources > > > > Changes since v2: > > - use standard properties for keycodes and debounce time > > - change to use platform_get_irq in leaf drivers > > - use better ways to define IRQ resources > > > > Changes since v1: > > - create irq mappings in mfd core driver instead of leaf drivers > > - remove some unused parts in mtk-pmic-keys driver > > > > Chen Zhong (6): > > mfd: mt6397: create irq mappings in mfd core driver > > dt-bindings: input: Add common keyboard document bindings > > dt-bindings: input: Add document bindings for mtk-pmic-keys > > dt-bindings: mfd: Add bindings for the keys as subnode of PMIC > > input: Add MediaTek PMIC keys support > > mfd: mt6397: Add PMIC keys support to MT6397 driver > > > > Documentation/devicetree/bindings/input/keys.txt | 8 + > > .../devicetree/bindings/input/mtk-pmic-keys.txt | 43 +++ > > Documentation/devicetree/bindings/mfd/mt6397.txt | 6 + > > drivers/input/keyboard/Kconfig | 9 + > > drivers/input/keyboard/Makefile | 1 + > > drivers/input/keyboard/mtk-pmic-keys.c | 339 > > +++++++++++++++++++++ > > drivers/mfd/mt6397-core.c | 26 +- > > drivers/rtc/rtc-mt6397.c | 7 +- > > 8 files changed, 432 insertions(+), 7 deletions(-) create mode 100644 > > Documentation/devicetree/bindings/input/keys.txt > > create mode 100644 Documentation/devicetree/bindings/input/mtk-pmic- > > keys.txt > > create mode 100644 drivers/input/keyboard/mtk-pmic-keys.c > > > > -- > > 1.9.1 > > > > > > > > _______________________________________________ > > Linux-mediatek mailing list > > Linux-mediatek@lists.infradead.org > > http://lists.infradead.org/mailman/listinfo/linux-mediatek