Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5693680rwr; Mon, 24 Apr 2023 07:46:31 -0700 (PDT) X-Google-Smtp-Source: AKy350bWDZmibCRWnNVm0xbscbhRNHhGUD2cnGnvLADahHLjYFzYvGZ+P5N0oYgdR10fP2l2tf/7 X-Received: by 2002:a05:6a20:7f9b:b0:da:6993:73d5 with SMTP id d27-20020a056a207f9b00b000da699373d5mr18318182pzj.47.1682347591403; Mon, 24 Apr 2023 07:46:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682347591; cv=none; d=google.com; s=arc-20160816; b=f/7OpRbEwbO6pz9vrywakihLSLhbZORSz59LbzNDRwE418vftAOsSLk+rfmXkLJIrW mEWy8qxysOr87HJz9mcq5+bbbnoZAevqCZKtb8+wHsJBQYuyJNUv8oNeCQv4Z5rmmZyA TpQg8KDIQ/io3VOGMQ84vMWn4XJJigXjf8ucef0Ef/p6plRsvZfaUfNWJm6O5ZG97byJ I1/0BdKZU1UOFYEL3KgzKwNcRjymiF2JxQM7BSjxtQAvbDLHLS8o+ZVUlpxguxqiurk9 OiRJ61lunpgO2PBmoLiNJVn1bTaefjjaSfx5affW/is771z6VqlIcpMXHkPMeSD5CPQt r9mg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=HazInnysuv0JbMRnGKKPKvj2rvnRdxok+p0Dsxiybpk=; b=CWDTZQglrT24Um0/K+gSv4/ZvQxOpPXpmEIm0ZBtWIkSRuFHuQpcxhxNiuIVk8Nmoy a/pSjj7feQDujA1ImNmlozWl47tqtCp6DtfulqMEuF+dq1wCdsmFFQWB+Jtcr6l1MRZB g+0vHZXkTODSXhAgKLYnl6Nye7CNqup81uORYRJTvpALS5onxFixzJ9aQxAEh1pyhSyA P7f5P+qxLdNjikMIRw0J+Umq58b6c6JOq2/qkwb9Iw1dFGALBLJ9P83XiU92yftgucTf t6lB9/34+fXDdbvSmfa1iMHt/5FX0NKE5KZoflWaDiqtWz4m4ODUjHddc9zFxamSvcwG Ej6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=F3d3KZnP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i184-20020a6387c1000000b00525025dfa5fsi5283991pge.377.2023.04.24.07.46.19; Mon, 24 Apr 2023 07:46:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=F3d3KZnP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231438AbjDXOqC (ORCPT + 99 others); Mon, 24 Apr 2023 10:46:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33982 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230343AbjDXOqA (ORCPT ); Mon, 24 Apr 2023 10:46:00 -0400 Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F46659F5; Mon, 24 Apr 2023 07:45:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1682347559; x=1713883559; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=tUvHsXlQ2ByySgWqpFGw+k0Fl2kN5oY9aO532Vuo1i4=; b=F3d3KZnPO8gGB7q1wAIZgUXpFG8buUcaI+cuKZNmkEtSxETOeRTBfKAQ BsN3pc50soJbgY8tFZ8geP0Q4t89xlWLuqtyNDrbck4GRNpLHb2KQ9LfU /W7d97seonoiEi7MIkyK82INop6QUzMVP/4olUkwJGEJxNYtcyRWsMIMo bAznNwk9cLTFjSwLxUuCOZfig9aZ9RBvXK8wXih9DgGvFiKjrJ4EikLWY iiF548fQ1ZVZnrwAMEb8fg0JmrGVqKq0h7n8NMMpbVt8UgXkbpIhyM5Te Lzi67fZSE+4eAjCbhLWWySZ5z7D5gwBVExqC1cxTKdyoZJm31Zxjk6cBX g==; X-IronPort-AV: E=McAfee;i="6600,9927,10690"; a="409405836" X-IronPort-AV: E=Sophos;i="5.99,222,1677571200"; d="scan'208";a="409405836" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Apr 2023 07:45:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10690"; a="762460388" X-IronPort-AV: E=Sophos;i="5.99,223,1677571200"; d="scan'208";a="762460388" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga004.fm.intel.com with ESMTP; 24 Apr 2023 07:45:55 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1pqxRx-004Yeh-1s; Mon, 24 Apr 2023 17:45:53 +0300 Date: Mon, 24 Apr 2023 17:45:53 +0300 From: Andy Shevchenko To: Nikita Shubin Cc: Arnd Bergmann , Linus Walleij , Alexander Sverdlin , Dmitry Torokhov , Jonathan Cameron , Lv Ruyi , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 27/43] input: keypad: ep93xx: add DT support for Cirrus EP93xx Message-ID: References: <20230424123522.18302-1-nikita.shubin@maquefel.me> <20230424123522.18302-28-nikita.shubin@maquefel.me> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230424123522.18302-28-nikita.shubin@maquefel.me> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 24, 2023 at 03:34:43PM +0300, Nikita Shubin wrote: > - get keymap from the device tree > - find register range from the device tree > - get interrupts from device tree Note, the below comments may be applied to the whole series where it makes sense. ... > +#include > +#include Why? You do not use them. Please, check all your patches to follow the rule: include only the headers you are really using (or their up level wrappers if required). (Hint: in this case you have to include mod_devicetable.h) ... > +static const struct of_device_id ep93xx_keypad_of_ids[] = { > + { .compatible = "cirrus,ep9301-keypad" }, > + {}, No comma for the terminator entry. > +}; -- With Best Regards, Andy Shevchenko