Message ID | 20220915003522.1227073-6-bryan.odonoghue@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Add imx577 and imx477 compatible to imx412 | expand |
On Thu, Sep 15, 2022 at 01:35:22AM +0100, Bryan O'Donoghue wrote: > The Sony imx577 uses the same silicon enabling reference code from Sony in > the available examples provided. > > Add an imx577 compatible string and re-use the existing imx412 code. > > Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> > --- > 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 1013a5afc85f..776cc058edf2 100644 > --- a/drivers/media/i2c/imx412.c > +++ b/drivers/media/i2c/imx412.c > @@ -1290,6 +1290,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,imx477", .data = "imx477" }, > + { .compatible = "sony,imx577", .data = "imx577" }, Please squash patche 1 with 2 and patch 4 with 5. Then I think these should be ready for merging. > { } > }; >
diff --git a/drivers/media/i2c/imx412.c b/drivers/media/i2c/imx412.c index 1013a5afc85f..776cc058edf2 100644 --- a/drivers/media/i2c/imx412.c +++ b/drivers/media/i2c/imx412.c @@ -1290,6 +1290,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,imx477", .data = "imx477" }, + { .compatible = "sony,imx577", .data = "imx577" }, { } };
The Sony imx577 uses the same silicon enabling reference code from Sony in the available examples provided. Add an imx577 compatible string and re-use the existing imx412 code. Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> --- drivers/media/i2c/imx412.c | 1 + 1 file changed, 1 insertion(+)