Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8742EC433EF for ; Thu, 2 Dec 2021 22:44:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377493AbhLBWrc (ORCPT ); Thu, 2 Dec 2021 17:47:32 -0500 Received: from perceval.ideasonboard.com ([213.167.242.64]:40158 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377482AbhLBWrb (ORCPT ); Thu, 2 Dec 2021 17:47:31 -0500 Received: from pendragon.ideasonboard.com (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id A8F1EB7E; Thu, 2 Dec 2021 23:44:06 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1638485046; bh=b9wmW+9lDgWgXKRDWJV/3oD6ffkkHYt53ZguaT9G4bs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=aucSEzJMJAQuE46RaLeh+EjMqWJvC4xoEVG7/2H+NWQ4sQmQYJyY8VogXtm/JTFJb feGZyjqhILIbduaKtW/V2J6aQd56i9i6gsFol7Ba39KiVGj1VTf4YWBDFXdqT5IZyt gnRVzEu4rnzJUpfhDwhcrgs03NgOeYrKuWaVDHTc= Date: Fri, 3 Dec 2021 00:43:40 +0200 From: Laurent Pinchart To: Rob Herring Cc: devicetree@vger.kernel.org, Rui Miguel Silva , Mauro Carvalho Chehab , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] dt-bindings: media: nxp,imx7-mipi-csi2: Drop bad if/then schema Message-ID: References: <20211202023021.3655384-1-robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Hi Rob, On Thu, Dec 02, 2021 at 04:26:23PM -0600, Rob Herring wrote: > On Thu, Dec 2, 2021 at 3:06 PM Laurent Pinchart wrote: > > On Wed, Dec 01, 2021 at 08:30:21PM -0600, Rob Herring wrote: > > > The if/then schema for 'data-lanes' doesn't work as 'compatible' is at a > > > different level than 'data-lanes'. To make it work, the if/then schema > > > would have to be moved to the top level and then whole hierarchy of > > > nodes down to 'data-lanes' created. I don't think it is worth the > > > complexity to do that, so let's just drop it. > > > > Fair enough, but then shouldn't there be a comment in the data-lanes > > property to tell that i.MX7 only supports up to 2 data lanes ? > > I'll add this to data-lanes: > > description: Note that 'fsl,imx7-mipi-csi2' only supports up to 2 data lines. Looks good to me. > I assume it is 1 or 2 and not only 2, right? Correct. -- Regards, Laurent Pinchart