[PATCH DNI v2 00/11] media: rcar-fcp, vsp1: Enable on R-Car X5H

Paul Elder posted 11 patches 6 days, 5 hours ago
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_drv.c   |  35 ++-
drivers/media/platform/renesas/vsp1/vsp1_regs.h  |   4 +-
drivers/pmdomain/renesas/r8a78000-mdlc.c         |  54 +++-
include/dt-bindings/clock/renesas,r8a78000-cpg.h |   2 +
7 files changed, 601 insertions(+), 15 deletions(-)
[PATCH DNI v2 00/11] media: rcar-fcp, vsp1: Enable on R-Car X5H
Posted by Paul Elder 6 days, 5 hours ago
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].
VSPI:
145 tests: 138 passed, 0 failed, 7 skipped
VSPB:
115 tests: 104 passed, 0 failed, 11 skipped
VSPD (a):
114 tests: 99 passed, 0 failed, 15 skipped

VSPD (b) hangs on the tests, so that needs some investigation.

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.

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
[2] https://git.ideasonboard.com/renesas/vsp-tests/commit/900168f58c9d96be0592c2593f4d8f34edc9c69e

Signed-off-by: Paul Elder <paul.elder+renesas@ideasonboard.com>
---
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@ideasonboard.com

---
Laurent Pinchart (4):
      arm64: renesas: r8a78000: Add VSP[BI] nodes
      media: vsp1: Support full VSPB on R-Car M3-W, M3-N and E3
      media: vsp1: Document X5H SoC ID
      [DNI] media: rcar-fcp: Check device revision at probe time

Paul Elder (7):
      [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
      pmdomain: renesas: r8a78000: Add maps for VIO for SCP FW SDKv4.36
      arm64: renesas: r8a78000: Add FCPV[BI] nodes
      arm64: renesas: r8a78000: Add FCPVD and VSPD nodes
      media: vsp1: Add device info entries for VSPD on X5H
      media: rcar-fcp: Handle resets

 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_drv.c   |  35 ++-
 drivers/media/platform/renesas/vsp1/vsp1_regs.h  |   4 +-
 drivers/pmdomain/renesas/r8a78000-mdlc.c         |  54 +++-
 include/dt-bindings/clock/renesas,r8a78000-cpg.h |   2 +
 7 files changed, 601 insertions(+), 15 deletions(-)
---
base-commit: 02c5d61866607bce0b3271e7c1b838c53dbedc55
change-id: 20260917-epaul-v7-3-rc1-x5h-vsp-fcp-8afdeb2740f7

Best regards,
-- 
Paul Elder <paul.elder+renesas@ideasonboard.com>
Re: [PATCH DNI v2 00/11] media: rcar-fcp, vsp1: Enable on R-Car X5H
Posted by Geert Uytterhoeven 3 days, 15 hours ago
Hi Paul,

On Fri, 18 Sept 2026 at 19:07, Paul Elder
<paul.elder+renesas@ideasonboard.com> wrote:
> 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].
> VSPI:
> 145 tests: 138 passed, 0 failed, 7 skipped
> VSPB:
> 115 tests: 104 passed, 0 failed, 11 skipped
> VSPD (a):
> 114 tests: 99 passed, 0 failed, 15 skipped
>
> VSPD (b) hangs on the tests, so that needs some investigation.
>
> 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 DTS patches use DNI definitions of clocks, so they should be DNI, too.

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
Re: [PATCH DNI v2 00/11] media: rcar-fcp, vsp1: Enable on R-Car X5H
Posted by Laurent Pinchart 3 days, 15 hours ago
Hi Geert,

On Mon, Sep 21, 2026 at 09:41:10AM +0200, Geert Uytterhoeven wrote:
> On Fri, 18 Sept 2026 at 19:07, Paul Elder wrote:
> > 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].
> > VSPI:
> > 145 tests: 138 passed, 0 failed, 7 skipped
> > VSPB:
> > 115 tests: 104 passed, 0 failed, 11 skipped
> > VSPD (a):
> > 114 tests: 99 passed, 0 failed, 15 skipped
> >
> > VSPD (b) hangs on the tests, so that needs some investigation.
> >
> > 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 DTS patches use DNI definitions of clocks, so they should be DNI, too.

Can we add non-DNI clock definitions in v3, or is that too early in the
grand scheme of MDLC and SCMI development ?

-- 
Regards,

Laurent Pinchart