Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5544853rdb; Wed, 13 Dec 2023 11:41:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IH41aUBcmUpfRogdwInMh4rBoyyiKU6G2kxqgCXY4pa1SC9JxBxvY2q5O7WS0jFcjXzBzBC X-Received: by 2002:a17:902:ec90:b0:1d0:ad0e:bef4 with SMTP id x16-20020a170902ec9000b001d0ad0ebef4mr11626521plg.63.1702496465317; Wed, 13 Dec 2023 11:41:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702496465; cv=none; d=google.com; s=arc-20160816; b=A+OWEw4DEOycT/vwPiCe1bcIJw2QybQHNX30gDfgQb6YsWi7VuQwEoDAZ3/ykPjrcd aWsScZPW/oDep5GMaSClSa3qyhTSZ7riw3YzRHlftjetTZ2YwKY+AFLkRL9wxSYh7bx6 ubNMnKkGBZw9rUV4Ke4g3J6Lh3Zsp/8K0jZvvUU3RppNrt3ZGduHWrphY2DABKNSwv8k AapI7NdzxV55oDDtt8IrKrn5sgjbLJZ6E16NR2kNFxPwdemD9lWeXXPGl2ZJNnMWD4zH 4IBziwXewNJbpYtqMQD9ECPrl93S7X+T0TeSjVe2RCYDg936VG3sayksO9ZIGz+R/T9j g0pg== 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=1ymWTOR4gtVGei4so0mKIaAVmkm/Qb8ecU2HGaCQbWc=; fh=6YcZ38kIpLOWV303acM1velGuZFTof8Zjvb7zYIoZdA=; b=seujyQTnzPzHRsS7SByKiv0wNXOC8M4eWWVJMcLsBnu7HTizKQCtgUblpTGz9eIazB ugCL699bBIfUSS6JrgaJxq/PgCL7iJaTF9UMRL0qzpYgegnM0Gi9ygMF+KZ8mttZ1mAe dEsHiYtnK/2H9MAnaDBuanG0MGptEMCyTfyaTq/IUi6ZYZWEE8kzdKKU+J6Th1kwi5OF Y8jUqz6m0eFB6iOjfVlDqjPG7nOW4icsSHvW3LQaYHrpMX4FQzhI8F2kf0Wzfb/zwuqQ CjV1kVulpgjffNzwftFUl5MeBGPUNmwp/32xmqZ4KBV3nUo4aeT5ov1gvCKkhYxgV4yT T2QA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="lL9acd/5"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id je14-20020a170903264e00b001d355536380si1059770plb.175.2023.12.13.11.41.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 11:41:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="lL9acd/5"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 11ECA807E444; Wed, 13 Dec 2023 11:40:43 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233516AbjLMTk0 (ORCPT + 99 others); Wed, 13 Dec 2023 14:40:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229671AbjLMTkZ (ORCPT ); Wed, 13 Dec 2023 14:40:25 -0500 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AFB40E0; Wed, 13 Dec 2023 11:40:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1702496431; x=1734032431; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=TB6pdHRQrOCaGMVFpuGPsB29t4yb42FXCMwWcj1ZwFY=; b=lL9acd/50tmS4n/6fGFTtWucnFVoEQCDfLYwD7PcbN9NzMmT4AaSVdTB sul3FnkseHcKHYeunYtKenLYEdMD7PnIFbYK24xFbPTq0Zq0ybTp7uFjp 03ZQkZYe8n0WA0RUTNHlI9ySgPUTHeo+GQ05naxJCVgtu47VLxKZVAPhw xMiapz95LrC8QBSx+SOUJHjo3YRYTHM9q1na040jXRgf2uOwIq8tDk/03 qJDsIy0UQ0J2yTl0qWfuUbcT8Q+quiY9Dj7yGQc0H32zTzDelB85yfn+N +KgN+4p7Vbh+vrllAUkaU9Elbqe7ctPx17xbQS3MrRLNzPIh9yTjgIMyg Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10923"; a="380003847" X-IronPort-AV: E=Sophos;i="6.04,273,1695711600"; d="scan'208";a="380003847" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Dec 2023 11:40:31 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10923"; a="802985825" X-IronPort-AV: E=Sophos;i="6.04,273,1695711600"; d="scan'208";a="802985825" Received: from smile.fi.intel.com ([10.237.72.54]) by orsmga008.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Dec 2023 11:40:28 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.97) (envelope-from ) id 1rDV5l-00000005cxH-1HEp; Wed, 13 Dec 2023 21:40:25 +0200 Date: Wed, 13 Dec 2023 21:40:25 +0200 From: Andy Shevchenko To: Mark Hasemeyer Cc: LKML , Raul Rangel , Bartosz Golaszewski , Len Brown , Linus Walleij , Mika Westerberg , "Rafael J. Wysocki" , Wolfram Sang , linux-acpi@vger.kernel.org, linux-gpio@vger.kernel.org, linux-i2c@vger.kernel.org Subject: Re: [PATCH v1 1/6] gpiolib: acpi: Modify acpi_dev_irq_wake_get_by to use resource Message-ID: References: <20231213110009.v1.1.Ifd0903f1c351e84376d71dbdadbd43931197f5ea@changeid> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231213110009.v1.1.Ifd0903f1c351e84376d71dbdadbd43931197f5ea@changeid> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Wed, 13 Dec 2023 11:40:43 -0800 (PST) On Wed, Dec 13, 2023 at 11:00:19AM -0700, Mark Hasemeyer wrote: > Other information besides wake capability can be provided about GPIO > IRQs such as triggering, polarity, and sharability. Use resource flags > to provide this information to the caller if they want it. > > This should keep the API more robust over time as flags are added, > modified, or removed. It also more closely matches acpi_irq_get which > take a resource as an argument. > > Rename the function to acpi_dev_get_gpio_irq_resource to better describe > the function's new behavior. I have got only one patch out of 6. Also the series is missing a cover letter. Please, fix both issues in the next version of the series. -- With Best Regards, Andy Shevchenko