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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3DCF8C3DA4B for ; Fri, 12 Jul 2024 13:12:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To: From:Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=StjVOnU5djjXaehWS8TjNnExgQiHvF7T/RHfibeCJL0=; b=X+3QsYMCAvcsiTiRKZh4JJO5Q9 InEuvBbS4UPCW3urrq44ERkbFBXbaCkDY59/ZoD7zvzQ3CBnWZcmFHPaxjsY6J6O78D1ttd6zRAcu H1HjxOyy41itWBuFiWjpo3nVaH0aXrWB6IX0SI31+exWMdAY4Jk7GS4ufAr1W0N82dAb6+FYI4qyw NZMIoCeegFbLbAEVdBcmVXT0E3DmzYvrLMBiLTSH7LKFbuPXyeqrLsDTd2vMSmZOJ8wkVsT1QkOA+ qpFa97r8l1c1e6gDekGPuqNA9R47SJLzKvzsZ8cMsdRbvUt07yg3lvQopkIBVwJgFPy1lUaNwuxDx VQ+rkjUw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sSG3y-0000000060Z-2MVg; Fri, 12 Jul 2024 13:11:50 +0000 Received: from relay9-d.mail.gandi.net ([217.70.183.199]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sSG3e-000000005wT-3nxm for linux-arm-kernel@lists.infradead.org; Fri, 12 Jul 2024 13:11:33 +0000 Received: by mail.gandi.net (Postfix) with ESMTPSA id 96204FF811; Fri, 12 Jul 2024 13:11:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1720789886; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=StjVOnU5djjXaehWS8TjNnExgQiHvF7T/RHfibeCJL0=; b=bq2GtCDc/yQX7j0iSwRzBaqUG+BHWIGjTD3RSrtHJb0WAoAbTrSv7AzYkV5jZcU5EmCBZJ Np7r9LOxpuWSSr7b6AWb4kTRfbNrGKOI/s8xN3nxlp7TKmLLxKDSlCS40jnjMoEp0HnQVN AOll4fv6Iq8q6S/lQxhqGOuSgb1TIx4p8mmhNjYYBZLaDwBtyTbkUqh8j8abIroK70Se6O l46i48SNnAteGnzfTvYzrwpmCPp1rJDS1vzVFn3L4k9A+nAsKUqHxUvYV8iNMUjXV9h2I3 m9z+Irm4BA7+8Dq7XYx5V9+KUiznXlu1/XUoha+QHZfZIhPNRqQ68zwEPp6PRg== Date: Fri, 12 Jul 2024 15:11:22 +0200 From: Herve Codina To: Rob Herring , Conor Dooley , Conor Dooley Cc: Greg Kroah-Hartman , Lee Jones , Andy Shevchenko , Simon Horman , Krzysztof Kozlowski , Arnd Bergmann , UNGLinuxDriver@microchip.com, Saravana Kannan , Bjorn Helgaas , Philipp Zabel , Lars Povlsen , Steen Hegelund , Daniel Machon , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Horatiu Vultur , Andrew Lunn , devicetree@vger.kernel.org, netdev@vger.kernel.org, linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Allan Nielsen , Luca Ceresoli , Thomas Petazzoni Subject: Re: [PATCH v3 6/7] mfd: Add support for LAN966x PCI device Message-ID: <20240712151122.67a17a94@bootlin.com> In-Reply-To: References: <20240627091137.370572-1-herve.codina@bootlin.com> <20240627091137.370572-7-herve.codina@bootlin.com> <20240711152952.GL501857@google.com> <20240711184438.65446cc3@bootlin.com> <2024071113-motocross-escalator-e034@gregkh> Followup-To: linux-kernel@vger.kernel.org Organization: Bootlin X-Mailer: Claws Mail 4.2.0 (GTK 3.24.41; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-GND-Sasl: herve.codina@bootlin.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240712_061131_374620_CC41ADF9 X-CRM114-Status: GOOD ( 22.67 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Rob, Conor, On Thu, 11 Jul 2024 14:33:26 -0600 Rob Herring wrote: > On Thu, Jul 11, 2024 at 1:08 PM Greg Kroah-Hartman > wrote: > > > > On Thu, Jul 11, 2024 at 06:44:38PM +0200, Herve Codina wrote: > > > Hi Lee, > > > > > > On Thu, 11 Jul 2024 16:29:52 +0100 > > > Lee Jones wrote: > > > > > > > On Thu, 27 Jun 2024, Herve Codina wrote: > > > > > > > > > Add a PCI driver that handles the LAN966x PCI device using a device-tree > > > > > overlay. This overlay is applied to the PCI device DT node and allows to > > > > > describe components that are present in the device. > > > > > > > > > > The memory from the device-tree is remapped to the BAR memory thanks to > > > > > "ranges" properties computed at runtime by the PCI core during the PCI > > > > > enumeration. > > > > > > > > > > The PCI device itself acts as an interrupt controller and is used as the > > > > > parent of the internal LAN966x interrupt controller to route the > > > > > interrupts to the assigned PCI INTx interrupt. > > > > > > > > Not entirely sure why this is in MFD. > > > > > > This PCI driver purpose is to instanciate many other drivers using a DT > > > overlay. I think MFD is the right subsystem. > > It is a Multi-function Device, but it doesn't appear to use any of the > MFD subsystem. So maybe drivers/soc/? Another dumping ground, but it > is a driver for an SoC exposed as a PCI device. > In drivers/soc, drivers/soc/microchip/ could be the right place. Conor, are you open to have the PCI LAN966x device driver in drivers/soc/microchip/ ? Best regards, Hervé