[PATCH v6 3/3] media: i2c: imx412: Add new compatible strings

From: Bryan O'Donoghue
Date: Fri Oct 14 2022 - 14:04:42 EST


The Sony imx577 uses the same silicon enabling reference code in the
available examples provided as the imx412.

Add in compatible strings to enable and differentiate the parts.

Cc: sakari.ailus@xxxxxx
Cc: dave.stevenson@xxxxxxxxxxxxxxx
Cc: jacopo@xxxxxxxxxx
Cc: "Paul J. Murphy" <paul.j.murphy@xxxxxxxxx>
Cc: Daniele Alessandrelli <daniele.alessandrelli@xxxxxxxxx>
Cc: Mauro Carvalho Chehab <mchehab@xxxxxxxxxx>
Cc: Rob Herring <robh+dt@xxxxxxxxxx>
Cc: Krzysztof Kozlowski <krzysztof.kozlowski+dt@xxxxxxxxxx>
Cc: linux-media@xxxxxxxxxxxxxxx
Cc: devicetree@xxxxxxxxxxxxxxx
Cc: linux-kernel@xxxxxxxxxxxxxxx
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@xxxxxxxxxx>
---
drivers/media/i2c/imx412.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/media/i2c/imx412.c b/drivers/media/i2c/imx412.c
index 353304312e1c..e1e986dc8856 100644
--- a/drivers/media/i2c/imx412.c
+++ b/drivers/media/i2c/imx412.c
@@ -1286,6 +1286,7 @@ static const struct dev_pm_ops imx412_pm_ops = {

static const struct of_device_id imx412_of_match[] = {
{ .compatible = "sony,imx412", .data = "imx412" },
+ { .compatible = "sony,imx577", .data = "imx577" },
{ }
};

--
2.34.1