From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from galahad.ideasonboard.com ([185.26.127.97]:37021 "EHLO galahad.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755162AbcBWUGQ (ORCPT ); Tue, 23 Feb 2016 15:06:16 -0500 From: Laurent Pinchart To: Julian Scheel Cc: linux-media@vger.kernel.org, lars@metafoo.de, hverkuil@xs4all.nl Subject: Re: [PATCH] media: adv7180: Add of compatible strings for full family Date: Tue, 23 Feb 2016 22:06:13 +0200 Message-ID: <1941393.Upgl0HgCbF@avalon> In-Reply-To: <1456228699-22575-1-git-send-email-julian@jusst.de> References: <1456228699-22575-1-git-send-email-julian@jusst.de> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-media-owner@vger.kernel.org List-ID: Hi Julian, Thank you for the patch. On Tuesday 23 February 2016 12:58:19 Julian Scheel wrote: > Add entries for all supported chip variants into the of_match list, so that > the matching driver_info can be selected when using dt. How about starting by adding a DT bindings document ? > Change-Id: I6ff849726c8f475c81e848423b27c35f2ccb0509 I sympathize with you for the pain gerrit is inflicting on you, but don't share it with all upstream developers please, you can remove this :-) > Signed-off-by: Julian Scheel > --- > drivers/media/i2c/adv7180.c | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/drivers/media/i2c/adv7180.c b/drivers/media/i2c/adv7180.c > index ff57c1d..5515f3d 100644 > --- a/drivers/media/i2c/adv7180.c > +++ b/drivers/media/i2c/adv7180.c > @@ -1328,6 +1328,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", }, > { }, > }; -- Regards, Laurent Pinchart