From: Matthias Brugger <mbrugger@suse.com>
To: Andrea della Porta <andrea.porta@suse.com>,
Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Florian Fainelli <florian.fainelli@broadcom.com>,
Broadcom internal kernel review list
<bcm-kernel-feedback-list@broadcom.com>,
Lorenzo Pieralisi <lpieralisi@kernel.org>,
Krzysztof Wilczynski <kw@linux.com>,
Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>,
Bjorn Helgaas <bhelgaas@google.com>,
Linus Walleij <linus.walleij@linaro.org>,
Catalin Marinas <catalin.marinas@arm.com>,
Will Deacon <will@kernel.org>,
Bartosz Golaszewski <brgl@bgdev.pl>,
Derek Kiernan <derek.kiernan@amd.com>,
Dragan Cvetic <dragan.cvetic@amd.com>,
Arnd Bergmann <arnd@arndb.de>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Saravana Kannan <saravanak@google.com>,
linux-clk@vger.kernel.org, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org,
linux-gpio@vger.kernel.org,
Masahiro Yamada <masahiroy@kernel.org>,
Stefan Wahren <wahrenst@gmx.net>,
Herve Codina <herve.codina@bootlin.com>,
Luca Ceresoli <luca.ceresoli@bootlin.com>,
Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
Andrew Lunn <andrew@lunn.ch>, Phil Elwell <phil@raspberrypi.com>,
Dave Stevenson <dave.stevenson@raspberrypi.com>,
kernel-list@raspberrypi.com
Subject: Re: [PATCH v11 07/13] misc: rp1: RaspberryPi RP1 misc driver
Date: Thu, 29 May 2025 15:24:08 +0200 [thread overview]
Message-ID: <bdd3fe2f-28eb-4c85-99b2-7220cb15b9bc@suse.com> (raw)
In-Reply-To: <20250529124412.26311-2-andrea.porta@suse.com>
On 29/05/2025 14:43, Andrea della Porta wrote:
> The RaspberryPi RP1 is a PCI multi function device containing
> peripherals ranging from Ethernet to USB controller, I2C, SPI
> and others.
>
> Implement a bare minimum driver to operate the RP1, leveraging
> actual OF based driver implementations for the on-board peripherals
> by loading a devicetree overlay during driver probe if the RP1
> node is not already present in the DT.
>
> The peripherals are accessed by mapping MMIO registers starting
> from PCI BAR1 region.
>
> With the overlay approach we can achieve more generic and agnostic
> approach to managing this chipset, being that it is a PCI endpoint
> and could possibly be reused in other hw implementations. The
> presented approach is also used by Bootlin's Microchip LAN966x
> patchset (see link) as well, for a similar chipset.
> In this case, the inclusion tree for the DT overlay is as follow
> (the arrow points to the includer):
>
> rp1-pci.dtso <---- rp1-common.dtsi
>
> On the other hand, to ensure compatibility with downstream, this
> driver can also work with a DT already comprising the RP1 node, so
> the dynamically loaded overlay will not be used if the DT is already
> fully defined.
>
> The reason why this driver is contained in drivers/misc has
> been paved by Bootlin's LAN966X driver, which first used the
> overlay approach to implement non discoverable peripherals behind a
> PCI bus. For RP1, the same arguments apply: it's not used as an SoC
> since the driver code is not running on-chip and is not like an MFD
> since it does not really need all the MFD infrastructure (shared regs,
> etc.). So, for this particular use, misc has been proposed and deemed
> as a good choice. For further details about that please check the links.
>
> This driver is heavily based on downstream code from RaspberryPi
> Foundation, and the original author is Phil Elwell.
>
> Link: https://datasheets.raspberrypi.com/rp1/rp1-peripherals.pdf
> Link: https://lore.kernel.org/all/20240612140208.GC1504919@google.com/
> Link: https://lore.kernel.org/all/83f7fa09-d0e6-4f36-a27d-cee08979be2a@app.fastmail.com/
> Link: https://lore.kernel.org/all/2024081356-mutable-everyday-6f9d@gregkh/
> Link: https://lore.kernel.org/all/20240808154658.247873-1-herve.codina@bootlin.com/
>
> Signed-off-by: Andrea della Porta <andrea.porta@suse.com>
> Acked-by: Bjorn Helgaas <bhelgaas@google.com> # quirks.c, pci_ids.h
What changed in this patch so that you didn't include the Acked-by from Greg
[1], or is this an oversight?
Regards,
Matthias
[1] https://lore.kernel.org/linux-arm-kernel/2025042551-agency-boozy-dc3b@gregkh/
next prev parent reply other threads:[~2025-05-29 13:24 UTC|newest]
Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-29 12:43 [PATCH v11 0/13] Add support for RaspberryPi RP1 PCI device using a DT overlay Andrea della Porta
2025-05-29 12:43 ` [PATCH v11 06/13] arm64: dts: rp1: Add support for RaspberryPi's RP1 device Andrea della Porta
2025-05-29 12:43 ` [PATCH v11 07/13] misc: rp1: RaspberryPi RP1 misc driver Andrea della Porta
2025-05-29 13:24 ` Matthias Brugger [this message]
2025-05-29 13:30 ` Andrea della Porta
2025-05-29 12:43 ` [PATCH v11 08/13] arm64: dts: bcm2712: Add external clock for RP1 chipset on Rpi5 Andrea della Porta
2025-05-29 12:43 ` [PATCH v11 09/13] arm64: dts: broadcom: Add board DTS for Rpi5 which includes RP1 node Andrea della Porta
2025-05-29 12:43 ` [PATCH v11 10/13] arm64: dts: broadcom: Add overlay for RP1 device Andrea della Porta
2025-05-29 12:44 ` [PATCH v11 11/13] arm64: defconfig: Enable RP1 misc/clock/gpio drivers Andrea della Porta
2025-05-29 12:44 ` [PATCH v11 12/13] arm64: defconfig: Enable OF_OVERLAY option Andrea della Porta
2025-05-29 12:44 ` [PATCH v11 13/13] MAINTAINERS: add Raspberry Pi RP1 section Andrea della Porta
2025-05-29 13:39 ` [PATCH v11 0/13] Add support for RaspberryPi RP1 PCI device using a DT overlay Andrea della Porta
-- strict thread matches above, loose matches on Subject: below --
2025-05-29 11:23 [PATCH v10 " Andrea della Porta
2025-05-29 11:23 ` [PATCH v10 06/13] arm64: dts: rp1: Add support for RaspberryPi's RP1 device Andrea della Porta
2025-05-29 11:23 ` [PATCH v10 07/13] misc: rp1: RaspberryPi RP1 misc driver Andrea della Porta
2025-05-29 11:23 ` [PATCH v10 08/13] arm64: dts: bcm2712: Add external clock for RP1 chipset on Rpi5 Andrea della Porta
2025-05-29 11:23 ` [PATCH v10 09/13] arm64: dts: broadcom: Add board DTS for Rpi5 which includes RP1 node Andrea della Porta
2025-05-29 11:23 ` [PATCH v10 10/13] arm64: dts: broadcom: Add overlay for RP1 device Andrea della Porta
2025-05-29 11:23 ` [PATCH v10 11/13] arm64: defconfig: Enable RP1 misc/clock/gpio drivers Andrea della Porta
2025-05-29 11:23 ` [PATCH v10 12/13] arm64: defconfig: Enable OF_OVERLAY option Andrea della Porta
2025-05-29 11:23 ` [PATCH v10 13/13] MAINTAINERS: add Raspberry Pi RP1 section Andrea della Porta
2025-05-29 11:31 ` [PATCH v10 0/13] Add support for RaspberryPi RP1 PCI device using a DT overlay Greg Kroah-Hartman
2025-05-29 12:32 ` Andrea della Porta
2025-05-29 10:49 Andrea della Porta
2025-05-29 10:49 ` [PATCH v10 1/5] dt-bindings: clock: Add RaspberryPi RP1 clock bindings Andrea della Porta
2025-05-29 11:23 ` [PATCH v10 01/13] " Andrea della Porta
2025-05-29 12:43 ` [PATCH v11 " Andrea della Porta
2025-05-29 10:49 ` [PATCH v10 2/5] dt-bindings: pinctrl: Add RaspberryPi RP1 gpio/pinctrl/pinmux bindings Andrea della Porta
2025-05-29 11:23 ` [PATCH v10 02/13] " Andrea della Porta
2025-05-29 12:43 ` [PATCH v11 " Andrea della Porta
2025-05-29 10:49 ` [PATCH v10 3/5] dt-bindings: misc: Add device specific bindings for RaspberryPi RP1 Andrea della Porta
2025-05-29 11:23 ` [PATCH v10 03/13] " Andrea della Porta
2025-05-29 12:43 ` [PATCH v11 " Andrea della Porta
2025-05-29 10:49 ` [PATCH v10 4/5] clk: rp1: Add support for clocks provided by RP1 Andrea della Porta
2025-05-29 11:23 ` [PATCH v10 04/13] " Andrea della Porta
2025-05-29 12:43 ` [PATCH v11 " Andrea della Porta
2025-05-29 10:49 ` [PATCH v10 5/5] pinctrl: rp1: Implement RaspberryPi RP1 gpio support Andrea della Porta
2025-05-29 11:23 ` [PATCH v10 05/13] " Andrea della Porta
2025-05-29 12:43 ` [PATCH v11 " Andrea della Porta
2025-05-29 10:49 ` [PATCH v10] arm64: dts: rp1: Add support for RaspberryPi's RP1 device Andrea della Porta
2025-05-29 10:49 ` [PATCH v10] misc: rp1: RaspberryPi RP1 misc driver Andrea della Porta
2025-05-29 10:49 ` [PATCH v10 08/10] arm64: dts: bcm2712: Add external clock for RP1 chipset on Rpi5 Andrea della Porta
2025-05-29 10:49 ` [PATCH v10 09/10] arm64: dts: broadcom: Add board DTS for Rpi5 which includes RP1 node Andrea della Porta
2025-05-29 10:49 ` [PATCH v10 10/10] arm64: dts: broadcom: Add overlay for RP1 device Andrea della Porta
2025-05-29 10:49 ` [PATCH v10 11/12] arm64: defconfig: Enable RP1 misc/clock/gpio drivers Andrea della Porta
2025-05-29 10:49 ` [PATCH v10 12/12] arm64: defconfig: Enable OF_OVERLAY option Andrea della Porta
2025-05-29 10:49 ` [PATCH v10] MAINTAINERS: add Raspberry Pi RP1 section Andrea della Porta
2025-05-29 11:22 ` [PATCH v10 0/13] Add support for RaspberryPi RP1 PCI device using a DT overlay Andrea della Porta
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bdd3fe2f-28eb-4c85-99b2-7220cb15b9bc@suse.com \
--to=mbrugger@suse.com \
--cc=andrea.porta@suse.com \
--cc=andrew@lunn.ch \
--cc=arnd@arndb.de \
--cc=bcm-kernel-feedback-list@broadcom.com \
--cc=bhelgaas@google.com \
--cc=brgl@bgdev.pl \
--cc=catalin.marinas@arm.com \
--cc=conor+dt@kernel.org \
--cc=dave.stevenson@raspberrypi.com \
--cc=derek.kiernan@amd.com \
--cc=devicetree@vger.kernel.org \
--cc=dragan.cvetic@amd.com \
--cc=florian.fainelli@broadcom.com \
--cc=gregkh@linuxfoundation.org \
--cc=herve.codina@bootlin.com \
--cc=kernel-list@raspberrypi.com \
--cc=krzk+dt@kernel.org \
--cc=kw@linux.com \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=lpieralisi@kernel.org \
--cc=luca.ceresoli@bootlin.com \
--cc=manivannan.sadhasivam@linaro.org \
--cc=masahiroy@kernel.org \
--cc=mturquette@baylibre.com \
--cc=phil@raspberrypi.com \
--cc=robh@kernel.org \
--cc=saravanak@google.com \
--cc=sboyd@kernel.org \
--cc=thomas.petazzoni@bootlin.com \
--cc=wahrenst@gmx.net \
--cc=will@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).