[PATCH DNI v3 00/15] media: rcar-fcp, vsp1: Enable on R-Car X5H
From: Paul Elder
Date: Thu Oct 15 2026 - 03:58:17 EST
This series is based on Geert's
"topic/rcar-x5h-ironhide-scmi-cpg-mdlc-remapping-v3" branch [0]. A
branch including this series is available here [1].
This series enables the FCPV{B,I,D} and the VSP{B,I,D} blocks on the Renesas
R-Car X5H SoC.
This has been tested on an Ironhide with the vsp-tests test suite [2].
Full summary:
/dev/media0 (VSP2-D (a)): 114 tests: 99 passed, 0 failed, 15 skipped
/dev/media1 (VSP2-D (a)): 114 tests: 99 passed, 0 failed, 15 skipped
/dev/media10 (VSP2-I): 157 tests: 150 passed, 0 failed, 7 skipped
/dev/media11 (VSP2-I): 157 tests: 150 passed, 0 failed, 7 skipped
/dev/media12 (VSP2-I): 157 tests: 150 passed, 0 failed, 7 skipped
/dev/media13 (VSP2-I): 157 tests: 150 passed, 0 failed, 7 skipped
/dev/media14 (VSP2-B): 127 tests: 116 passed, 0 failed, 11 skipped
/dev/media15 (VSP2-B): 127 tests: 116 passed, 0 failed, 11 skipped
/dev/media16 (VSP2-B): 127 tests: 116 passed, 0 failed, 11 skipped
/dev/media17 (VSP2-B): 127 tests: 116 passed, 0 failed, 11 skipped
/dev/media18 (VSP2-B): 127 tests: 116 passed, 0 failed, 11 skipped
/dev/media2 (VSP2-D (a)): 114 tests: 99 passed, 0 failed, 15 skipped
/dev/media3 (VSP2-D (a)): 114 tests: 99 passed, 0 failed, 15 skipped
/dev/media4 (VSP2-D (a)): 114 tests: 99 passed, 0 failed, 15 skipped
/dev/media5 (VSP2-D (b)): 114 tests: 99 passed, 0 failed, 15 skipped
/dev/media6 (VSP2-D (b)): 114 tests: 99 passed, 0 failed, 15 skipped
/dev/media7 (VSP2-D (b)): 114 tests: 99 passed, 0 failed, 15 skipped
/dev/media8 (VSP2-D (b)): 114 tests: 99 passed, 0 failed, 15 skipped
/dev/media9 (VSP2-D (b)): 114 tests: 99 passed, 0 failed, 15 skipped
The first couple patches add clocks that are used by the FCP and VSP,
but as the upstream X5H CPG driver is barebones at the moment and we
don't yet ensure that the parents are enabled, these are marked as DNI
for the moment.
The last patch checks the device revision and prints it, which is useful
for debugging but is unnecessary processing for driver operation so it
is marked as DNI as well.
In v3, most of the patches have become DNI because they depend on wip
cpg and mdlc driver work. The non-DNI patches are targets for immediate
upstreaming though.
There was some odd behavior with the clocks, where from what I
understood was that the clocks for the FCPV{B,I} and VSP{B,I} are
always-on, but the tests would hang unless I explicitly enabled... the
always-on clock (or fsleep). Then after I removed the patch that
explicitly enabled the always-on clock everything ran fine. Just
reporting that this happened just in case it's relevant.
[0] https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git/log/?h=topic/rcar-x5h-ironhide-scmi-cpg-mdlc-remapping-v3
[1] https://git.ideasonboard.com/epaul/linux/src/branch/epaul/v7.3-rc1/x5h/vsp/fcp-v3
[2] https://git.ideasonboard.com/renesas/vsp-tests/src/branch/epaul/fix
Signed-off-by: Paul Elder <paul.elder+renesas@xxxxxxxxxxxxxxxx>
---
Changes in v3:
- Added a couple bsp patches for upstreaming
- Marked dt patches as DNI
- Fix some VSPD instances hanging
- Update dt-bindings documentation for the expanded module identifier
bit width
- Link to v2: https://lore.kernel.org/r/20260919-epaul-v7-3-rc1-x5h-vsp-fcp-v2-0-dbe9236bfd22@xxxxxxxxxxxxxxxx
Changes in v2:
- Add FCPVD and VSPD
- Fixed author (I mistakenly overwrote a few when I renamed my email)
- Link to v1: https://lore.kernel.org/r/20260917-epaul-v7-3-rc1-x5h-vsp-fcp-v1-0-4c72d4e086dd@xxxxxxxxxxxxxxxx
---
Laurent Pinchart (3):
[DNI] arm64: renesas: r8a78000: Add VSP[BI] nodes
media: vsp1: Support full VSPB on R-Car M3-W, M3-N and E3
[DNI] media: rcar-fcp: Check device revision at probe time
Paul Elder (9):
[DNI] dt-bindings: clock: renesas,r8a78000-cpg: Add CPG_SGD4_VIO_DP_{TX,OTHER}
[DNI] clk: renesas: r8a78000: Add clock for FCPV and VSP for SCP FW SDKv4.36
[DNI] pmdomain: renesas: r8a78000: Add maps for VIO for SCP FW SDKv4.36
[DNI] arm64: renesas: r8a78000: Add FCPV[BI] nodes
[DNI] arm64: renesas: r8a78000: Add FCPVD and VSPD nodes
media: vsp1: Add device info entries for VSPD on X5H
media: rcar-fcp: Handle resets
dt-bindings: Increase Renesas X5H MDLC PD specifier bit width
media: vsp1: Complete buffers as queued in start_streaming error path
Phong Hoang (3):
media: vsp1: Fix access to reserved registers
media: vsp1: Fix du_complete race condition issue
media: vsp1: Fix setting control register by display list
.../bindings/power/renesas,r8a78000-mdlc.yaml | 7 +-
arch/arm64/boot/dts/renesas/r8a78000.dtsi | 361 +++++++++++++++++++++
drivers/clk/renesas/r8a78000-cpg.c | 2 +
drivers/media/platform/renesas/rcar-fcp.c | 158 ++++++++-
drivers/media/platform/renesas/vsp1/vsp1_drm.c | 10 +-
drivers/media/platform/renesas/vsp1/vsp1_drv.c | 74 ++++-
drivers/media/platform/renesas/vsp1/vsp1_regs.h | 4 +-
drivers/media/platform/renesas/vsp1/vsp1_video.c | 9 +-
drivers/media/platform/renesas/vsp1/vsp1_wpf.c | 5 +-
drivers/pmdomain/renesas/r8a78000-mdlc.c | 54 ++-
include/dt-bindings/clock/renesas,r8a78000-cpg.h | 2 +
11 files changed, 647 insertions(+), 39 deletions(-)
---
base-commit: b97eed181007d4d71116add157a5dfa50c76dc72
change-id: 20260917-epaul-v7-3-rc1-x5h-vsp-fcp-8afdeb2740f7
Best regards,
--
Paul Elder <paul.elder+renesas@xxxxxxxxxxxxxxxx>