Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp447287ybi; Fri, 26 Jul 2019 12:31:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqyE+75xrWggngjnQ01sV9p3rcZz1gCp8ChiJKWgpAdjvSW2pRsHS5q+udzrZ4O89axghsVe X-Received: by 2002:a17:902:5a2:: with SMTP id f31mr96251522plf.72.1564169471563; Fri, 26 Jul 2019 12:31:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564169471; cv=none; d=google.com; s=arc-20160816; b=TFeUF2J8VP2jJrHp74ff+iaFvFUZaWYaOgT28f8V7nef6IYDzf44nq4WQ47/JFXwa6 a5qavWcYJ7ctaM7Ic5w3OUUKqiNyUz5uJmwtzttiQWTflhAeFwsB0f32o2xnYhClehDx j9Pi9+091lptdPlr1Q9WQIlUrIpUfoVt46V+JgnrEGkpl+FuDoVwMOK53gnDqb2cmyG8 hC37fSjJITvGx4278Vyp0Yin4inFWG5FN/R5/4T8TjPVMK0PdEfMezBripl8NSnb+/d3 nGHi7D9kTG5hlf1Sacr1/ul0idGbbSAmtWBTjpbwrIecrv7+VJ6qmQkx+v5cUD9zMQtw 8Jqw== 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=Jdg48MuXJtuxRBTv2IA+lm9fXsXtlh0aAcLlXR7Ur9Q=; b=HOIGnzNxhfcf+wyvh4+OrzSUONcOJeIk67ssggYxv/4up1D30vJHk5xylxb8zbQWqH kKrQz9Y5H4K7lw/HCGbkFOgBYoMmNlfQzofYKyV3ZfP6m40PcNWnyo3D8bYfJxdRXUcT QfNTjezMzrjVcrN1oD7AT14fBGRRm7ztDcNxQMHPV/gVysIgJ/6agFLUGdh03m+XpDZ5 fWDlxCKJWPYIR333vOymXEMciS4queWuzdQ4N2xsJCnqlS4OZg16VB4z0Q2zihy3elHV CexNMQ/f+X0esCY/37LT3uTes5V2So4CAo6/HZd9+gOgIeKOntxnYcgiMqNk/yaLdYij aAzA== 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 68si21471475pgb.104.2019.07.26.12.30.56; Fri, 26 Jul 2019 12:31:11 -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 S1728963AbfGZQrr (ORCPT + 99 others); Fri, 26 Jul 2019 12:47:47 -0400 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:47941 "EHLO relay8-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726827AbfGZQrq (ORCPT ); Fri, 26 Jul 2019 12:47:46 -0400 X-Originating-IP: 109.190.253.11 Received: from localhost (unknown [109.190.253.11]) (Authenticated sender: maxime.ripard@bootlin.com) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id 839B91BF207; Fri, 26 Jul 2019 16:47:41 +0000 (UTC) Date: Fri, 26 Jul 2019 18:36:01 +0200 From: Maxime Ripard To: Torsten Duwe Cc: Chen-Yu Tsai , Rob Herring , 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: <20190726163601.o32bxqew5xavjgyi@flea> References: <20190722150414.9F97668B20@verein.lst.de> <20190725151829.DC20968B02@verein.lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190725151829.DC20968B02@verein.lst.de> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Thu, Jul 25, 2019 at 05:18:29PM +0200, Torsten Duwe wrote: > The anx6345 is an ultra-low power DisplayPort/eDP transmitter designed > for portable devices. > > Add a binding document for it. > > Signed-off-by: Icenowy Zheng > Signed-off-by: Vasily Khoruzhick > Reviewed-by: Rob Herring > Signed-off-by: Torsten Duwe > Reviewed-by: Laurent Pinchart > --- > .../devicetree/bindings/display/bridge/anx6345.yaml | 90 ++++++++++ > 1 file changed, 90 insertions(+) > create mode 100644 Documentation/devicetree/bindings/display/bridge/anx6345.yaml > > diff --git a/Documentation/devicetree/bindings/display/bridge/anx6345.yaml b/Documentation/devicetree/bindings/display/bridge/anx6345.yaml > new file mode 100644 > index 000000000000..0af092d101c5 > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/bridge/anx6345.yaml > @@ -0,0 +1,90 @@ > +# SPDX-License-Identifier: GPL-2.0 > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/bridge/anx6345.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Analogix ANX6345 eDP Transmitter Device Tree Bindings > + > +maintainers: > + - Torsten Duwe > + > +description: | > + The ANX6345 is an ultra-low power Full-HD eDP transmitter designed for > + portable devices. > + > +properties: > + compatible: > + const: analogix,anx6345 > + > + reg: > + maxItems: 1 > + description: I2C address of the device > + > + reset-gpios: > + maxItems: 1 > + description: active low GPIO to use for reset > + > + 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 > + 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. Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com