From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) (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 7CB243A1D1C; Thu, 26 Feb 2026 10:39:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.10 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772102401; cv=none; b=AY3HinzdcekSFRSDz1hbPAA1YtDZly8yGb4t0KlaAEttSLZCIMCOsmM3WTULSYoX//MRT8ghwdHgM2sx1wLaFGytcJ7p3DCzXbYPZ3fGBCWK8n6Tt1YPlmwo75SdcEcHJdJkaRS2BmxN1t8J1iLW5PDKOunt4pBBQgTSqRnsAM8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772102401; c=relaxed/simple; bh=+aJzA5ViUvlKgBJcGoAel/ZoO/g+kP6obBbuX3CEJnc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=tWZKX4QQFQnf5JQ4JJEMbG+OodMmr7dVmzBR98E8kb8mBFfxCa0zGJpeC+SMHnn+GIx/7eDrYIktko9eGTAcup7t/V8P4fkxru2CxlJwesTSOEdAjplYoOLAKvwFnse5uINAH7OIHUsoW/lr2BLwvzEM2dCzqlmOlXsLkdrEVYg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=pass smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=mARa/vGy; arc=none smtp.client-ip=198.175.65.10 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="mARa/vGy" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1772102400; x=1803638400; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=+aJzA5ViUvlKgBJcGoAel/ZoO/g+kP6obBbuX3CEJnc=; b=mARa/vGyiIeHL3gcr+RSjecImzvHinF066eYKoRTCZ6HF4g97FuErEep 4wzK9+n1/h8o8SwNY76F1cGKV6SbarFjjmC7xRinD+JQGoK8piEN7fqbc 3YAfLIktmFDl2TlH8av3xYsJCi87+O+lNBgK+jBfXTN3Je22Me65tHCiv 4NEQFmxoDGm2LhlCi8yCewpnnZ8cNkafCzY8AArvKVXEHKc5v/PhUmr8U gZq9ZBO4P1FMYIoQaDTPwWcYTxArwxfwGsw9mxnmYPijDCQ0Cyacna0Vz TJJAnvkwuk/cImbw6sb59bQO/5FDSoXqVRMc1xmtO6t6nRc+GI0inRS/x A==; X-CSE-ConnectionGUID: 84UkzyWwSIW8XFefDRGnHw== X-CSE-MsgGUID: RCoYr/94TkCncS9IEGIN9g== X-IronPort-AV: E=McAfee;i="6800,10657,11712"; a="90569119" X-IronPort-AV: E=Sophos;i="6.21,312,1763452800"; d="scan'208";a="90569119" Received: from orviesa009.jf.intel.com ([10.64.159.149]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Feb 2026 02:40:00 -0800 X-CSE-ConnectionGUID: bHa6tfM2RPOqdqOJqXaCcQ== X-CSE-MsgGUID: 6JjRpUMQRcSwLZy9aB7i7Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.21,312,1763452800"; d="scan'208";a="216433257" Received: from pgcooper-mobl3.ger.corp.intel.com (HELO kekkonen.fi.intel.com) ([10.245.244.210]) by orviesa009-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Feb 2026 02:39:55 -0800 Received: from kekkonen.localdomain (localhost [IPv6:::1]) by kekkonen.fi.intel.com (Postfix) with SMTP id 0D1F311FA45; Thu, 26 Feb 2026 12:40:23 +0200 (EET) Date: Thu, 26 Feb 2026 12:40:22 +0200 Organization: Intel Finland Oy - BIC 0357606-4 - c/o Alberga Business Park, 6 krs, Bertel Jungin Aukio 5, 02600 Espoo From: Sakari Ailus To: Bartosz Golaszewski Cc: Greg Kroah-Hartman , "Rafael J. Wysocki" , Danilo Krummrich , Linus Walleij , Bartosz Golaszewski , Dmitry Torokhov , Andy Shevchenko , Daniel Scally , Heikki Krogerus , Len Brown , driver-core@lists.linux.dev, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-acpi@vger.kernel.org Subject: Re: [PATCH v4] gpiolib: match secondary fwnode too in gpio_device_find_by_fwnode() Message-ID: References: <20260226-device-match-secondary-fwnode-v4-1-27bd0cfbd8c6@oss.qualcomm.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: <20260226-device-match-secondary-fwnode-v4-1-27bd0cfbd8c6@oss.qualcomm.com> Hi Bartosz, Thanks for the update. On Thu, Feb 26, 2026 at 10:56:36AM +0100, Bartosz Golaszewski wrote: > In GPIOLIB, during fwnode lookup, after having resolved the consumer's > reference to a specific fwnode, we only match it against the primary > node of the controllers. Let's extend that to also the secondary node by > reworking gpio_chip_match_by_fwnode() > > Suggested-by: Dmitry Torokhov > Reviewed-by: Danilo Krummrich > Reviewed-by: Rafael J. Wysocki (Intel) > Reviewed-by: Linus Walleij > Signed-off-by: Bartosz Golaszewski Reviewed-by: Sakari Ailus -- Kind regards, Sakari Ailus