Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7C902C43331 for ; Wed, 13 Nov 2019 13:22:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 504EC222CD for ; Wed, 13 Nov 2019 13:22:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726548AbfKMNWH (ORCPT ); Wed, 13 Nov 2019 08:22:07 -0500 Received: from mga17.intel.com ([192.55.52.151]:12539 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726190AbfKMNWG (ORCPT ); Wed, 13 Nov 2019 08:22:06 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Nov 2019 05:22:06 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,300,1569308400"; d="scan'208";a="207793953" Received: from smile.fi.intel.com (HELO smile) ([10.237.68.40]) by orsmga006.jf.intel.com with ESMTP; 13 Nov 2019 05:22:04 -0800 Received: from andy by smile with local (Exim 4.93-RC1) (envelope-from ) id 1iUsax-0003ad-Ik; Wed, 13 Nov 2019 15:22:03 +0200 Date: Wed, 13 Nov 2019 15:22:03 +0200 From: Andy Shevchenko To: Linus Walleij Cc: Bartosz Golaszewski , "open list:GPIO SUBSYSTEM" , Mika Westerberg , Hans de Goede Subject: Re: [PATCH v2 3/7] gpiolib: Introduce ->add_pin_ranges() callback Message-ID: <20191113132203.GE32742@smile.fi.intel.com> References: <20191105203557.78562-1-andriy.shevchenko@linux.intel.com> <20191105203557.78562-4-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org On Wed, Nov 13, 2019 at 10:46:24AM +0100, Linus Walleij wrote: > On Tue, Nov 5, 2019 at 9:36 PM Andy Shevchenko > wrote: > > > When IRQ chip is being added by GPIO library, the ACPI based platform expects > > GPIO <-> pin mapping ranges to be initialized in order to correctly initialize > > ACPI event mechanism on affected platforms. Unfortunately this step is missed. > > > > Introduce ->add_pin_ranges() callback to fill the above mentioned gap. > > > > Signed-off-by: Andy Shevchenko > > Reviewed-by: Linus Walleij Thank you. > I also think DT drivers can benefit from this. > I expect this in a big pull request :) You mean GPIO library one? Pin control is the other one and it seems that part of Intel pin control (despite Lynxpoint case) will be split between v5.5 and v5.6 due to this very patch as dependency. -- With Best Regards, Andy Shevchenko