Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp1310003lqb; Thu, 18 Apr 2024 06:28:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVuX+UwZXVUYb1lyQkAkxhSjGAXmOtShhpyh/NBg/vkZvsIgXkVIQuhMdtibpJNi+0OqpHQYn8CYk7vRyHSy2eZpZ/ZBPN490R7ejasvg== X-Google-Smtp-Source: AGHT+IH7NRwDSOo+s9aLfoYGrm/rVfnMrkYjl9UTDFwY2KOW3hbozIRvIX0d6R5h1o16WrrGqGTb X-Received: by 2002:a17:902:c943:b0:1e4:6938:6fe2 with SMTP id i3-20020a170902c94300b001e469386fe2mr4344427pla.57.1713446895443; Thu, 18 Apr 2024 06:28:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713446895; cv=pass; d=google.com; s=arc-20160816; b=YWg3fUWdt+IXUe1DU1byNj/Och8CDM3n4h+16YZmXcNUgL35vQFPqiqXayf8jp6GyX JPlIzErpNSEyA4s+lWSUbMFxMXi6et1l5Gvnw0rW3Og6rylxBPPl2DxJJczRY6TVj+Ly a879mIQL8OAuP/TpIWAdvGFU6yk4gJAtam+MT9q/U/pMx90IPDeZtFmHQBMRRIkWV3iZ GuA3MV6N+9hNH1P83m1BNZ+/r4Exb1g5O3g+VZohAg7NS9hm2drYKyX8TEuiGpDU5M5a PuvxMEb6jNZvH2U4ndY7PKhzuyIBpcgWycRAjwfmMVdcxoBaBdhrKD+JDYHiWf+JsO3Y +xTw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=organization:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date:dkim-signature; bh=121UWAeiF1oyXz6H35hjnFrGEJBQD1OlIqwc0ZngGTA=; fh=YUFeAr5O4KhK32ba/GA+NnxP42BuPQ/+V5RqbntQfuM=; b=WoqWX5Utl550pn11tByVKLeg819K4BRIHRrYpnRcA8VYMm0SV1l9betxPvtr4kInE+ fRnKEl5RxwNB7g3QJVyhlHVkUXW1Y3ShAtfm+mNrgC2przX9tIxItk+GdD2Nl8vo3c7q SCvhUPdW0O3UsQ9DXal5E6NOTDtg0E9O0L8cqlddvmj4wlzypoP90LiIKBxtOiJPce7r L0t3XOEmNx4WbNFqLUhtvcQsBMwMiyUmGSeAZuH9kXO1C4huIBH9Te7CQTUtPMSBPxzl GYPYH6RTebzKA+BqRfcqZmO8NrRJCegrKD4TbrFj8AAmKroHGsJcB4py/6n3xBRIs5xU kYNA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=gr6RS90K; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-149806-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-149806-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id z3-20020a170903018300b001e4809380e0si1499334plg.444.2024.04.18.06.28.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 06:28:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-149806-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=gr6RS90K; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-149806-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-149806-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 88372B227AB for ; Thu, 18 Apr 2024 09:27:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E4AEA15B55B; Thu, 18 Apr 2024 09:23:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="gr6RS90K" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AE55715FA83; Thu, 18 Apr 2024 09:23:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.17 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713432232; cv=none; b=e8KBJZKpOUs4kM5ar0wALI8nOhk3bTL/BhZUx/yWKC1kuGGMZINsDctJHQJeh49JEo2gHGVT6TYjHlfCfK6hcnZnpTIdDoMNM3oaIxonY7UWl5Z6sH7cmdAcdyPjDM8Mr3S28zo7bJqsOSjqXa58/r7pVl+xZdbVNREgmTf4w4U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713432232; c=relaxed/simple; bh=xyCGbIQrl0v28CiXbp6mTeiFz8MkzajKU50M6utiOhA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=R97S9Jod1Q9N8qfZh6d3x+LGltFzux6M2mplUO7jFxh1qjqvBybcgavoiVpFp77EhhUWqBmanfP2RFTMOD+mPsNP5Cs7r9QSJ6DsG0RXd/PSwGV8iKMz7IAiyqcI/g4b5IESZridlwanxzXbcF7+tY7P3UknjUdJx660BAhtY+A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=gr6RS90K; arc=none smtp.client-ip=192.198.163.17 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1713432230; x=1744968230; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=xyCGbIQrl0v28CiXbp6mTeiFz8MkzajKU50M6utiOhA=; b=gr6RS90KvqKtEye7HsMk8EKsNOy4gC4I8Ru9t4G6Bhh6aX7hQ8QOKSKU qaElmGTWiSCXk1+lXah7gwbe7Er23DjUwnLCi6dtv9tKVftDcmVk5zZh4 2Pi35WFKpRiwM4pNbL+BqongeejdMwDQublkB10H69to5K5PJr4fnWSgQ YxuuLbd2mm7wFIaayIueT5MAj7zMUn+qY/gTNSTTDiHXuQOrIpalNBViU 8kOASmTEit6TNe7kFVJTxet03owfPCVS65FQHDMuHgWwGhAM4sq1BUFNm lcxL8LpJLOqx6kCgRT631ubvob11yAz2f9E30FxZyoJoDw+xRaYfAKgne g==; X-CSE-ConnectionGUID: lQNWlV4XSnudKIi6bZRJ/g== X-CSE-MsgGUID: uYLHqtrdTc6j0B56hYHFUg== X-IronPort-AV: E=McAfee;i="6600,9927,11047"; a="8833961" X-IronPort-AV: E=Sophos;i="6.07,211,1708416000"; d="scan'208";a="8833961" Received: from fmviesa010.fm.intel.com ([10.60.135.150]) by fmvoesa111.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Apr 2024 02:23:50 -0700 X-CSE-ConnectionGUID: a7sBlcRqRom0Qy2kUhH2aA== X-CSE-MsgGUID: 8qyU9DKmTiSYDO75vEp+qA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,211,1708416000"; d="scan'208";a="22982164" Received: from smile.fi.intel.com ([10.237.72.54]) by fmviesa010.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Apr 2024 02:23:48 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.97) (envelope-from ) id 1rxNze-00000000HZY-0Z9s; Thu, 18 Apr 2024 12:23:46 +0300 Date: Thu, 18 Apr 2024 12:23:45 +0300 From: Andy Shevchenko To: Mika Westerberg Cc: linux-gpio@vger.kernel.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, Linus Walleij , Bartosz Golaszewski Subject: Re: [PATCH v1 1/2] gpiolib: acpi: Add fwnode name to the GPIO interrupt label Message-ID: References: <20240417103829.2324960-1-andriy.shevchenko@linux.intel.com> <20240417103829.2324960-2-andriy.shevchenko@linux.intel.com> <20240418044907.GO112498@black.fi.intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240418044907.GO112498@black.fi.intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo On Thu, Apr 18, 2024 at 07:49:07AM +0300, Mika Westerberg wrote: > On Wed, Apr 17, 2024 at 01:37:27PM +0300, Andy Shevchenko wrote: > > It's ambiguous to have a device-related index in the GPIO interrupt > > label as most of the devices will have it the same or very similar. > > Extend label with fwnode name for better granularity. It significantly > > reduces the scope of searching among devices. > > Can you add an example here how it looks like before and after the > patch? Sure: Before: GpioInt() 0 GpioInt() 0 After: NIO1 GpioInt(0) URT0 GpioInt(0) Assuming I update this when applying, can you give your tag? -- With Best Regards, Andy Shevchenko