From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 24017C433F5 for ; Tue, 3 May 2022 22:54:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236075AbiECW6O (ORCPT ); Tue, 3 May 2022 18:58:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244272AbiECW6D (ORCPT ); Tue, 3 May 2022 18:58:03 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 24CAC443D0; Tue, 3 May 2022 15:54:15 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 83725B821F1; Tue, 3 May 2022 22:53:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AE4D7C385A9; Tue, 3 May 2022 22:53:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1651618436; bh=MjVuCNNcWZXYf57iNg2O+Xmc5CIZbqZZo07gCpHDjes=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=gWRC7yU7yRQRDEtiNwaZ28IaQGxNmAxNwQoEaWdR1Q/imm6XlU15T3pHmqaeKz4s6 maM6tRjOaX4Qu48zV7nO2lHJEuA9xOuTwnje4MDNIIC6Ioh3EhelWkfhddNKwUi59B VWaIZaRk+d0Gt0nPB2b0/1ff0Fe5eUe+Jc20C+8Ki8h9+1F1hYSithwXIyNCZt5NHL JtmU6zqC2wEaZQzCGbYCLULw2DqdPVVu+mQpXLJh4mwEA/7fC3Fju9uf6yxEH62m8S Gpgg75q9S/nuy0a+1I+xyMkyQ1ee/YS9OxU+r4OfKyazjbj5J0+CMqxXQ4ujNP80AT dBbfO1vq3tEfQ== Date: Tue, 3 May 2022 17:53:53 -0500 From: Bjorn Helgaas To: =?iso-8859-1?Q?Cl=E9ment_L=E9ger?= Cc: Rob Herring , Frank Rowand , Pantelis Antoniou , Bjorn Helgaas , Allan Nielsen , Horatiu Vultur , Steen Hegelund , Thomas Petazzoni , Alexandre Belloni , Mark Brown , Andy Shevchenko , Jakub Kicinski , Hans de Goede , Andrew Lunn , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, Rob Herring Subject: Re: [PATCH 2/3] PCI: of: create DT nodes for PCI devices if they do not exists Message-ID: <20220503225353.GA415393@bhelgaas> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220427094502.456111-3-clement.leger@bootlin.com> Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org In subject: PCI: of: Create DT nodes ... if they do not exist The subject could be read as saying that you're going to create DT nodes before the PCI devices exist, but I think you mean that when we enumerate a PCI devices, we're *always* going to create a DT node for it, even if the DT didn't mention it. Maybe something like: PCI: of: Create DT node for every PCI device although I see Rob thinks this should be done on demand instead of doing it for every device, which sounds sensible to me. On Wed, Apr 27, 2022 at 11:45:01AM +0200, Clément Léger wrote: > In order to apply overlays to PCI device nodes, the nodes must first > exist. This commit add support to populate a skeleton tree for PCI bus > and devices. These nodes can then be used by drivers to apply overlays. s/This commit add support/Add support/ Bjorn