Commit 76deaff8085304e9f6a4ce165b61ff467bbcd888
Committed by
Mauro Carvalho Chehab
1 parent
e5d49a3ef4
Exists in
ti-lsk-linux-4.1.y
and in
10 other branches
[media] rcar_vin: Add DT support for r8a7793 and r8a7794 SoCs
Based on platform device work by Matsuoka-san. 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>
Showing 2 changed files with 4 additions and 0 deletions Side-by-side Diff
Documentation/devicetree/bindings/media/rcar_vin.txt
... | ... | @@ -6,6 +6,8 @@ |
6 | 6 | channel which can be either RGB, YUYV or BT656. |
7 | 7 | |
8 | 8 | - compatible: Must be one of the following |
9 | + - "renesas,vin-r8a7794" for the R8A7794 device | |
10 | + - "renesas,vin-r8a7793" for the R8A7793 device | |
9 | 11 | - "renesas,vin-r8a7791" for the R8A7791 device |
10 | 12 | - "renesas,vin-r8a7790" for the R8A7790 device |
11 | 13 | - "renesas,vin-r8a7779" for the R8A7779 device |
drivers/media/platform/soc_camera/rcar_vin.c
... | ... | @@ -1403,6 +1403,8 @@ |
1403 | 1403 | |
1404 | 1404 | #ifdef CONFIG_OF |
1405 | 1405 | static struct of_device_id rcar_vin_of_table[] = { |
1406 | + { .compatible = "renesas,vin-r8a7794", .data = (void *)RCAR_GEN2 }, | |
1407 | + { .compatible = "renesas,vin-r8a7793", .data = (void *)RCAR_GEN2 }, | |
1406 | 1408 | { .compatible = "renesas,vin-r8a7791", .data = (void *)RCAR_GEN2 }, |
1407 | 1409 | { .compatible = "renesas,vin-r8a7790", .data = (void *)RCAR_GEN2 }, |
1408 | 1410 | { .compatible = "renesas,vin-r8a7779", .data = (void *)RCAR_H1 }, |