Linux Patches Work To Upstream Raspberry Pi's RP1 PCI Device Support

Written by Michael Larabel in Raspberry Pi on 20 August 2024 at 12:47 PM EDT. 11 Comments
RASPBERRY PI
Andrea della Porta of SUSE has been working on upstreaming the Linux kernel support to boot the Raspberry Pi 5 on a mainline kernel. Over the past few months Andrea has posted a number of different patches derived in part from Raspberry Pi's downstream kernel code. The latest effort being pursued by the SUSE engineer is on upstreaming Raspberry Pi RP1 PCI device support using a DeviceTree overlay.

With the Raspberry Pi 5 there is the RP1 as an in-house I/O controller / chipset used for providing the MIPI camera input, display output, USB 2, USB 3, analog video output, Gigabit Ethernet MAC, and other I/O functionality for this single board computer.

Raspberry Pi RP1 chipset


Andrea della Porta explained with today's new patch series:
"RP1 is an MFD chipset that acts as a south-bridge PCIe endpoint sporting a pletora of subdevices (i.e. Ethernet, USB host controller, I2C, PWM, etc.) whose registers are all reachable starting from an offset from the BAR address. The main point here is that while the RP1 as an endpoint itself is discoverable via usual PCI enumeraiton, the devices it contains are not discoverable and must be declared e.g. via the devicetree.

This patchset is an attempt to provide a minimum infrastructure to allow the RP1 chipset to be discovered and perpherals it contains to be added from a devictree overlay loaded during RP1 PCI endpoint enumeration. Followup patches should add support for the several peripherals contained in RP1.

This work is based upon dowstream drivers code and the proposal from RH et al."

These patches also depend upon the still yet-to-be-upstreamed BCM2712 PCIe controller patches. We're quickly approaching one year since the release of the Raspberry Pi 5 in October and at this rate it's looking like by that point the mainline kernel will still not yet have full upstream support for this popular ARM64 SBC.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week