From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.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 35D6E38C40C for ; Mon, 4 May 2026 11:05:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.17 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777892747; cv=none; b=Iv1nvN7hUToykY7NMIl6erN4pBQZnGjLkQqqVRUKKObzGGRr7etobdMDpGuGFULRj9EHb51pNNB2yJrqyK5eBCahgCJphXCPrslw2TC+d0DzwTBMe41J8gFMwkdOJ6uSO4tGQgA/eU2lf0v2hg2P+iZqNvIxHO9Bk2EOIkVhJWk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777892747; c=relaxed/simple; bh=pd0CV/kgRoy/Ie0aa/FbLfX3NCPZyqxXB93xfwHnrvw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=RjAyVctzlq47bIqEnjebe4UvGG7N1BkI2DEZoQwGeQMJNZctKeDFXqZqdmZJ/V4QBna7opXZonXGU8qa7s8ScjjsUowRdrVCU0eQZahTXJh2wEO59A9EZtSB39BGv00gA4pSa9CPvSESc/IWl1bD2pukn31eS0PpknE+PJWE8PQ= 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=YjrFDp5J; arc=none smtp.client-ip=198.175.65.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=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="YjrFDp5J" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1777892747; x=1809428747; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=pd0CV/kgRoy/Ie0aa/FbLfX3NCPZyqxXB93xfwHnrvw=; b=YjrFDp5Jyw9lssyW2T/0yOZ5+UQOd4zjzrbtdSrY8iIcYc2Lu8LXgp0d fhILPQwVB2hC7J6WQoaUakcv4CDlycKokhv/2E8z6VbE8O/Sr71khrkd9 jC2RVcnNL7o+moRMg9o/5xHIOU2TqTfHYGsclFMl1ltJ62txdUDavX34Q uktckCP4K3CQadit+hsAm7LCuuhJqZdveD+bAj/sJ7bGRjVhQ14T8bgKQ HTPvCe7Hh/EFm51NhFzNlm847tYbQkrwm/9bWbuHs1aD5Wj6pQ+h40pst mY1bhCKjga+/hJXSF7Cj7aMiILi0bDIu+m78YGkSEA/A+ICcsJyiP8IwN w==; X-CSE-ConnectionGUID: 2VkJ3KUhQoK7aiSAk/2bfw== X-CSE-MsgGUID: 3BYiEMtvTOSMU83AZ/K8GA== X-IronPort-AV: E=McAfee;i="6800,10657,11775"; a="78738927" X-IronPort-AV: E=Sophos;i="6.23,215,1770624000"; d="scan'208";a="78738927" Received: from fmviesa001.fm.intel.com ([10.60.135.141]) by orvoesa109.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 May 2026 04:05:46 -0700 X-CSE-ConnectionGUID: UnvderQeTcirAk4hGVk4+g== X-CSE-MsgGUID: 0MjSFDvkQ5e+lDa++RYqQQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.23,215,1770624000"; d="scan'208";a="259135356" Received: from hrotuna-mobl2.ger.corp.intel.com (HELO localhost) ([10.245.245.78]) by smtpauth.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 May 2026 04:05:41 -0700 Date: Mon, 4 May 2026 14:05:39 +0300 From: Andy Shevchenko To: Bartosz Golaszewski Cc: Daniel Scally , Heikki Krogerus , Sakari Ailus , Greg Kroah-Hartman , "Rafael J. Wysocki" , Danilo Krummrich , Mika Westerberg , Andy Shevchenko , Linus Walleij , Hans de Goede , Ilpo =?iso-8859-1?Q?J=E4rvinen?= , Dmitry Torokhov , Len Brown , linux-acpi@vger.kernel.org, driver-core@lists.linux.dev, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, platform-driver-x86@vger.kernel.org, brgl@kernel.org Subject: Re: [PATCH v5 2/2] platform/x86: x86-android-tablets: enable fwnode matching of GPIO chips Message-ID: References: <20260504-baytrail-real-swnode-v5-0-c7878b69e383@oss.qualcomm.com> <20260504-baytrail-real-swnode-v5-2-c7878b69e383@oss.qualcomm.com> Precedence: bulk X-Mailing-List: driver-core@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260504-baytrail-real-swnode-v5-2-c7878b69e383@oss.qualcomm.com> Organization: Intel Finland Oy - BIC 0357606-4 - c/o Alberga Business Park, 6 krs, Bertel Jungin Aukio 5, 02600 Espoo On Mon, May 04, 2026 at 12:58:57PM +0200, Bartosz Golaszewski wrote: > In order to allow GPIOLIB to match cherryview and baytrail GPIO > controllers by their firmware nodes instead of their names, we need to > attach the - currently "dangling" - existing software nodes to their > target devices dynamically. > > The driver uses platform_create_bundle() and expects all required > providers to be present before it itself is probed. We know the name of > the device we're waiting for so look them up and assign the appropriate > software node as the secondary firmware node of the underlying ACPI node. > > Scheduling fine-grained devres actions allows for proper teardown and > unsetting of the secondary firmware nodes. This version is much better than previous variants (and simpler), so, FWIW Reviewed-by: Andy Shevchenko -- With Best Regards, Andy Shevchenko