Commit bf14e74c authored by Julian Scheel's avatar Julian Scheel Committed by Mauro Carvalho Chehab

[media] media: adv7180: Add of compatible strings for full family

Add entries for all supported chip variants into the of_match list, so that
the matching driver_info can be selected when using dt.
Signed-off-by: default avatarJulian Scheel <julian@jusst.de>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent b9894728
* Analog Devices ADV7180 analog video decoder family * Analog Devices ADV7180 analog video decoder family
The adv7180 family devices are used to capture analog video to different The adv7180 family devices are used to capture analog video to different
digital interfaces like parallel video. digital interfaces like MIPI CSI-2 or parallel video.
Required Properties : Required Properties :
- compatible : value must be "adi,adv7180" - compatible : value must be one of
"adi,adv7180"
"adi,adv7182"
"adi,adv7280"
"adi,adv7280-m"
"adi,adv7281"
"adi,adv7281-m"
"adi,adv7281-ma"
"adi,adv7282"
"adi,adv7282-m"
Example: Example:
......
...@@ -1402,6 +1402,14 @@ static SIMPLE_DEV_PM_OPS(adv7180_pm_ops, adv7180_suspend, adv7180_resume); ...@@ -1402,6 +1402,14 @@ static SIMPLE_DEV_PM_OPS(adv7180_pm_ops, adv7180_suspend, adv7180_resume);
#ifdef CONFIG_OF #ifdef CONFIG_OF
static const struct of_device_id adv7180_of_id[] = { static const struct of_device_id adv7180_of_id[] = {
{ .compatible = "adi,adv7180", }, { .compatible = "adi,adv7180", },
{ .compatible = "adi,adv7182", },
{ .compatible = "adi,adv7280", },
{ .compatible = "adi,adv7280-m", },
{ .compatible = "adi,adv7281", },
{ .compatible = "adi,adv7281-m", },
{ .compatible = "adi,adv7281-ma", },
{ .compatible = "adi,adv7282", },
{ .compatible = "adi,adv7282-m", },
{ }, { },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment