Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1611192rwi; Fri, 14 Oct 2022 23:22:50 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6/+qvTvdzgve3/VP2vYmBaSknQX2hwSFoZnN8aHgjhhVmrEVZwS3LOaBa9snYOOOzcSwBi X-Received: by 2002:a17:90b:1d83:b0:20d:7e1e:fa51 with SMTP id pf3-20020a17090b1d8300b0020d7e1efa51mr1794075pjb.131.1665814970472; Fri, 14 Oct 2022 23:22:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665814970; cv=none; d=google.com; s=arc-20160816; b=dPcZSXY6sOWQufApGrzVf+1scNHnD6cZEO02+fypwftSxm/0Eg6sRJeTssKVgK6O9v 4XEWIC1oPgRdRff6sSa4ipm7Hm2Qy4Iwm6WY/b2d4D2NtJm+BlLe3ZF6T0H7d8gvN9rn tUDQqENKyxloBczqPqlJfHW/iRUMmsA4pwTrNSxoR1JBiFE0mSy2vFvbzd3skIpjqZKz DIy6VPbQCn/to6l4l7T+CO8WVukuq38gQz37KEQ4n+6qItxcRoT0kbnca7As9166pmM+ eX9cKKyH/BNMWL2dgBT2NgawaGPCTPCXZhzJbVR98SX88b7B6JsOLcV/YdYcEBTsu5NH +Jcw== 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=/GfaM7mPwW86SCF18hanhoWJLXDO/ntGHr7alMTBzQs=; b=YnmDChL6UeVQLfCcf+6N839ABDC9BPFy6a89VstmjU0+9L7uVg3+EqLlA61cCW26ne LCaZ3G+sMAnrbSwwWe5+82MmAI7IAzdj20LDjFyqnr0YHosf5rAT6FmHJVXW7BfrtFLj bD2IQNRZxih8pWDFYSnCDYEwkbVhtHjYJM7AzKaB0Db4udt0GY/Yv/bbBdEwzEZ961oC ODHUXGhueo8kvRRPdx9mzSPDekCGO/R9SmgY3ht3RC/WwtSmDnpabKfeKaryIoAV+Qpq fyL8VOA5ona3cQFhoS9elUpjA1WZzbBTyEmkYMZFY76AYkaDywV1RgbCXwJ7qf4tYmwZ KsOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=vLbFtvqN; 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 l11-20020a170903244b00b0017f9db0233fsi5860602pls.448.2022.10.14.23.22.20; Fri, 14 Oct 2022 23:22:50 -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=vLbFtvqN; 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 S229567AbiJOFy2 (ORCPT + 99 others); Sat, 15 Oct 2022 01:54:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33754 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229540AbiJOFy0 (ORCPT ); Sat, 15 Oct 2022 01:54:26 -0400 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A621558C3; Fri, 14 Oct 2022 22:54:25 -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 15DDD499; Sat, 15 Oct 2022 07:54:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1665813263; bh=DZYzkqs5Jujshbu03ccubh/EURrg2D906VTI6AMeaGc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=vLbFtvqNcXY8xoVfdJV6XGCD5oA7vO5jGK1L9VhEi+cFQydJpDh50H//opx1SUKMd g9MaZwTCEq0l390EaHnxRUp8lpc4RuE8gTgEaWIyFjJRfJSmnr/2LNphABXyDELefH 7ItT3PftxdOZ7N0Waq7mBn0k7WAL7ulM31oVmVKk= Date: Sat, 15 Oct 2022 08:54:20 +0300 From: Laurent Pinchart To: Rob Herring Cc: "Lad, Prabhakar" , Sakari Ailus , Krzysztof Kozlowski , Mauro Carvalho Chehab , Hans Verkuil , Shawn Tu , Jacopo Mondi , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Biju Das , Lad Prabhakar Subject: Re: [PATCH v2 1/5] media: dt-bindings: ov5645: Convert OV5645 binding to a schema Message-ID: References: <20221014183459.181567-1-prabhakar.mahadev-lad.rj@bp.renesas.com> <20221014183459.181567-2-prabhakar.mahadev-lad.rj@bp.renesas.com> <20221014214029.GA2937999-robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20221014214029.GA2937999-robh@kernel.org> 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 Hi Rob, On Fri, Oct 14, 2022 at 04:40:29PM -0500, Rob Herring wrote: > On Fri, Oct 14, 2022 at 10:27:53PM +0100, Lad, Prabhakar wrote: > > On Fri, Oct 14, 2022 at 10:05 PM Rob Herring wrote: > > > On Fri, Oct 14, 2022 at 1:35 PM Prabhakar wrote: > > > > > > > > From: Lad Prabhakar > > > > > > > > Convert the simple OV5645 Device Tree binding to json-schema. > > > > > > > > The previous binding marked the below properties as required which was a > > > > driver requirement and not the device requirement so just drop them from > > > > the required list during the conversion. > > > > - clock-frequency > > > > - enable-gpios > > > > - reset-gpios > > > > > > > > Also drop the "clock-names" property as we have a single clock source for > > > > the sensor and the driver has been updated to drop the clk referencing by > > > > name. > > > > > > Driver requirements are the ABI! > > > > > > This breaks a kernel without the driver change and a DTB that has > > > dropped the properties. > > > > > I already have a patch for the driver [0] which I missed to include > > along with the series. > > You completely miss the point. Read the first sentence again. Changing > driver requirements changes the ABI. > > This breaks the ABI. The driver patch does not help that. I'm not following you here. If the DT binding makes a mandatory property optional, it doesn't break any existing platform. The only thing that would not work is a new DT that doesn't contain the now optional property combined with an older driver that makes it required. That's not a regression, as it would be a *new* DT. > > > Also, with 'clock-names' dropped, you've just introduced a bunch of > > > warnings on other people's platforms. Are you going to 'fix' all of > > > them? > > > > > Yes I will fix them, once the patch driver patch [0] is merged in. > > Why? You are just making extra work. We have enough warnings as-is to > fix. I agree that a DT binding change should patch all in-tree DTS to avoid introducing new warnings. -- Regards, Laurent Pinchart