Skip to content

Commit f90023b

Browse files
Niklas Söderlundmorimoto
authored andcommitted
media: rcar-vin: Add support for R-Car V4H
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> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> (cherry picked from commit a650b82) Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
1 parent ffea216 commit f90023b

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

drivers/media/platform/renesas/rcar-vin/rcar-core.c

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1284,6 +1284,15 @@ static const struct rvin_info rcar_info_r8a779a0 = {
12841284
.max_height = 4096,
12851285
};
12861286

1287+
static const struct rvin_info rcar_info_r8a779g0 = {
1288+
.model = RCAR_GEN3,
1289+
.use_mc = true,
1290+
.use_isp = true,
1291+
.nv12 = true,
1292+
.max_width = 4096,
1293+
.max_height = 4096,
1294+
};
1295+
12871296
static const struct of_device_id rvin_of_id_table[] = {
12881297
{
12891298
.compatible = "renesas,vin-r8a774a1",
@@ -1349,6 +1358,10 @@ static const struct of_device_id rvin_of_id_table[] = {
13491358
.compatible = "renesas,vin-r8a779a0",
13501359
.data = &rcar_info_r8a779a0,
13511360
},
1361+
{
1362+
.compatible = "renesas,vin-r8a779g0",
1363+
.data = &rcar_info_r8a779g0,
1364+
},
13521365
{ /* Sentinel */ },
13531366
};
13541367
MODULE_DEVICE_TABLE(of, rvin_of_id_table);

0 commit comments

Comments
 (0)