media: rcar-vin: Add support for RZ/G2E
authorFabrizio Castro <fabrizio.castro@bp.renesas.com>
Thu, 13 Dec 2018 20:24:04 +0000 (15:24 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 16 Jan 2019 17:37:31 +0000 (12:37 -0500)
According to the RZ/G2 User's manual, RZ/G2E and R-Car E3 VIN
blocks are identical, therefore use R-Car E3 definitions to add
RZ/G2E support.

Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/rcar-vin/rcar-core.c

index 0e81b55..b28e3ff 100644 (file)
@@ -1132,6 +1132,10 @@ static const struct rvin_info rcar_info_r8a77995 = {
 
 static const struct of_device_id rvin_of_id_table[] = {
        {
+               .compatible = "renesas,vin-r8a774c0",
+               .data = &rcar_info_r8a77990,
+       },
+       {
                .compatible = "renesas,vin-r8a7778",
                .data = &rcar_info_m1,
        },