media: i2c: imx412: Add new compatible strings
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>
Fri, 14 Oct 2022 18:04:17 +0000 (19:04 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 25 Nov 2022 06:46:05 +0000 (06:46 +0000)
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@iki.fi
Cc: dave.stevenson@raspberrypi.com
Cc: jacopo@jmondi.org
Cc: "Paul J. Murphy" <paul.j.murphy@intel.com>
Cc: Daniele Alessandrelli <daniele.alessandrelli@intel.com>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>
Cc: devicetree@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/i2c/imx412.c

index 353304312e1c86eb044b099f417194d2f9c3cfec..e1e986dc8856ee5df19a53ae6d3cb8a73fb30044 100644 (file)
@@ -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" },
        { }
 };