From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (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 4FC3C280CC9; Mon, 29 Sep 2025 09:44:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.176.79.56 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759139057; cv=none; b=RXj7lkM3IndXD9wn8gO2zWg6An/S8ALII+K9Zp6M58ELeYwOEtdJv+Bn7cm61d3VzvwVizkaOulTlSoLWY6KxA4Wb8uKKeGABL93fsvN0x11C2kNpv6GnKSep3dNuytS2ihAqLgQ4Ehc3cp80VkKk5DZVWA5yVpCGjfQmtUvcDk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759139057; c=relaxed/simple; bh=1lftcBAGqzUu9NthPkBLuUTRhEAGMl1V72cKjTpoMGE=; h=Date:From:To:CC:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=qONiddtteMu4jqwjmONHCwiXaU+Trjui/H+RylYDwvVP3DPGsCl5/3447bxi/7in15kXaDvwQ1z043NkcOgwphv4i0O3YIZxGK9xCYFdwS5Q7THX9iI/uVUUGU2R3+C/igvXJqKb5qXVI7DNlGia7rB5exH2Pcv2tlrOqs2Ov6k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=185.176.79.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.18.186.216]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4cZx8x3P93z6L576; Mon, 29 Sep 2025 17:44:01 +0800 (CST) Received: from dubpeml100005.china.huawei.com (unknown [7.214.146.113]) by mail.maildlp.com (Postfix) with ESMTPS id DFB6614038F; Mon, 29 Sep 2025 17:44:11 +0800 (CST) Received: from localhost (10.47.64.220) by dubpeml100005.china.huawei.com (7.214.146.113) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Mon, 29 Sep 2025 10:44:10 +0100 Date: Mon, 29 Sep 2025 10:44:08 +0100 From: Jonathan Cameron To: Sakari Ailus , Krzysztof Kozlowski CC: , , , , , , , "Rafael J. Wysocki" , "Len Brown" , Greg Kroah-Hartman , Danilo Krummrich , Andy Shevchenko , Daniel Scally , Heikki Krogerus , Javier Carrasco , Dmitry Torokhov , Lee Jones , Pavel Machek , Matthias Fend , Chanwoo Choi , Laurent Pinchart , Paul Elder , Mauro Carvalho Chehab , Horatiu Vultur , , Andrew Lunn , "David S. Miller" , Eric Dumazet , "Jakub Kicinski" , Paolo Abeni , Mark Brown , Thomas Gleixner , Ingo Molnar Subject: Re: [PATCH v2 08/16] property: Document that fwnode API returns available nodes Message-ID: <20250929104408.00003cf5@huawei.com> In-Reply-To: <20250924074602.266292-9-sakari.ailus@linux.intel.com> References: <20250924074602.266292-1-sakari.ailus@linux.intel.com> <20250924074602.266292-9-sakari.ailus@linux.intel.com> X-Mailer: Claws Mail 4.3.0 (GTK 3.24.42; x86_64-w64-mingw32) Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: lhrpeml500012.china.huawei.com (7.191.174.4) To dubpeml100005.china.huawei.com (7.214.146.113) On Wed, 24 Sep 2025 10:45:54 +0300 Sakari Ailus wrote: > The fwnode API has historically provided two functions to iterate over a > fwnode's child nodes, fwnode_get_next_child_node() and > fwnode_get_next_available_child_node() whereas all of the fwnode API has > always worked on available nodes, apart unavailable ACPI child device > nodes could have been returned by fwnode_get_next_child_node(). > > Now that the availability check has been added to ACPI side as well, > document that the functions in the fwnode API return available nodes. > > Signed-off-by: Sakari Ailus > Reviewed-by: Andy Shevchenko Reviewed-by: Jonathan Cameron