media: rcar-isp: Add family compatible for R-Car Gen4 family
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Wed, 2 Oct 2024 10:33:17 +0000 (12:33 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 16 Oct 2024 07:32:39 +0000 (09:32 +0200)
Add the Gen4 family compatible. This will be used instead of a SoC
specific compatible for the new Gen4 SoC V4M. Two Gen4 boards (V3U and
V4H) have already been added prior and their bindings need to be kept
for backward compatibility.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/renesas/rcar-isp.c

index 8d96b6a2427a70db7aacba0bcebc04feb1c8c21b..c515278e3be5406563e342e1e98714d3a0c6d1a3 100644 (file)
@@ -431,7 +431,9 @@ static int risp_probe_resources(struct rcar_isp *isp,
 static const struct of_device_id risp_of_id_table[] = {
        { .compatible = "renesas,r8a779a0-isp" },
        { .compatible = "renesas,r8a779g0-isp" },
-       { /* sentinel */ },
+       /* Keep above for compatibility with old DTB files. */
+       { .compatible = "renesas,rcar-gen4-isp" },
+       { /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(of, risp_of_id_table);