projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76283ba
)
media: mt9p031: Add MT9P006 compatible
author
Marek Vasut
<marex@denx.de>
Sat, 18 Jun 2022 22:22:55 +0000
(23:22 +0100)
committer
Mauro Carvalho Chehab
<mchehab@kernel.org>
Fri, 8 Jul 2022 16:56:07 +0000
(17:56 +0100)
Add compatible for MT9P006 sensor, which is older variant of MT9P031
and compatible with this driver.
Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/i2c/mt9p031.c
patch
|
blob
|
history
diff --git
a/drivers/media/i2c/mt9p031.c
b/drivers/media/i2c/mt9p031.c
index cbce8b88dbcf5068cd2f5a194c5a0b61e241ffaf..fba3b0f2be4a959d67462d57938ba706ad730cad 100644
(file)
--- a/
drivers/media/i2c/mt9p031.c
+++ b/
drivers/media/i2c/mt9p031.c
@@
-1214,6
+1214,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 },
{ }
@@
-1222,6
+1223,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 */ },