From mboxrd@z Thu Jan 1 00:00:00 1970 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 63DE7C433EF for ; Fri, 29 Oct 2021 09:33:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 48AAB60F93 for ; Fri, 29 Oct 2021 09:33:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231533AbhJ2Jfl (ORCPT ); Fri, 29 Oct 2021 05:35:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34262 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229927AbhJ2Jfl (ORCPT ); Fri, 29 Oct 2021 05:35:41 -0400 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D9571C061570; Fri, 29 Oct 2021 02:33:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=CndVQumI3AmJcTN9QjVmztpnvBa8Y3ayGPnj6RHPOAk=; b=S5rvlnm+YWnjZXwjESU4Cg9RkO 1oBbvOtf8vlGrivD0exvKmG0JIpjsoc+PTkH6ccKmlrERZzQcrxC4uSvu1FnUXch/g3Ufoyx+4Zbc 7watAkRcNQcZ1voNNBWUYuEa+90pWl6GPIEPMwxRkQzhQMigIYRkDqAVqNCf7tCNAiIRCp4KVj62X LouPAmvZsuDT+DZ6CqZKAc9C2Jm3V3eNuEkSrmQKDA7Wvgig0EmQYekp/Xbw87PLOEy74YkdG/6MF +ZNGJpole4xXsYrl23p3ChgLFSBr0OAbWQ2TTZ6S+T1rQrdC1lOyRwiRJRfshHGYhNykv+D+SHeQu 31MQr1DA==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:55376) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mgOG1-0008SP-Si; Fri, 29 Oct 2021 10:33:05 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1mgOFz-0001Uu-OQ; Fri, 29 Oct 2021 10:33:03 +0100 Date: Fri, 29 Oct 2021 10:33:03 +0100 From: "Russell King (Oracle)" To: Geert Uytterhoeven Cc: Rob Herring , =?iso-8859-1?Q?Beno=EEt?= Cousson , Tony Lindgren , Magnus Damm , Fabrizio Castro , David Airlie , Daniel Vetter , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , DRI Development , "open list:TI ETHERNET SWITCH DRIVER (CPSW)" , Linux-Renesas Subject: Re: [PATCH 3/3] [RFC] dt-bindings: display: bridge: nxp,tda998x: Convert to json-schema Message-ID: References: <1f6bf58d76efc2e869b800534b818d1451ef98a2.1634822085.git.geert+renesas@glider.be> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: Russell King (Oracle) Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org On Fri, Oct 29, 2021 at 10:28:22AM +0200, Geert Uytterhoeven wrote: > Hi Russell, > > Thanks for your comments! > > No, you can still use port: > > +oneOf: > + - required: > + - port > + - required: > + - ports > > When using ports, no further requirements are set, but perhaps port@0 > should be made required in that case? Maybe I don't understand the binding description then, but to me it looks like you require both port@0 and port@1. The reality of the driver is that it makes almost no use of the graph itself, except via drm_of_find_possible_crtcs() to find the connected CRTCs. If it is connected to an I2S source, then it probably needs a port specification for that. If someone wants to describe the HDMI connector (which I don't see any point in) then they likely need a port specification for that too. However, the driver itself doesn't care about any of those. So, describing the port nodes makes no sense. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!