Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3490881ybi; Mon, 29 Jul 2019 07:28:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqwsoEzAlx32slnOS+Tpjgg07ny5zQIRKTtFOj9qDl5dBQ9qWUCUwOP03loLX5WfjNEAV0rd X-Received: by 2002:a17:90a:cf8f:: with SMTP id i15mr60333469pju.110.1564410493920; Mon, 29 Jul 2019 07:28:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564410493; cv=none; d=google.com; s=arc-20160816; b=tjVCR4DChXwmiagsCUXkP3C0mD8Z/PL0tFlM8wVxRRtcxzOxu+D11jCQ9Dl+dJXL2z C6vRvbdi8JSCyQiQmzIYaWElpXgxifeyfNJbAgfwDUc2Nfl/AhketPqFD5kVWxGOmQC3 /QS3YK9UhBkOzw+ehq1TL2GhrU0Ps1WOo0WVbuYThaFUBqPR+b0GsEhvmfHGlIK7a7UQ WbrTA6anuO4xYbiKX0fGsechezE2sIDFJ+u282hr/gQxLHQRekMaaovJg+KnaGiXpcJz 6GVrjZmDjiQyTY9amW8IpOwpDwzfYniiHBAn/j5iCob4zfumLmzaAHVSBVRS6Wmcp2hd EosQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=Lz5kbq3H72ZTrdtYEOPHD7pU96m0UUtd7CMQZ5pfDxo=; b=ql8td6MWRcwLZLjOuxYPsTqRBGtz/id/o4hEuO2046hUnbzbipEWUZlCDVItecZCSm SUbChpaTYEtEkZFARLxFk4g9A097+O+t1iOitsZg8w3ZPhR/L4dy/tOVH4ErRESBL+S7 zr6dyctTcnsj0Aw8gE2/79k0QLxN/x0CehUUDGb2EXAd6dshTQZL+fSYWd5PIC5I0s7d sdOxC2X/uomFs13OePF6qdW8E/T515/KTPPnWT1hiFK4HC4yACdmwzXc9wPw8ZvYqVXE Fu9RoDkYgrsdJ3TlpJ/5xnYrPNYQ8brqW3EjU0AnWuXjCzP4ZocgrGKHCSpwSLD+vNPB BKOw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l16si12503211pgt.568.2019.07.29.07.27.58; Mon, 29 Jul 2019 07:28:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727318AbfG2OXE (ORCPT + 99 others); Mon, 29 Jul 2019 10:23:04 -0400 Received: from verein.lst.de ([213.95.11.211]:40322 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726327AbfG2OXE (ORCPT ); Mon, 29 Jul 2019 10:23:04 -0400 Received: by verein.lst.de (Postfix, from userid 2005) id E55C468AEF; Mon, 29 Jul 2019 16:22:58 +0200 (CEST) Date: Mon, 29 Jul 2019 16:22:58 +0200 From: Torsten Duwe To: Rob Herring , Maxime Ripard Cc: Chen-Yu Tsai , Mark Rutland , Thierry Reding , David Airlie , Daniel Vetter , Andrzej Hajda , Laurent Pinchart , Icenowy Zheng , Sean Paul , Vasily Khoruzhick , Harald Geyer , Greg Kroah-Hartman , Thomas Gleixner , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 6a/7] dt-bindings: Add ANX6345 DP/eDP transmitter binding Message-ID: <20190729142258.GB7946@lst.de> References: <20190722150414.9F97668B20@verein.lst.de> <20190725151829.DC20968B02@verein.lst.de> <20190726163601.o32bxqew5xavjgyi@flea> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190726163601.o32bxqew5xavjgyi@flea> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 26, 2019 at 06:36:01PM +0200, Maxime Ripard wrote: > > + > > + dvdd12-supply: > > + maxItems: 1 > > + description: Regulator for 1.2V digital core power. > > + $ref: /schemas/types.yaml#/definitions/phandle > > + > > + dvdd25-supply: > > + maxItems: 1 > > + description: Regulator for 2.5V digital core power. > > + $ref: /schemas/types.yaml#/definitions/phandle > > There's no need to specify the type here, all the properties ending in > -supply are already checked for that type Ok, thanks for the hint. > > + ports: > > + type: object > > + minItems: 1 > > + maxItems: 2 > > + description: | > > + Video port 0 for LVTTL input, > > + Video port 1 for eDP output (panel or connector) > > + using the DT bindings defined in > > + Documentation/devicetree/bindings/media/video-interfaces.txt > > You should probably describe the port@0 and port@1 nodes here as > well. It would allow you to express that the port 0 is mandatory and > the port 1 optional, which got dropped in the conversion. I would have liked to, but have not discovered yet a comprehensive source of information about recommended syntax and semantics of the YAML schemes. Is there some central reference for these types of issues? I mean not the "here is a git repo with the meta-schemes" but sort of a cookbook? Torsten