Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp1002789ybx; Thu, 7 Nov 2019 05:54:20 -0800 (PST) X-Google-Smtp-Source: APXvYqzVeY/8DvjUc6jMrLjbB0ZvtsNUQlIbtq38EhihVOi+Oab4/qm00I8Ss6scfc4NduKqUr92 X-Received: by 2002:a50:cc42:: with SMTP id n2mr3604480edi.289.1573134860854; Thu, 07 Nov 2019 05:54:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573134860; cv=none; d=google.com; s=arc-20160816; b=egt6hKEXLZb32UgYrnoGazLEU5k+hLDviQZ5phjqFfHOBXEZ9uSbBCGaGJwLdmEuKh oe9OLicKVo0L0ttu0J4eDGKphEi7zifAZf64fzUc9rsJbdlGKj/pAXKGYIZ3ztRYvsV+ Z1rXk1O2S/mMMCzuEUAbkD3dsiavmSGrD/3rqS/WACtM8fLSQohpeb6L6cJkrblEC4ZL j2zJuXzUIrjgx/NettVmAryw8C7HG34fc4ckXzkApxAvHAx/BoiYgEi8z8xsZ9f2RjqP 24yOuSzW+w2mY6kGW25C6FdQsqbMdYQ3hWDmVpHQ+0gw0WtjwYEhHfuTGWSX492UHqEo U77w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:cc:to:subject:date:from :references:in-reply-to; bh=C40oZky91cLnfaLm6wsV2JkgKeWqnA8NjivsSw2ks7I=; b=HuxnvIL9utAwGM6kmBlfO47+O8uION/IK3bv4hiBAPqD6uVphysHTsl74Nz73WXK0L JE7APKCNFtfeVarb7Oi+LERwoyTcQxkl0/MwjLNyu38dYgNtvotGKp5JFwukyRu8dHA0 DECca2LXkSKTFSwU3NASEdtj1SnpOojShD7dpo6K+UoEmK3zdnrNwbkFWR/QDOvPPVLz mWz4yHs9XkMEt4pzJRZSG6AFaY8dvfWFhiYgm68YYVjlYKSlLfVKnkEg7Qcm8/JZHkUt XxDhUo4PulNL/vDLnj3L4RoSk5HVtet4UDFNomOncpPISv1Ydg2u0K2+k23XW6NQ1FPr bX+A== 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 w17si1461111edc.152.2019.11.07.05.53.57; Thu, 07 Nov 2019 05:54:20 -0800 (PST) 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 S2389420AbfKGNw1 (ORCPT + 99 others); Thu, 7 Nov 2019 08:52:27 -0500 Received: from verein.lst.de ([213.95.11.211]:57486 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389365AbfKGNwZ (ORCPT ); Thu, 7 Nov 2019 08:52:25 -0500 Received: by verein.lst.de (Postfix, from userid 2005) id BD63768C4E; Thu, 7 Nov 2019 14:52:22 +0100 (CET) In-Reply-To: <20191107135018.0A04068BE1@verein.lst.de> References: <20191107135018.0A04068BE1@verein.lst.de> From: Torsten Duwe Date: Tue, 29 Oct 2019 13:16:57 +0100 Subject: [PATCH v5 6/7] dt-bindings: Add ANX6345 DP/eDP transmitter binding To: Maxime Ripard , 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 Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Message-Id: <20191107135222.BD63768C4E@verein.lst.de> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- .../bindings/display/bridge/anx6345.yaml | 102 ++++++++++++++++++++++ 1 file changed, 102 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..094e8e8a5faa --- /dev/null +++ b/Documentation/devicetree/bindings/display/bridge/anx6345.yaml @@ -0,0 +1,102 @@ +# 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: base I2C address of the device + + reset-gpios: + maxItems: 1 + description: GPIO connected to active low reset + + dvdd12-supply: + maxItems: 1 + description: Regulator for 1.2V digital core power. + + dvdd25-supply: + maxItems: 1 + description: Regulator for 2.5V digital core power. + + ports: + type: object + + properties: + port@0: + type: object + description: | + Video port for LVTTL input + + port@1: + type: object + description: | + Video port for eDP output (panel or connector). + May be omitted if EDID works reliably. + + required: + - port@0 + +required: + - compatible + - reg + - reset-gpios + - dvdd12-supply + - dvdd25-supply + - ports + +additionalProperties: false + +examples: + - | + i2c0 { + #address-cells = <1>; + #size-cells = <0>; + + anx6345: anx6345@38 { + compatible = "analogix,anx6345"; + reg = <0x38>; + reset-gpios = <&pio42 1 /* GPIO_ACTIVE_LOW */>; + dvdd25-supply = <®_dldo2>; + dvdd12-supply = <®_fldo1>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + anx6345_in: port@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + anx6345_in_tcon0: endpoint@0 { + reg = <0>; + remote-endpoint = <&tcon0_out_anx6345>; + }; + }; + + anx6345_out: port@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; + anx6345_out_panel: endpoint@0 { + reg = <0>; + remote-endpoint = <&panel_in_edp>; + }; + }; + }; + }; + };