Hi Marek, Thank you for the patch. On Sun, Jun 19, 2022 at 12:22:55AM +0200, Marek Vasut wrote: > Add compatible for MT9P006 sensor, which is older variant of MT9P031 > and compatible with this driver. > > Signed-off-by: Marek Vasut <marex@xxxxxxx> > Cc: Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx> > Cc: Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx> > Cc: Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx> > Cc: Stefan Riedmueller <s.riedmueller@xxxxxxxxx> Reviewed-by: Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx> > --- > drivers/media/i2c/mt9p031.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/media/i2c/mt9p031.c b/drivers/media/i2c/mt9p031.c > index d0706723e493c..a81d1ca058b9c 100644 > --- a/drivers/media/i2c/mt9p031.c > +++ b/drivers/media/i2c/mt9p031.c > @@ -1234,6 +1234,7 @@ static int mt9p031_remove(struct i2c_client *client) > } > > static const struct i2c_device_id mt9p031_id[] = { > + { "mt9p006", MT9P031_MODEL_COLOR }, > { "mt9p031", MT9P031_MODEL_COLOR }, > { "mt9p031m", MT9P031_MODEL_MONOCHROME }, > { } > @@ -1242,6 +1243,7 @@ MODULE_DEVICE_TABLE(i2c, mt9p031_id); > > #if IS_ENABLED(CONFIG_OF) > static const struct of_device_id mt9p031_of_match[] = { > + { .compatible = "aptina,mt9p006", }, > { .compatible = "aptina,mt9p031", }, > { .compatible = "aptina,mt9p031m", }, > { /* sentinel */ }, -- Regards, Laurent Pinchart