* [PATCH 0/3] Add VSP and FCPVD support for RZ/T2H and RZ/N2H SoCs
@ 2026-04-30 10:09 Prabhakar
2026-04-30 10:09 ` [PATCH 1/3] media: dt-bindings: media: renesas,fcp: Document " Prabhakar
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Prabhakar @ 2026-04-30 10:09 UTC (permalink / raw)
To: Laurent Pinchart, Mauro Carvalho Chehab, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Kieran Bingham, Philipp Zabel,
Geert Uytterhoeven, Magnus Damm
Cc: linux-media, linux-renesas-soc, devicetree, linux-kernel,
Prabhakar, Biju Das, Fabrizio Castro, Lad Prabhakar
From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Hi all,
This patch series adds support for the VSP and FCPVD blocks present on the
RZ/T2H and RZ/N2H SoCs. The VSP implementation on these SoCs is identical
to that found on the RZ/G2L SoC, while the FCPVD implementation
matches that found on the RZ/G2L family.
Note patches apply on top of [0].
[0] https://gitlab.freedesktop.org/linux-media/users/pinchartl/-/tree/next-media-renesas-20260430?ref_type=tags
Cheers,
Prabhakar
Lad Prabhakar (3):
media: dt-bindings: media: renesas,fcp: Document RZ/T2H and RZ/N2H
SoCs
media: dt-bindings: media: renesas,vsp1: Document RZ/T2H and RZ/N2H
SoCs
media: renesas: vsp1: Make reset control optional to support platforms
without a reset line
.../devicetree/bindings/media/renesas,fcp.yaml | 18 +++++++++++++++++-
.../bindings/media/renesas,vsp1.yaml | 17 ++++++++++++++++-
drivers/media/platform/renesas/vsp1/vsp1_drv.c | 2 +-
3 files changed, 34 insertions(+), 3 deletions(-)
--
2.54.0
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 1/3] media: dt-bindings: media: renesas,fcp: Document RZ/T2H and RZ/N2H SoCs
2026-04-30 10:09 [PATCH 0/3] Add VSP and FCPVD support for RZ/T2H and RZ/N2H SoCs Prabhakar
@ 2026-04-30 10:09 ` Prabhakar
2026-05-07 18:18 ` Rob Herring (Arm)
2026-04-30 10:09 ` [PATCH 2/3] media: dt-bindings: media: renesas,vsp1: " Prabhakar
2026-04-30 10:09 ` [PATCH 3/3] media: renesas: vsp1: Make reset control optional to support platforms without a reset line Prabhakar
2 siblings, 1 reply; 6+ messages in thread
From: Prabhakar @ 2026-04-30 10:09 UTC (permalink / raw)
To: Laurent Pinchart, Mauro Carvalho Chehab, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Kieran Bingham, Philipp Zabel,
Geert Uytterhoeven, Magnus Damm
Cc: linux-media, linux-renesas-soc, devicetree, linux-kernel,
Prabhakar, Biju Das, Fabrizio Castro, Lad Prabhakar
From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Document the FCPVD blocks present on the RZ/T2H and RZ/N2H SoCs.
The FCPVD implementation on these SoCs is identical to that found on the
RZ/G2L family.
Update the schema to disallow the "resets" property for these SoCs,
reflecting the absence of a reset control for the FCPVD instance.
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
.../devicetree/bindings/media/renesas,fcp.yaml | 18 +++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/media/renesas,fcp.yaml b/Documentation/devicetree/bindings/media/renesas,fcp.yaml
index 5e11ae0ee456..cbb16a7a5481 100644
--- a/Documentation/devicetree/bindings/media/renesas,fcp.yaml
+++ b/Documentation/devicetree/bindings/media/renesas,fcp.yaml
@@ -34,6 +34,8 @@ properties:
- renesas,r9a09g047-fcpvd # RZ/G3E
- renesas,r9a09g056-fcpvd # RZ/V2N
- renesas,r9a09g057-fcpvd # RZ/V2H(P)
+ - renesas,r9a09g077-fcpvd # RZ/T2H
+ - renesas,r9a09g087-fcpvd # RZ/N2H
- const: renesas,fcpv # Generic FCP for VSP fallback
reg:
@@ -66,7 +68,6 @@ required:
- reg
- clocks
- power-domains
- - resets
additionalProperties: false
@@ -83,6 +84,8 @@ allOf:
- renesas,r9a09g047-fcpvd
- renesas,r9a09g056-fcpvd
- renesas,r9a09g057-fcpvd
+ - renesas,r9a09g077-fcpvd
+ - renesas,r9a09g087-fcpvd
then:
properties:
clocks:
@@ -94,6 +97,19 @@ allOf:
clocks:
maxItems: 1
clock-names: false
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - renesas,r9a09g077-fcpvd
+ - renesas,r9a09g087-fcpvd
+ then:
+ properties:
+ resets: false
+ else:
+ required:
+ - resets
examples:
# R8A7795 (R-Car H3) FCP for VSP-D1
--
2.54.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 2/3] media: dt-bindings: media: renesas,vsp1: Document RZ/T2H and RZ/N2H SoCs
2026-04-30 10:09 [PATCH 0/3] Add VSP and FCPVD support for RZ/T2H and RZ/N2H SoCs Prabhakar
2026-04-30 10:09 ` [PATCH 1/3] media: dt-bindings: media: renesas,fcp: Document " Prabhakar
@ 2026-04-30 10:09 ` Prabhakar
2026-05-07 18:18 ` Rob Herring (Arm)
2026-04-30 10:09 ` [PATCH 3/3] media: renesas: vsp1: Make reset control optional to support platforms without a reset line Prabhakar
2 siblings, 1 reply; 6+ messages in thread
From: Prabhakar @ 2026-04-30 10:09 UTC (permalink / raw)
To: Laurent Pinchart, Mauro Carvalho Chehab, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Kieran Bingham, Philipp Zabel,
Geert Uytterhoeven, Magnus Damm
Cc: linux-media, linux-renesas-soc, devicetree, linux-kernel,
Prabhakar, Biju Das, Fabrizio Castro, Lad Prabhakar
From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Document the VSP2 blocks present on the RZ/T2H and RZ/N2H SoCs.
The VSP2 implementation on these SoCs is identical to that on the
RZ/G2L SoC.
Update the schema to disallow the "resets" property for these SoCs to
reflect the hardware integration.
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
.../devicetree/bindings/media/renesas,vsp1.yaml | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/media/renesas,vsp1.yaml b/Documentation/devicetree/bindings/media/renesas,vsp1.yaml
index 803358780f01..a28632165804 100644
--- a/Documentation/devicetree/bindings/media/renesas,vsp1.yaml
+++ b/Documentation/devicetree/bindings/media/renesas,vsp1.yaml
@@ -29,6 +29,8 @@ properties:
- renesas,r9a09g047-vsp2 # RZ/G3E
- renesas,r9a09g056-vsp2 # RZ/V2N
- renesas,r9a09g057-vsp2 # RZ/V2H(P)
+ - renesas,r9a09g077-vsp2 # RZ/T2H
+ - renesas,r9a09g087-vsp2 # RZ/N2H
- const: renesas,r9a07g044-vsp2 # RZ/G2L fallback
reg:
@@ -67,7 +69,6 @@ required:
- interrupts
- clocks
- power-domains
- - resets
additionalProperties: false
@@ -101,6 +102,20 @@ allOf:
maxItems: 1
clock-names: false
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - renesas,r9a09g077-vsp2
+ - renesas,r9a09g087-vsp2
+ then:
+ properties:
+ resets: false
+ else:
+ required:
+ - resets
+
examples:
# R8A7790 (R-Car H2) VSP1-S
- |
--
2.54.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 3/3] media: renesas: vsp1: Make reset control optional to support platforms without a reset line
2026-04-30 10:09 [PATCH 0/3] Add VSP and FCPVD support for RZ/T2H and RZ/N2H SoCs Prabhakar
2026-04-30 10:09 ` [PATCH 1/3] media: dt-bindings: media: renesas,fcp: Document " Prabhakar
2026-04-30 10:09 ` [PATCH 2/3] media: dt-bindings: media: renesas,vsp1: " Prabhakar
@ 2026-04-30 10:09 ` Prabhakar
2 siblings, 0 replies; 6+ messages in thread
From: Prabhakar @ 2026-04-30 10:09 UTC (permalink / raw)
To: Laurent Pinchart, Mauro Carvalho Chehab, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Kieran Bingham, Philipp Zabel,
Geert Uytterhoeven, Magnus Damm
Cc: linux-media, linux-renesas-soc, devicetree, linux-kernel,
Prabhakar, Biju Das, Fabrizio Castro, Lad Prabhakar
From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Switch the VSP1 driver to use devm_reset_control_get_optional_shared()
when requesting its reset control. Some newer Renesas SoCs integrating
VSP1 such as RZ/T2H do not provide a reset line for the VSP IP block.
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
drivers/media/platform/renesas/vsp1/vsp1_drv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/platform/renesas/vsp1/vsp1_drv.c b/drivers/media/platform/renesas/vsp1/vsp1_drv.c
index 627b5046fa80..605fac57bd93 100644
--- a/drivers/media/platform/renesas/vsp1/vsp1_drv.c
+++ b/drivers/media/platform/renesas/vsp1/vsp1_drv.c
@@ -947,7 +947,7 @@ static int vsp1_probe(struct platform_device *pdev)
if (irq < 0)
return irq;
- vsp1->rstc = devm_reset_control_get_shared(&pdev->dev, NULL);
+ vsp1->rstc = devm_reset_control_get_optional_shared(&pdev->dev, NULL);
if (IS_ERR(vsp1->rstc))
return dev_err_probe(&pdev->dev, PTR_ERR(vsp1->rstc),
"failed to get reset control\n");
--
2.54.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH 1/3] media: dt-bindings: media: renesas,fcp: Document RZ/T2H and RZ/N2H SoCs
2026-04-30 10:09 ` [PATCH 1/3] media: dt-bindings: media: renesas,fcp: Document " Prabhakar
@ 2026-05-07 18:18 ` Rob Herring (Arm)
0 siblings, 0 replies; 6+ messages in thread
From: Rob Herring (Arm) @ 2026-05-07 18:18 UTC (permalink / raw)
To: Prabhakar
Cc: Krzysztof Kozlowski, Geert Uytterhoeven, Magnus Damm,
Lad Prabhakar, Kieran Bingham, devicetree, linux-renesas-soc,
Conor Dooley, linux-media, Mauro Carvalho Chehab, linux-kernel,
Fabrizio Castro, Laurent Pinchart, Philipp Zabel, Biju Das
On Thu, 30 Apr 2026 11:09:27 +0100, Prabhakar wrote:
> From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
>
> Document the FCPVD blocks present on the RZ/T2H and RZ/N2H SoCs.
>
> The FCPVD implementation on these SoCs is identical to that found on the
> RZ/G2L family.
>
> Update the schema to disallow the "resets" property for these SoCs,
> reflecting the absence of a reset control for the FCPVD instance.
>
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> ---
> .../devicetree/bindings/media/renesas,fcp.yaml | 18 +++++++++++++++++-
> 1 file changed, 17 insertions(+), 1 deletion(-)
>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 2/3] media: dt-bindings: media: renesas,vsp1: Document RZ/T2H and RZ/N2H SoCs
2026-04-30 10:09 ` [PATCH 2/3] media: dt-bindings: media: renesas,vsp1: " Prabhakar
@ 2026-05-07 18:18 ` Rob Herring (Arm)
0 siblings, 0 replies; 6+ messages in thread
From: Rob Herring (Arm) @ 2026-05-07 18:18 UTC (permalink / raw)
To: Prabhakar
Cc: Magnus Damm, devicetree, Philipp Zabel, Lad Prabhakar,
Kieran Bingham, Krzysztof Kozlowski, linux-kernel,
Laurent Pinchart, Biju Das, linux-media, Geert Uytterhoeven,
Conor Dooley, Mauro Carvalho Chehab, linux-renesas-soc,
Fabrizio Castro
On Thu, 30 Apr 2026 11:09:28 +0100, Prabhakar wrote:
> From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
>
> Document the VSP2 blocks present on the RZ/T2H and RZ/N2H SoCs.
>
> The VSP2 implementation on these SoCs is identical to that on the
> RZ/G2L SoC.
>
> Update the schema to disallow the "resets" property for these SoCs to
> reflect the hardware integration.
>
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> ---
> .../devicetree/bindings/media/renesas,vsp1.yaml | 17 ++++++++++++++++-
> 1 file changed, 16 insertions(+), 1 deletion(-)
>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2026-05-07 18:19 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-30 10:09 [PATCH 0/3] Add VSP and FCPVD support for RZ/T2H and RZ/N2H SoCs Prabhakar
2026-04-30 10:09 ` [PATCH 1/3] media: dt-bindings: media: renesas,fcp: Document " Prabhakar
2026-05-07 18:18 ` Rob Herring (Arm)
2026-04-30 10:09 ` [PATCH 2/3] media: dt-bindings: media: renesas,vsp1: " Prabhakar
2026-05-07 18:18 ` Rob Herring (Arm)
2026-04-30 10:09 ` [PATCH 3/3] media: renesas: vsp1: Make reset control optional to support platforms without a reset line Prabhakar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox