diff options
author | Julian Scheel <julian@jusst.de> | 2016-02-23 18:11:21 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-05-06 10:16:29 -0300 |
commit | bf14e74cef06efc18fc769cbc331c6612dca214b (patch) | |
tree | 55d11a1dd1b0e6bb96c5811d78f04bfb419fa204 | |
parent | b9894728c2de35bab54f0f47b92b43a927ad7b37 (diff) | |
download | op-kernel-dev-bf14e74cef06efc18fc769cbc331c6612dca214b.zip op-kernel-dev-bf14e74cef06efc18fc769cbc331c6612dca214b.tar.gz |
[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: Julian Scheel <julian@jusst.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
-rw-r--r-- | Documentation/devicetree/bindings/media/i2c/adv7180.txt | 13 | ||||
-rw-r--r-- | drivers/media/i2c/adv7180.c | 8 |
2 files changed, 19 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/media/i2c/adv7180.txt b/Documentation/devicetree/bindings/media/i2c/adv7180.txt index 2f39f26..0d50115 100644 --- a/Documentation/devicetree/bindings/media/i2c/adv7180.txt +++ b/Documentation/devicetree/bindings/media/i2c/adv7180.txt @@ -1,10 +1,19 @@ * Analog Devices ADV7180 analog video decoder family 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 : -- 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: diff --git a/drivers/media/i2c/adv7180.c b/drivers/media/i2c/adv7180.c index 5a75a91..b77b0a4 100644 --- a/drivers/media/i2c/adv7180.c +++ b/drivers/media/i2c/adv7180.c @@ -1402,6 +1402,14 @@ static SIMPLE_DEV_PM_OPS(adv7180_pm_ops, adv7180_suspend, adv7180_resume); #ifdef CONFIG_OF static const struct of_device_id adv7180_of_id[] = { { .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", }, { }, }; |