* [PATCH] media: rcar-vin: Add support for R-Car V4H
@ 2023-02-11 14:55 Niklas Söderlund
2023-05-09 19:09 ` Niklas Söderlund
0 siblings, 1 reply; 2+ messages in thread
From: Niklas Söderlund @ 2023-02-11 14:55 UTC (permalink / raw)
To: Hans Verkuil, linux-media; +Cc: linux-renesas-soc, Niklas Söderlund
Add support for R-Car V4H. The V4H uses the ISP Channel Selector as its
only possible video input source. Even tho V4H is a Gen3 board the VIN
interface is very close to the one found on the V3U, for this reason
mark it as a Gen3 model internally.
Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
---
drivers/media/platform/renesas/rcar-vin/rcar-core.c | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/drivers/media/platform/renesas/rcar-vin/rcar-core.c b/drivers/media/platform/renesas/rcar-vin/rcar-core.c
index 5e53d6b7036c..059795c889ad 100644
--- a/drivers/media/platform/renesas/rcar-vin/rcar-core.c
+++ b/drivers/media/platform/renesas/rcar-vin/rcar-core.c
@@ -1303,6 +1303,15 @@ static const struct rvin_info rcar_info_r8a779a0 = {
.max_height = 4096,
};
+static const struct rvin_info rcar_info_r8a779g0 = {
+ .model = RCAR_GEN3,
+ .use_mc = true,
+ .use_isp = true,
+ .nv12 = true,
+ .max_width = 4096,
+ .max_height = 4096,
+};
+
static const struct of_device_id rvin_of_id_table[] = {
{
.compatible = "renesas,vin-r8a774a1",
@@ -1368,6 +1377,10 @@ static const struct of_device_id rvin_of_id_table[] = {
.compatible = "renesas,vin-r8a779a0",
.data = &rcar_info_r8a779a0,
},
+ {
+ .compatible = "renesas,vin-r8a779g0",
+ .data = &rcar_info_r8a779g0,
+ },
{ /* Sentinel */ },
};
MODULE_DEVICE_TABLE(of, rvin_of_id_table);
--
2.39.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] media: rcar-vin: Add support for R-Car V4H
2023-02-11 14:55 [PATCH] media: rcar-vin: Add support for R-Car V4H Niklas Söderlund
@ 2023-05-09 19:09 ` Niklas Söderlund
0 siblings, 0 replies; 2+ messages in thread
From: Niklas Söderlund @ 2023-05-09 19:09 UTC (permalink / raw)
To: Hans Verkuil, linux-media; +Cc: linux-renesas-soc
Hi Hans,
A gentle ping on this patch, the binding was merged in v6.4-rc1.
On 2023-02-11 15:55:19 +0100, Niklas Söderlund wrote:
> Add support for R-Car V4H. The V4H uses the ISP Channel Selector as its
> only possible video input source. Even tho V4H is a Gen3 board the VIN
> interface is very close to the one found on the V3U, for this reason
> mark it as a Gen3 model internally.
>
> Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
> ---
> drivers/media/platform/renesas/rcar-vin/rcar-core.c | 13 +++++++++++++
> 1 file changed, 13 insertions(+)
>
> diff --git a/drivers/media/platform/renesas/rcar-vin/rcar-core.c b/drivers/media/platform/renesas/rcar-vin/rcar-core.c
> index 5e53d6b7036c..059795c889ad 100644
> --- a/drivers/media/platform/renesas/rcar-vin/rcar-core.c
> +++ b/drivers/media/platform/renesas/rcar-vin/rcar-core.c
> @@ -1303,6 +1303,15 @@ static const struct rvin_info rcar_info_r8a779a0 = {
> .max_height = 4096,
> };
>
> +static const struct rvin_info rcar_info_r8a779g0 = {
> + .model = RCAR_GEN3,
> + .use_mc = true,
> + .use_isp = true,
> + .nv12 = true,
> + .max_width = 4096,
> + .max_height = 4096,
> +};
> +
> static const struct of_device_id rvin_of_id_table[] = {
> {
> .compatible = "renesas,vin-r8a774a1",
> @@ -1368,6 +1377,10 @@ static const struct of_device_id rvin_of_id_table[] = {
> .compatible = "renesas,vin-r8a779a0",
> .data = &rcar_info_r8a779a0,
> },
> + {
> + .compatible = "renesas,vin-r8a779g0",
> + .data = &rcar_info_r8a779g0,
> + },
> { /* Sentinel */ },
> };
> MODULE_DEVICE_TABLE(of, rvin_of_id_table);
> --
> 2.39.1
>
--
Kind Regards,
Niklas Söderlund
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-05-09 19:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-11 14:55 [PATCH] media: rcar-vin: Add support for R-Car V4H Niklas Söderlund
2023-05-09 19:09 ` Niklas Söderlund
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.