Thread (22 messages) 22 messages, 7 authors, 2024-07-23

Re: [PATCH v3 6/7] mfd: Add support for LAN966x PCI device

From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: 2024-07-11 19:08:54
Also in: linux-arm-kernel, linux-devicetree, linux-pci, lkml

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 [off-list ref] wrote:
quoted
On Thu, 27 Jun 2024, Herve Codina wrote:
quoted
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.
Please use the aux bus for that, that is what is was specifically
designed for, and what it is being used for today.

thanks,

greg k-h
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help