media: rcar-vin: Add support for R-Car R8A77995 SoC
authorJacopo Mondi <jacopo+renesas@jmondi.org>
Tue, 12 Jun 2018 09:43:32 +0000 (05:43 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 4 Jul 2018 13:23:45 +0000 (09:23 -0400)
Add R-Car R8A77995 SoC to the rcar-vin supported ones.

Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/rcar-vin/rcar-core.c

index 63678407992149a4051771e83fa748096c855978..8843367cd3390b0d74ec689ec032d1082ae50fdf 100644 (file)
@@ -1089,6 +1089,18 @@ static const struct rvin_info rcar_info_r8a77970 = {
        .routes = rcar_info_r8a77970_routes,
 };
 
+static const struct rvin_group_route rcar_info_r8a77995_routes[] = {
+       { /* Sentinel */ }
+};
+
+static const struct rvin_info rcar_info_r8a77995 = {
+       .model = RCAR_GEN3,
+       .use_mc = true,
+       .max_width = 4096,
+       .max_height = 4096,
+       .routes = rcar_info_r8a77995_routes,
+};
+
 static const struct of_device_id rvin_of_id_table[] = {
        {
                .compatible = "renesas,vin-r8a7778",
@@ -1134,6 +1146,10 @@ static const struct of_device_id rvin_of_id_table[] = {
                .compatible = "renesas,vin-r8a77970",
                .data = &rcar_info_r8a77970,
        },
+       {
+               .compatible = "renesas,vin-r8a77995",
+               .data = &rcar_info_r8a77995,
+       },
        { /* Sentinel */ },
 };
 MODULE_DEVICE_TABLE(of, rvin_of_id_table);