[3/6] media: i2c: ov9282: Add ov9281 compatible

Message ID 20220711081639.150153-4-alexander.stein@ew.tq-group.com (mailing list archive)
State Superseded
Delegated to: Sakari Ailus
Headers
Series OV9281 support |

Commit Message

Alexander Stein July 11, 2022, 8:16 a.m. UTC
  According to product brief they are identical from software point of view.
Differences are a different chief ray angle (CRA) and the package.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
 drivers/media/i2c/ov9282.c | 1 +
 1 file changed, 1 insertion(+)
  

Comments

Alessandrelli, Daniele July 11, 2022, 7:34 p.m. UTC | #1
On Mon, 2022-07-11 at 10:16 +0200, Alexander Stein wrote:
> According to product brief they are identical from software point of
> view.
> Differences are a different chief ray angle (CRA) and the package.
> 
> Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>

Acked-by: Daniele Alessandrelli <daniele.alessandrelli@intel.com>

> ---
>  drivers/media/i2c/ov9282.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/media/i2c/ov9282.c b/drivers/media/i2c/ov9282.c
> index 3269c1983bd5..04fda8222e07 100644
> --- a/drivers/media/i2c/ov9282.c
> +++ b/drivers/media/i2c/ov9282.c
> @@ -1114,6 +1114,7 @@ static const struct dev_pm_ops ov9282_pm_ops =
> {
>  };
>  
>  static const struct of_device_id ov9282_of_match[] = {
> +       { .compatible = "ovti,ov9281" },
>         { .compatible = "ovti,ov9282" },
>         { }
>  };
  

Patch

diff --git a/drivers/media/i2c/ov9282.c b/drivers/media/i2c/ov9282.c
index 3269c1983bd5..04fda8222e07 100644
--- a/drivers/media/i2c/ov9282.c
+++ b/drivers/media/i2c/ov9282.c
@@ -1114,6 +1114,7 @@  static const struct dev_pm_ops ov9282_pm_ops = {
 };
 
 static const struct of_device_id ov9282_of_match[] = {
+	{ .compatible = "ovti,ov9281" },
 	{ .compatible = "ovti,ov9282" },
 	{ }
 };