Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp431996ybk; Fri, 15 May 2020 04:40:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz+KtIQ9ZT71tPyiHsGkLsVT+yzMzx38LjLQkz3XY5KfdIWq/HqlfApLgxkJaSRGwxQ86us X-Received: by 2002:a17:906:848e:: with SMTP id m14mr2185591ejx.344.1589542851087; Fri, 15 May 2020 04:40:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589542851; cv=none; d=google.com; s=arc-20160816; b=Mj4d47kdGraJRU4ynscaEcDiWIdB5jg2nuZM9tTV/NgwkSOYw7ws7kFMVKfKg/OfwW k7egCdeTPc3Ae8f30l3niKyN1ThyVZZxx98gMR50y6ZtdpenqfdGcSesIyKjVLZcGXEx MWfHqtKq+zYcMadSyt0ukkkhFVni9E8mB+NdISAcPisveMnGOkcdPVGNEQlgSndSWQ/4 0MHtilRzUM6vAqWpe+zKGrqXQhUv0FypLP5XkuSUL+lPzq40HCQ1/+qb6yJa8VuZ4hE/ yMyWb6wNO+yIcDicXgwSH1586XxYaBym6nOeSmdup3pKKUM/YbfiMG7GHxFVN8/10nWS nAXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:ironport-sdr:ironport-sdr; bh=19QKMNhkeNFVLp5Nhe8YcnsORP1IrDfh1fmX7WoXdR8=; b=PVXKwb8qJm6cq7B418lwBMcztXxDrsKbY7aff3PFrUJx1UbmdD57xrbysrtlefKZlH tY5pfeBdwEUIQO3I+wuQzL1uM5n8rIqEDA74+Js7aJDOT+lIQMj8ALevAsQU1Q1v+UYE 2brN5APfytkbaVYxw/kK+PziE7BDThhonysL6Fecik9ZVtK6rQ8cilnMaHFraMmkl34z qlmUomaLcy6E+tQedjej4WC5hhWvGgWHCmoq1rYKoOtXyyu4tTSuQFJXy+KMmShqV2j6 N/u25fs6uSCe6tpFxluNHyrPVup9buB0W4/FMuDqC6er61j2hk/62l73cANOqy2AJzon A98Q== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q11si1090796eju.120.2020.05.15.04.40.27; Fri, 15 May 2020 04:40:51 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726206AbgEOLiJ (ORCPT + 99 others); Fri, 15 May 2020 07:38:09 -0400 Received: from mga12.intel.com ([192.55.52.136]:26982 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726177AbgEOLiH (ORCPT ); Fri, 15 May 2020 07:38:07 -0400 IronPort-SDR: uQ1tLTC1rZYOkZUYuzJTwjyM4Ig7eojPOXKbEz7k1M+XSpxxrRuBDTRMQ5lFZp9GCuVNfRY4W9 nsbe1FAbxUMw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 May 2020 04:38:07 -0700 IronPort-SDR: 7syfHYZiSk8sdH8ji4fv9pM54Sp1BiN4RvBPVmxzksORhZghe3ut/diu/a4C7Nlf1zWtmcXfJu gIzg/VPBiymw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,395,1583222400"; d="scan'208";a="464877908" Received: from smile.fi.intel.com (HELO smile) ([10.237.68.40]) by fmsmga006.fm.intel.com with ESMTP; 15 May 2020 04:38:05 -0700 Received: from andy by smile with local (Exim 4.93) (envelope-from ) id 1jZYfI-006qgY-Gz; Fri, 15 May 2020 14:38:08 +0300 Date: Fri, 15 May 2020 14:38:08 +0300 From: Andy Shevchenko To: Fengping Yu Cc: Yingjoe Chen , Dmitry Torokhov , Marco Felsch , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v8] Add matrix keypad driver support for Mediatek SoCs Message-ID: <20200515113808.GQ185537@smile.fi.intel.com> References: <20200515062007.28346-1-fengping.yu@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200515062007.28346-1-fengping.yu@mediatek.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 15, 2020 at 02:20:04PM +0800, Fengping Yu wrote: > > Change since v7: > - specify compatible property as const string > - add maxItem in required property > - squash keypad example nodes > - sort header file with alphabetic order > - align all define values and add MTK_ prefix to make more uniform > - change debounce value to default 16ms if not specified in dts > - remove extra braces > - separate clk prepare as an internal driver function > - add special compatible string > - modify CONFIG_KEYBOARD_MTK_KPD=m to build keypad as ko module You forgot to address at least some of my comments... > > fengping.yu (3): > dt-bindings: Add keypad devicetree documentation > drivers: input: keyboard: Add mtk keypad driver > configs: defconfig: Add CONFIG_ng.yu (3): > dt-bindings: Add keypad devicetree documentation > drivers: input: keyboard: Add mtk keypad driver > configs: defconfig: Add CONFIG_KEYBOARD_MTK_KPD=m > > .../devicetree/bindings/input/mtk-kpd.yaml | 94 +++++++ > arch/arm64/configs/defconfig | 1 + > drivers/input/keyboard/Kconfig | 9 + > drivers/input/keyboard/Makefile | 1 + > drivers/input/keyboard/mtk-kpd.c | 231 ++++++++++++++++++ > 5 files changed, 336 insertions(+) > create mode 100644 Documentation/devicetree/bindings/input/mtk-kpd.yaml > create mode 100644 drivers/input/keyboard/mtk-kpd.c > > -- > 2.18.0 > -- With Best Regards, Andy Shevchenko