Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp6531165yba; Tue, 14 May 2019 09:04:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqy3FC2N2pw6+QtZ9hMYHNSdORH+kfRDlEJez9rUdef9LJL3AR93GpG4vofUFkuxJGGg0+9r X-Received: by 2002:a65:60ca:: with SMTP id r10mr38787033pgv.64.1557849881944; Tue, 14 May 2019 09:04:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557849881; cv=none; d=google.com; s=arc-20160816; b=S/xNpnn3rok+wtMQ+uqMPIaf6P3mkN4+WonQdnNz2gTugLH5QCq9rYw85KNqQsu4NL 6X7zSCShX+0bCkCzOyk35YL+I7I6K7eDa3riSi7e7N7zBBLIkl8VNrNLaDGxp9Givgwf C+6zbJ9b0V4fFLLCC1KCpxOl4fWUYgXvcnhL2NIB0lYYIEZNT8rD60+Zpztc8sX61HzA oeDj39kFcs6bkccD+JNLMUoy7GFCBJy1WtAZR24XIqrLmX4AoFZ8D2OaSqUYtjiKBvCE NBw+Ii2TolScFbCNJehPOphTQheDHWFV6Q5fIRbvdcawwqb6deV3fqUD4W9gv51X5ynT IpqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:references:subject:cc:to :from; bh=y3YvddwLbz7WrAay4mb7u0CNafFa6UxYeN5c7Gcvwh4=; b=fmsSQI8m06nky6g0zCrW5dx4JoqoLbjv+5jsm/SNxBCPgEDhnl9IdTBJIZE9bAAubn Oag1HmpvsMEeRdyVCQpDBmW9T+yUzUZMEK3oKRdGY1Tnyd7h0rC7nWi550eVWE3rDNov zuMQPyYVfjvkdZpk1YWvofbVeESLxoMNW+Hanz7E4rnuFjjX01JrCNf5qpD0sWqNWYDS Pefwm1zISTweo2LDQjVYDF9WDr2/ll/h8sUHiAct60eVboHxuYNQdsIF+akKvUmGbcrs dWT5Q/NiKno8S7Bx/kK1LE5WkAQ3UC6pe7wKMXUwSdWB0dRXTC++lC8s1i29Je+yo2sL 2JKQ== 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 y4si19189953pll.138.2019.05.14.09.04.17; Tue, 14 May 2019 09:04:41 -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 S1726429AbfENQCw (ORCPT + 99 others); Tue, 14 May 2019 12:02:52 -0400 Received: from verein.lst.de ([213.95.11.211]:46627 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725916AbfENQCv (ORCPT ); Tue, 14 May 2019 12:02:51 -0400 Received: by newverein.lst.de (Postfix, from userid 2005) id CD70468BFE; Tue, 14 May 2019 18:02:30 +0200 (CEST) From: Torsten Duwe To: David Airlie , Daniel Vetter , Rob Herring , Mark Rutland , Thierry Reding , Maxime Ripard , Chen-Yu Tsai , Archit Taneja , Andrzej Hajda , Laurent Pinchart , Icenowy Zheng , Sean Paul , Vasily Khoruzhick , Harald Geyer Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/4] dt-bindings: Add ANX6345 DP/eDP transmitter binding References: <20190514155911.6C0AC68B05@newverein.lst.de> Message-Id: <20190514160230.CD70468BFE@newverein.lst.de> Date: Tue, 14 May 2019 18:02:30 +0200 (CEST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Icenowy Zheng 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 --- originally: patchwork.kernel.org/patch/10814177 All I did is change the reset polarity, which is evidently active low; according to the (terse) datasheet. It matches the polarity in the last patch. --- .../bindings/display/bridge/anx6345.txt | 56 +++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/bridge/anx6345.txt diff --git a/Documentation/devicetree/bindings/display/bridge/anx6345.txt b/Documentation/devicetree/bindings/display/bridge/anx6345.txt new file mode 100644 index 000000000000..e79a11348d11 --- /dev/null +++ b/Documentation/devicetree/bindings/display/bridge/anx6345.txt @@ -0,0 +1,56 @@ +Analogix ANX6345 eDP Transmitter +-------------------------------- + +The ANX6345 is an ultra-low power Full-HD eDP transmitter designed for +portable devices. + +Required properties: + + - compatible : "analogix,anx6345" + - reg : I2C address of the device + - reset-gpios : Which GPIO to use for reset + +Optional properties: + + - dvdd12-supply : Regulator for 1.2V digital core power. + - dvdd25-supply : Regulator for 2.5V digital core power. + - Video ports for RGB input and eDP output using the DT bindings + defined in [1] + +[1]: Documentation/devicetree/bindings/media/video-interfaces.txt + +Example: + +anx6345: anx6345@38 { + compatible = "analogix,anx6345"; + reg = <0x38>; + reset-gpios = <&pio 3 24 GPIO_ACTIVE_LOW>; /* PD24 */ + 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>; + }; + }; + }; +};