Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp366629iog; Wed, 29 Jun 2022 01:41:20 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sWnwKFXoFUnRTwzOhFtdp9A5ynVdYWURnXwCxbB/SnjfcLYIFeyBvgNC7m+fdXVWURZde5 X-Received: by 2002:a17:907:d29:b0:726:9e67:df9 with SMTP id gn41-20020a1709070d2900b007269e670df9mr2162999ejc.242.1656492080356; Wed, 29 Jun 2022 01:41:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656492080; cv=none; d=google.com; s=arc-20160816; b=sANQd4ylf1kWzvnDrL8VM7HuHh9/riSrmJbb0DhRNsk3tZysvMJUH29aM2TOi88nV2 IG6mm89Fl3xtWPXeX1VABvtXUY1Jkd3kjdXwz1SM/edAGjEjuUd/nP+XOugvEM8Qv788 XO6VmN9WFNUEXvJypxZVaQTBx4n4MOL2bFsgb13kqHmy/yxSYzWfAebdoROX0yk7J9fO 5ew43xS0hXBRnytXAnr11pD4XptgWGxl7PSxcWBtGjo3Oiri99QpHb5KRHue7TtgwQPt 4PZiDzUY024ma9MlqnmOHhhUN6Tl+n26o3ec5gYmvz3FYKugiaFalO4rK+TRzas7efR3 67qQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=nuZ8MpIK0lrmruLZFQvlpGvb9hW/7uN5/4tF68rrE0Y=; b=UL34pE7+ECRqSaN8A90WUoL/us3rH+G++gAEAOazsPqa1DQQL7rQSoOHtwLeO+IgLT iayWR2zlIdvKrvED3JdkjrsoL25kOJj+ZIJ39Q/t6Eua8KQMHw3kF6cujcdPl4kTj9Zl fL/vY4LVH8Xe+cpJrlb5+gJppzMVt+DdQhadXEbh3JohQ365z4tM8pSDBj/ZkUCIkD1o QGaHFN1/giOg+nQH8C7Su1OBBfYNy0a+R6bCWrYwsKN2nrXJceYd5ob2qHKnaPHPS6+y xrQ8guPlmDszvNcybIvh41nFs3OMfoaWZbs9Z3sS7sF/APvSCN9fCB109A71eTwhZzqB 8pbQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j17-20020a170906475100b00711db2a6646si17096010ejs.651.2022.06.29.01.40.54; Wed, 29 Jun 2022 01:41:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232681AbiF2IRt (ORCPT + 99 others); Wed, 29 Jun 2022 04:17:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60926 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229772AbiF2IRr (ORCPT ); Wed, 29 Jun 2022 04:17:47 -0400 Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::221]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EB7723BBC8; Wed, 29 Jun 2022 01:17:46 -0700 (PDT) Received: (Authenticated sender: jacopo@jmondi.org) by mail.gandi.net (Postfix) with ESMTPSA id 981CD240006; Wed, 29 Jun 2022 08:17:42 +0000 (UTC) Date: Wed, 29 Jun 2022 10:17:41 +0200 From: Jacopo Mondi To: Tommaso Merciai Cc: linuxfancy@googlegroups.com, linux-amarula@amarulasolutions.com, quentin.schulz@theobroma-systems.com, Dario Binacchi , Daniel Scally , Mauro Carvalho Chehab , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 6/7] media: ov5693: add ov5693_of_match, dts support Message-ID: <20220629081741.mmgqr756i57y544x@uno.localdomain> References: <20220627150453.220292-1-tommaso.merciai@amarulasolutions.com> <20220627150453.220292-7-tommaso.merciai@amarulasolutions.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20220627150453.220292-7-tommaso.merciai@amarulasolutions.com> X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Tommaso, On Mon, Jun 27, 2022 at 05:04:52PM +0200, Tommaso Merciai wrote: > Add ov5693_of_match. Device tree support > > Reviewed-by: Dario Binacchi Missing Signed-off-by > --- > 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 273caef467fe..0854226dc140 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, > -- > 2.25.1 >