[PATCH] PCI: rcar-gen4: Update how to obtain platform firmware

Marek Vasut posted 1 patch 1 week, 4 days ago
.../PCI/controller/rcar-pcie-firmware.rst     | 19 +++++--------------
1 file changed, 5 insertions(+), 14 deletions(-)
[PATCH] PCI: rcar-gen4: Update how to obtain platform firmware
Posted by Marek Vasut 1 week, 4 days ago
Renesas R-Car V4H (r8a779g0) has PCIe controller, and it requires
specific firmware downloading. The firmware is now available via
linux-firmware.git repository, update the documentation about how
to obtain the firmware and drop the conversion script.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
---
Cc: "Krzysztof Wilczyński" <kwilczynski@kernel.org>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Lorenzo Pieralisi <lpieralisi@kernel.org>
Cc: Magnus Damm <magnus.damm@gmail.com>
Cc: Manivannan Sadhasivam <mani@kernel.org>
Cc: Randy Dunlap <rdunlap@infradead.org>
Cc: Rob Herring <robh@kernel.org>
Cc: Shuah Khan <skhan@linuxfoundation.org>
Cc: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Cc: linux-doc@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: linux-pci@vger.kernel.org
Cc: linux-renesas-soc@vger.kernel.org
---
 .../PCI/controller/rcar-pcie-firmware.rst     | 19 +++++--------------
 1 file changed, 5 insertions(+), 14 deletions(-)

diff --git a/Documentation/PCI/controller/rcar-pcie-firmware.rst b/Documentation/PCI/controller/rcar-pcie-firmware.rst
index 67d3bf66e3158..edf4a156fff21 100644
--- a/Documentation/PCI/controller/rcar-pcie-firmware.rst
+++ b/Documentation/PCI/controller/rcar-pcie-firmware.rst
@@ -7,21 +7,12 @@ Firmware of PCIe controller for Renesas R-Car V4H
 Renesas R-Car V4H (r8a779g0) has a PCIe controller, requiring a specific
 firmware download during startup.
 
-However, Renesas currently cannot distribute the firmware free of charge.
+Firmware file "rcar_gen4_pcie.bin" is distributed in the linux-firmware repository:
+https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/
+since linux-firmware.git commit
+56bb432a65bc ("rcar_gen4_pcie: add firmware for Renesas R-Car Gen4 PCIe controller")
 
-The firmware file "104_PCIe_fw_addr_data_ver1.05.txt" (note that the file name
-might be different between different datasheet revisions) can be found in the
-datasheet encoded as text, and as such, the file's content must be converted
-back to binary form. This can be achieved using the following example script:
-
-.. code-block:: sh
-
-	$ awk '/^\s*0x[0-9A-Fa-f]{4}\s+0x[0-9A-Fa-f]{4}/ { print substr($2,5,2) substr($2,3,2) }' \
-		104_PCIe_fw_addr_data_ver1.05.txt | \
-			xxd -p -r > rcar_gen4_pcie.bin
-
-Once the text content has been converted into a binary firmware file, verify
-its checksum as follows:
+Download the file and verify the file checksum as follows:
 
 .. code-block:: sh
 
-- 
2.53.0

Re: [PATCH] PCI: rcar-gen4: Update how to obtain platform firmware
Posted by Manivannan Sadhasivam 3 days, 18 hours ago
On Mon, Sep 14, 2026 at 05:24:58AM +0200, Marek Vasut wrote:
> Renesas R-Car V4H (r8a779g0) has PCIe controller, and it requires
> specific firmware downloading. The firmware is now available via
> linux-firmware.git repository, update the documentation about how
> to obtain the firmware and drop the conversion script.
> 

I'm happy to hear that the firmware is now distributed through linux-firmware.
In this case, we no longer need the documentation as this driver is not special
anymore :)

Feel free to drop it.

- Mani

-- 
மணிவண்ணன் சதாசிவம்