Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2289300rwb; Mon, 19 Sep 2022 02:51:52 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7BMoKczsL1G5nP6Mwy55e5Y80pa2KXb7dz/LG+nugO8bx+z5G+ygKGHg+mPKz+TjaruZ+t X-Received: by 2002:a17:90b:3b47:b0:202:d9d4:23f7 with SMTP id ot7-20020a17090b3b4700b00202d9d423f7mr29795687pjb.56.1663581112149; Mon, 19 Sep 2022 02:51:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663581112; cv=none; d=google.com; s=arc-20160816; b=EPLiGjxtZgeknivSyhHnbyn/RAGBkAdxaBYyOeurwlkCl3wg9fDNETqEIuP/OEU3C6 hHs5X28J4/XA+MOuVIoSVrgUJJUmYe726rN89CcP3YtC8hbjZhxEM+YKCVEjErtDrKYG xB6E79k1jJiHNviDyV3PfPM9eH44oqkuPn7YMX/eDEkvF4CX+Tohz1aWdWreQNkMRlFl ++du4z0xXw9QyxwoS2d+DHtUYF/Luogt+yOIalqMgffN4QVEEYUKopEI+wdrGMC9aWPx aD0DcvZ6gSsjfgURj49SZjHVsFhAH14ZIAiqzaxAj6OyGwMxlgWLHspP0XfVQDsWDZ6v vytg== 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:dkim-signature; bh=nMn+4kcPeaVuZBBXT+f9raD9nMzBpSGP0lCSTO7EE3E=; b=gPtFkmQEdcKE+BsZ5P1s1T/XTOECX3h8TNeD0iPtaYv4mpB+pLBpvzNL9xr8aVJmRY 68t05zEEmF9yHei+rdVcHF04UjNu2El+wmFXPBDgZlGYP0TCG8vChScvLWffxPCXn9ET z8jejY6+LVhPSVVbflN77pM1p0TVzoV24cHiIZ6XjlUWzppRxseUbaOzpiRIgsbEg4ie 9IZ3peGhOtIbkEEVlaVjyvhq2H/osZe+XOb7ZwO8qyBIecT/XY8ELhLEwbo9NhJxnGn0 7TjuujjO2rn5dIqhl77JrDs9YlFkJgjcdMRVnqD50ItaaZrF5jl/I7iI7wCPZtstElvg H77g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b="bNisYN/Y"; 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 rm8-20020a17090b3ec800b001fabad2f85asi11829241pjb.120.2022.09.19.02.51.41; Mon, 19 Sep 2022 02:51:52 -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; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b="bNisYN/Y"; 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 S230095AbiISJhi (ORCPT + 99 others); Mon, 19 Sep 2022 05:37:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55498 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230147AbiISJhb (ORCPT ); Mon, 19 Sep 2022 05:37:31 -0400 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D351425E83; Mon, 19 Sep 2022 02:37:29 -0700 (PDT) Received: from pendragon.ideasonboard.com (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 1F652415; Mon, 19 Sep 2022 11:37:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1663580247; bh=w1XptG6gnWG5qMJFr8lQ2cZDdLHVlAvcC5cflznsxfo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=bNisYN/YVkoeYHIoAQ0NUs+nZb62EV63JbAzylzbuFNQkQTpIcIjM6MHoS7qxh3yO /RxA4jWl/GpiNRyMxh3ndQ6F+GoC8ISkP+lDWXO+y4Lcu0wr7Azda5gKAb4CmkZcTY WVpKGR1oJZMg3W5KFFUbl3wCHZVU5NpfH6FmLGbg= Date: Mon, 19 Sep 2022 12:37:13 +0300 From: Laurent Pinchart To: "Lad, Prabhakar" Cc: Krzysztof Kozlowski , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Maxime Ripard , Steve Longerbeam , Sakari Ailus , Hans Verkuil , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Lad Prabhakar Subject: Re: [PATCH] media: dt-bindings: i2c: ovti,ov5640: Drop ref to video-interface-devices.yaml Message-ID: References: <20220916133521.73183-1-prabhakar.mahadev-lad.rj@bp.renesas.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS 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 On Mon, Sep 19, 2022 at 10:35:21AM +0100, Lad, Prabhakar wrote: > On Mon, Sep 19, 2022 at 9:19 AM Krzysztof Kozlowski wrote: > > On 19/09/2022 10:08, Lad, Prabhakar wrote: > > > On Sun, Sep 18, 2022 at 12:06 AM Laurent Pinchart wrote: > > >> On Fri, Sep 16, 2022 at 02:35:21PM +0100, Prabhakar wrote: > > >>> From: Lad Prabhakar > > >>> > > >>> video-interface-devices.yaml isn't used so just drop it from the > > >>> DT binding doc. > > >>> > > >>> Signed-off-by: Lad Prabhakar > > >>> --- > > >>> Documentation/devicetree/bindings/media/i2c/ovti,ov5640.yaml | 3 --- > > >>> 1 file changed, 3 deletions(-) > > >>> > > >>> diff --git a/Documentation/devicetree/bindings/media/i2c/ovti,ov5640.yaml b/Documentation/devicetree/bindings/media/i2c/ovti,ov5640.yaml > > >>> index 540fd69ac39f..ce99aada75ad 100644 > > >>> --- a/Documentation/devicetree/bindings/media/i2c/ovti,ov5640.yaml > > >>> +++ b/Documentation/devicetree/bindings/media/i2c/ovti,ov5640.yaml > > >>> @@ -9,9 +9,6 @@ title: OmniVision OV5640 Image Sensor Device Tree Bindings > > >>> maintainers: > > >>> - Steve Longerbeam > > >>> > > >>> -allOf: > > >>> - - $ref: /schemas/media/video-interface-devices.yaml# > > >>> - > > >> > > >> The rotation property listed in this binding uses the definition from > > >> video-interface-devices.yaml. I don't think just dropping this is the > > >> right solution. Changing additionaProperties to unevaluatedProperties > > >> seems a better option. > > > > > > Agreed, I missed rotation was used from video-interface-devices.yaml. > > > Agreed the changing additionaProperties to unevaluatedProperties seems > > > a better option. > > > > The meaning of unevaluatedProperties:false would be here - accept other > > properties (not mentioned here explicitly) from referenced schema. If > > this is your actual intention for this binding, it makes sense. But if > > the intention in this binding was to disallow these other properties, > > then it would be wrong to change to unevaluatedProperties. > > > Thank you for the clarification. The intention is to disallow the property. Why should they be disallowed ? > > Therefore before sending patches and calling something better or not, > > please instead focus on that aspect of referenced schema. > > Sure will do, sorry for the noise. -- Regards, Laurent Pinchart