[PATCH] PCI: rcar-gen4: Update how to obtain platform firmware
From: Marek Vasut
Date: Sun Sep 13 2026 - 23:25:48 EST
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@xxxxxxxxxxx>
---
Cc: "Krzysztof Wilczyński" <kwilczynski@xxxxxxxxxx>
Cc: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>
Cc: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
Cc: Jonathan Corbet <corbet@xxxxxxx>
Cc: Lorenzo Pieralisi <lpieralisi@xxxxxxxxxx>
Cc: Magnus Damm <magnus.damm@xxxxxxxxx>
Cc: Manivannan Sadhasivam <mani@xxxxxxxxxx>
Cc: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
Cc: Rob Herring <robh@xxxxxxxxxx>
Cc: Shuah Khan <skhan@xxxxxxxxxxxxxxxxxxx>
Cc: Yoshihiro Shimoda <yoshihiro.shimoda.uh@xxxxxxxxxxx>
Cc: linux-doc@xxxxxxxxxxxxxxx
Cc: linux-kernel@xxxxxxxxxxxxxxx
Cc: linux-pci@xxxxxxxxxxxxxxx
Cc: linux-renesas-soc@xxxxxxxxxxxxxxx
---
.../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