Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp280178ybk; Sat, 9 May 2020 02:41:24 -0700 (PDT) X-Google-Smtp-Source: APiQypKt2PchhDFQClXHyohhM8Sn2IPxcAjdjOV63HjNRKOzRetrU1pgdQlLuCIDx1x2WUykHzy8 X-Received: by 2002:a17:906:81d7:: with SMTP id e23mr4968186ejx.309.1589017284192; Sat, 09 May 2020 02:41:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589017284; cv=none; d=google.com; s=arc-20160816; b=ZXqE7GNqQ49dX85uvYNkFKEuzLWr4vQmSGwrYzqkfVqGze3yf3FAKZipKjFb3zBcLM PtlOSxBao7u4uX2lsxHSwOiUXrSpkwl8jwkOSiY9TB1GOt7ylo9MN3CJzjcu/LH2Vhep pN7Z1OmWsJ3i+wO8PdWvcL42IA9IOq0JfRdN7IhstXbQ6SbJ2wruxwnrkIL0sZ0GNbWc PFsKNGh67mZF9wB+R99abZadS0d8Pe02yiyNLCtNiCQJxtoEwyJAA9w6aZTs5IfLxAWS lIszcctHJ9etzsC7JiifG4FE9urw72Mob3XLY9HtcVuzWR4vLpM8XcRo7/Bx5qh9tVVK UKOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=ciAO/AvBhG1+GouGTGmL11OAD4efXczGtX3yZDMNXC4=; b=PR5Cyc3G0p0uk4Qw1gnwApgedJdAeIMzFnZnjosIZgpj+BUFDqiaifCmKTaLLSaNeA OdCV7LirqpESsCZJEisk4O+JLvhk5lBsm8ITAicAV0eiP6OkVKBLjRW96VpRXHxzin+t 8JyapTDMDnBIQyj/8Hi22O7JaiDfG1R92DnALhK/wEAVLYULFk/3xHF4eBYq3E3I7ZGg XM5Ec3q9o7ySPgnG4SCR8+7l6QvfYVhwm61vraj264Fy0o5jzVFQv9Q8WMSZnVLsgWP3 S9tKpBbXBfqLb1gBnxQGGIY1Rrk01Mp1sL2aILMLZMPWFvlXx/Czq1QTGPQuDLsgy65H AjaQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n1si2605258ejr.104.2020.05.09.02.41.01; Sat, 09 May 2020 02:41:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728025AbgEIJjb (ORCPT + 99 others); Sat, 9 May 2020 05:39:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57520 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727812AbgEIJjb (ORCPT ); Sat, 9 May 2020 05:39:31 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E0691C05BD09 for ; Sat, 9 May 2020 02:39:30 -0700 (PDT) Received: from pty.hi.pengutronix.de ([2001:67c:670:100:1d::c5]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jXLwx-0002uz-Fz; Sat, 09 May 2020 11:39:15 +0200 Received: from mfe by pty.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1jXLww-0005mD-2O; Sat, 09 May 2020 11:39:14 +0200 Date: Sat, 9 May 2020 11:39:14 +0200 From: Marco Felsch To: Fengping Yu Cc: Andy Shevchenko , Dmitry Torokhov , Yingjoe Chen , linux-input@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v6] Add mtk matrix keypad driver for keypad on MTK SoC Message-ID: <20200509093914.qidkjwkp32gn6td6@pengutronix.de> References: <20200509020458.8359-1-fengping.yu@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200509020458.8359-1-fengping.yu@mediatek.com> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-Uptime: 11:36:19 up 176 days, 54 min, 170 users, load average: 0.06, 0.07, 0.01 User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c5 X-SA-Exim-Mail-From: mfe@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Yu, sorry if this is not your first name.. Something went wrong with you v6 since you are sending diffs to files that are not present in input-master/next. Regards, Marco On 20-05-09 10:04, Fengping Yu wrote: > Change since v5: > - remove unnecessary include files > - remove redundant comments and newlines > - use local irqnr variable instead of member variable of mtk_keypad struct > - use regmap to read and write registers > - drop kpd_get_dts_info directly into probe function > - use devm_add_action_or_reset to avoid goto error handling when do clk setting > - use devm_request_threaded_irq api to request irq > - remove platform_set_drvdata > > fengping.yu (3): > dt-bindings: Change keypad documentation schema > drivers: input: keyboard: Add mtk keypad driver > configs: defconfig: Add CONFIG_KEYBOARD_MTK_KPD=y > > .../devicetree/bindings/input/mtk-kpd.txt | 61 ------- > .../devicetree/bindings/input/mtk-kpd.yaml | 93 +++++++++++ > arch/arm64/configs/defconfig | 1 + > drivers/input/keyboard/Kconfig | 5 +- > drivers/input/keyboard/mtk-kpd.c | 151 ++++++++---------- > 5 files changed, 163 insertions(+), 148 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/input/mtk-kpd.txt > create mode 100644 Documentation/devicetree/bindings/input/mtk-kpd.yaml > > -- > 2.18.0 > > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |