Linux PCI subsystem development
 help / color / mirror / Atom feed
* [PATCH] PCI: rcar-gen4: Update how to obtain platform firmware
@ 2026-09-14  3:24 Marek Vasut
  2026-09-14  3:27 ` sashiko-bot
  2026-09-21 15:18 ` Manivannan Sadhasivam
  0 siblings, 2 replies; 3+ messages in thread
From: Marek Vasut @ 2026-09-14  3:24 UTC (permalink / raw)
  To: linux-pci
  Cc: Marek Vasut, Krzysztof Wilczyński, Bjorn Helgaas,
	Geert Uytterhoeven, Jonathan Corbet, Lorenzo Pieralisi,
	Magnus Damm, Manivannan Sadhasivam, Randy Dunlap, Rob Herring,
	Shuah Khan, Yoshihiro Shimoda, linux-doc, linux-kernel,
	linux-renesas-soc

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] PCI: rcar-gen4: Update how to obtain platform firmware
  2026-09-14  3:24 [PATCH] PCI: rcar-gen4: Update how to obtain platform firmware Marek Vasut
@ 2026-09-14  3:27 ` sashiko-bot
  2026-09-21 15:18 ` Manivannan Sadhasivam
  1 sibling, 0 replies; 3+ messages in thread
From: sashiko-bot @ 2026-09-14  3:27 UTC (permalink / raw)
  To: Marek Vasut; +Cc: wsa+renesas, linux-pci

> 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>

Sashiko has reviewed this patch and found no issues. It looks great!

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260914032520.99699-1-marek.vasut+renesas@mailbox.org?part=1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] PCI: rcar-gen4: Update how to obtain platform firmware
  2026-09-14  3:24 [PATCH] PCI: rcar-gen4: Update how to obtain platform firmware Marek Vasut
  2026-09-14  3:27 ` sashiko-bot
@ 2026-09-21 15:18 ` Manivannan Sadhasivam
  1 sibling, 0 replies; 3+ messages in thread
From: Manivannan Sadhasivam @ 2026-09-21 15:18 UTC (permalink / raw)
  To: Marek Vasut
  Cc: linux-pci, Krzysztof Wilczyński, Bjorn Helgaas,
	Geert Uytterhoeven, Jonathan Corbet, Lorenzo Pieralisi,
	Magnus Damm, Randy Dunlap, Rob Herring, Shuah Khan,
	Yoshihiro Shimoda, linux-doc, linux-kernel, linux-renesas-soc

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

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-09-21 15:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-14  3:24 [PATCH] PCI: rcar-gen4: Update how to obtain platform firmware Marek Vasut
2026-09-14  3:27 ` sashiko-bot
2026-09-21 15:18 ` Manivannan Sadhasivam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox