mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Daniel Scally <djrscally@gmail.com>
To: Tommaso Merciai <tommaso.merciai@amarulasolutions.com>
Cc: linuxfancy@googlegroups.com, linux-amarula@amarulasolutions.com,
	quentin.schulz@theobroma-systems.com,
	Jacopo Mondi <jacopo@jmondi.org>,
	Sakari Ailus <sakari.ailus@iki.fi>,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	linux-media@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v4 6/6] media: ov5693: add ov5693_of_match, dts support
Date: Thu, 30 Jun 2022 11:12:32 +0100	[thread overview]
Message-ID: <4ad28210-0827-c86e-b2a3-b7ed49a191d3@gmail.com> (raw)
In-Reply-To: <20220630074525.481790-7-tommaso.merciai@amarulasolutions.com>

Hello

On 30/06/2022 08:45, Tommaso Merciai wrote:
> Add ov5693_of_match. Device tree support
>
> Signed-off-by: Tommaso Merciai <tommaso.merciai@amarulasolutions.com>
> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
> Reviewed-by: Sakari Ailus <sakari.ailus@iki.fi>


Reviewed-by: Daniel Scally <djrscally@gmail.com>

> ---
> Changes since v2:
>  - Change patch order 7 -> 6 as suggested by Sakari
>  - Add missing signed-off as suggested by Jacopo
>
> Changes since v3:
>  - Add reviewed-by tags, suggested by Jacopo, Krzysztof
>
>  drivers/media/i2c/ov5693.c | 7 +++++++
>  1 file changed, 7 insertions(+)
>
> diff --git a/drivers/media/i2c/ov5693.c b/drivers/media/i2c/ov5693.c
> index 3c805a5a5181..5930207193c7 100644
> --- a/drivers/media/i2c/ov5693.c
> +++ b/drivers/media/i2c/ov5693.c
> @@ -1532,10 +1532,17 @@ static const struct acpi_device_id ov5693_acpi_match[] = {
>  };
>  MODULE_DEVICE_TABLE(acpi, ov5693_acpi_match);
>  
> +static const struct of_device_id ov5693_of_match[] = {
> +	{ .compatible = "ovti,ov5693", },
> +	{ /* sentinel */ },
> +};
> +MODULE_DEVICE_TABLE(of, ov5693_of_match);
> +
>  static struct i2c_driver ov5693_driver = {
>  	.driver = {
>  		.name = "ov5693",
>  		.acpi_match_table = ov5693_acpi_match,
> +		.of_match_table = ov5693_of_match,
>  		.pm = &ov5693_pm_ops,
>  	},
>  	.probe_new = ov5693_probe,

      reply	other threads:[~2022-06-30 10:12 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-30  7:45 [PATCH v4 0/6] media: ov5693: cleanup code and add " Tommaso Merciai
2022-06-30  7:45 ` [PATCH v4 1/6] media: ov5693: count num_supplies using array_size Tommaso Merciai
2022-06-30 10:09   ` Daniel Scally
2022-06-30  7:45 ` [PATCH v4 2/6] media: ov5693: add dvdd into ov5693_supply_names array Tommaso Merciai
2022-06-30 10:11   ` Daniel Scally
2022-06-30  7:45 ` [PATCH v4 3/6] media: ov5693: rename clk into xvclk Tommaso Merciai
2022-06-30  7:45 ` [PATCH v4 4/6] media: ov5693: move hw cfg functions into ov5693_hwcfg Tommaso Merciai
2022-06-30  7:45 ` [PATCH v4 5/6] media: dt-bindings: ov5693: document YAML binding Tommaso Merciai
2022-06-30  8:07   ` Krzysztof Kozlowski
2022-06-30  9:02     ` Tommaso Merciai
2022-06-30  9:12       ` Sakari Ailus
2022-06-30  9:16         ` Tommaso Merciai
2022-06-30  9:50           ` Sakari Ailus
2022-06-30 10:09             ` Tommaso Merciai
2022-06-30 10:15               ` Daniel Scally
2022-06-30 11:21                 ` Sakari Ailus
2022-06-30 13:56                   ` Tommaso Merciai
2022-06-30  7:45 ` [PATCH v4 6/6] media: ov5693: add ov5693_of_match, dts support Tommaso Merciai
2022-06-30 10:12   ` Daniel Scally [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4ad28210-0827-c86e-b2a3-b7ed49a191d3@gmail.com \
    --to=djrscally@gmail.com \
    --cc=jacopo@jmondi.org \
    --cc=linux-amarula@amarulasolutions.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=linuxfancy@googlegroups.com \
    --cc=mchehab@kernel.org \
    --cc=quentin.schulz@theobroma-systems.com \
    --cc=sakari.ailus@iki.fi \
    --cc=tommaso.merciai@amarulasolutions.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®