summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorYoshihiko Mori <yoshihiko.mori.nx@renesas.com>2015-12-13 15:27:16 (GMT)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-01-25 10:56:59 (GMT)
commit1dff3338539e96b2710c34693a6484585dfd7a78 (patch)
treea933128df9c12672b5bedd7f85bd87d15ac32e8a /drivers
parent3c97430d22d58b9c47a9a4573e8ae6976a475e3e (diff)
downloadlinux-1dff3338539e96b2710c34693a6484585dfd7a78.tar.xz
[media] soc_camera: rcar_vin: Add R-Car Gen3 support
Add chip identification for R-Car Gen3. Signed-off-by: Yoshihiko Mori <yoshihiko.mori.nx@renesas.com> Signed-off-by: Yoshihiro Kaneko <ykaneko0929@gmail.com> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/platform/soc_camera/rcar_vin.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/platform/soc_camera/rcar_vin.c b/drivers/media/platform/soc_camera/rcar_vin.c
index b7fd695..dc75a80 100644
--- a/drivers/media/platform/soc_camera/rcar_vin.c
+++ b/drivers/media/platform/soc_camera/rcar_vin.c
@@ -143,6 +143,7 @@
#define RCAR_VIN_BT656 (1 << 3)
enum chip_id {
+ RCAR_GEN3,
RCAR_GEN2,
RCAR_H1,
RCAR_M1,
@@ -1818,6 +1819,7 @@ static struct soc_camera_host_ops rcar_vin_host_ops = {
#ifdef CONFIG_OF
static const struct of_device_id rcar_vin_of_table[] = {
+ { .compatible = "renesas,vin-r8a7795", .data = (void *)RCAR_GEN3 },
{ .compatible = "renesas,vin-r8a7794", .data = (void *)RCAR_GEN2 },
{ .compatible = "renesas,vin-r8a7793", .data = (void *)RCAR_GEN2 },
{ .compatible = "renesas,vin-r8a7791", .data = (void *)RCAR_GEN2 },