Skip to contentSkip to conversation

rcar-vin: add R-Car gen2 fallback compatibility string

PATCH In review Sergei Shtylyov 2 participants 3 messages Jul 25, 2016 – Jul 26, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rcar-vin: add R-Car gen2 fallback compatibility string

Such fallback string is present in the 'soc_camera' version of the R-Car VIN driver, so need to add it here as well...

---
This patch is against the 'media_tree.git' repo's 'master' branch. This patch conflicts with Niklas Soderlund's former patch "[media] rcar-vin:
add Gen2 and Gen3 fallback compatibility strings"), I got his consent about splitting the gen2 part of that patch to a separate patch...

 drivers/media/platform/rcar-vin/rcar-core.c |    1 +
 1 file changed, 1 insertion(+)
drivers/media/platform/rcar-vin/rcar-core.c +1 -0
Index: media_tree/drivers/media/platform/rcar-vin/rcar-core.c
===================================================================
@@ -209,6 +209,7 @@ static const struct of_device_id rvin_of
 	{ .compatible = "renesas,vin-r8a7790", .data = (void *)RCAR_GEN2 },
 	{ .compatible = "renesas,vin-r8a7779", .data = (void *)RCAR_H1 },
 	{ .compatible = "renesas,vin-r8a7778", .data = (void *)RCAR_M1 },
+	{ .compatible = "renesas,rcar-gen2-vin", .data = (void *)RCAR_GEN2 },
 	{ },
 };
 MODULE_DEVICE_TABLE(of, rvin_of_id_table);
Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · Sergei Shtylyov

Such fallback string is present in the 'soc_camera' version of the R-Car VIN driver, so need to add it here as well...

Quoted 23 lines

---
This patch is against the 'media_tree.git' repo's 'master' branch. This patch conflicts with Niklas Soderlund's former patch "[media] rcar-vin:
add Gen2 and Gen3 fallback compatibility strings"), I got his consent about splitting the gen2 part of that patch to a separate patch...

 drivers/media/platform/rcar-vin/rcar-core.c |    1 +
 1 file changed, 1 insertion(+)

Index: media_tree/drivers/media/platform/rcar-vin/rcar-core.c
===================================================================

drivers/media/platform/rcar-vin/rcar-core.c +1 -0
@@ -209,6 +209,7 @@ static const struct of_device_id rvin_of
 	{ .compatible = "renesas,vin-r8a7790", .data = (void *)RCAR_GEN2 },
 	{ .compatible = "renesas,vin-r8a7779", .data = (void *)RCAR_H1 },
 	{ .compatible = "renesas,vin-r8a7778", .data = (void *)RCAR_M1 },
+	{ .compatible = "renesas,rcar-gen2-vin", .data = (void *)RCAR_GEN2 },
 	{ },
 };
 MODULE_DEVICE_TABLE(of, rvin_of_id_table);
Signature · 2 lines
Regards,
Niklas Söderlund