From: Bryan O'Donoghue Date: Fri, 14 Oct 2022 18:04:17 +0000 (+0100) Subject: media: i2c: imx412: Add new compatible strings X-Git-Tag: v6.2-rc1~125^2~243 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1251663220d94bb2faa1c452832d0bc48cad2b90;p=thirdparty%2Flinux.git media: i2c: imx412: Add new compatible strings 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" Cc: Daniele Alessandrelli Cc: Rob Herring Cc: Krzysztof Kozlowski Cc: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Bryan O'Donoghue Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/i2c/imx412.c b/drivers/media/i2c/imx412.c index 353304312e1c8..e1e986dc8856e 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" }, { } };