From patchwork Fri Feb 15 05:09:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kernel test robot via dri-devel X-Patchwork-Id: 10816325 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A053D13B5 for ; Sat, 16 Feb 2019 17:08:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8A6A529DE8 for ; Sat, 16 Feb 2019 17:08:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7E2972B4D6; Sat, 16 Feb 2019 17:08:32 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3612329DE8 for ; Sat, 16 Feb 2019 17:08:32 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7195B6E10F; Sat, 16 Feb 2019 17:07:29 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pg1-x544.google.com (mail-pg1-x544.google.com [IPv6:2607:f8b0:4864:20::544]) by gabe.freedesktop.org (Postfix) with ESMTPS id 21A9D6E042 for ; Fri, 15 Feb 2019 05:10:27 +0000 (UTC) Received: by mail-pg1-x544.google.com with SMTP id h11so1865819pgl.0 for ; Thu, 14 Feb 2019 21:10:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=VB9TNv/3eEaDdEdD66J61Qypynx0CtojWljSiZZ6k2g=; b=FzGdmX1lEGM4E11B16Dt1KEoi9XzPmiICQWaq4wtn8UwFuXJaIcgWNPcAEUlK/5HqU XTHVCNQxknvmZBdCR5Ef4ZYnblOw5XkctCNEGXoHCTKkjpgUIMsoqacCHntUpDHetzb0 +JOClePCkLLFGYuCjv4p5oSUKLTwFG3rFnOWyBn/FeFv/8o11013SC0Uf6baVv9fvhgE wN8ALbHznwHwxie65xbbTpMD6tWWm7Lltu1c6jA3Ubr+ZedXEl4FNA/QVRXIEMzIQXxP jM/Bmr9O1K4cDmWp72L7kmbmASybpXPl4oRkUkTVwgHGaqG8KyU3UShGODxuqQhejJWq +XwQ== X-Gm-Message-State: AHQUAuaNs8Tnl75K3oe5hbcfx9VETZWYsKd8UqtycZXUSrP2lRfLUuqP anS0AE55TEEx/Ecerd5watw= X-Google-Smtp-Source: AHgI3IaxFMlSaq/+jTiqkiRrq+qH1lXXWIm1fHoRK3NhoO0UTYoDs0l6WXqnjq/8V7xCHdcFnGBmSg== X-Received: by 2002:a62:47d9:: with SMTP id p86mr7838148pfi.95.1550207426640; Thu, 14 Feb 2019 21:10:26 -0800 (PST) Received: from anarsoul-thinkpad.lan (216-71-213-236.dyn.novuscom.net. [216.71.213.236]) by smtp.gmail.com with ESMTPSA id m9sm4900442pgr.7.2019.02.14.21.10.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Feb 2019 21:10:26 -0800 (PST) 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 , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@googlegroups.com Subject: [PATCH v3 04/11] dt-bindings: Add ANX6345 DP/eDP transmitter binding Date: Thu, 14 Feb 2019 21:09:50 -0800 Message-Id: <20190215050957.20755-5-anarsoul@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190215050957.20755-1-anarsoul@gmail.com> References: <20190215050957.20755-1-anarsoul@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Sat, 16 Feb 2019 16:58:31 +0000 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=VB9TNv/3eEaDdEdD66J61Qypynx0CtojWljSiZZ6k2g=; b=bSJb/fGp6sIVhTXALxQNRJiuL1acDtqiOJtLEb1TeNQ85NB7n7F/43/iw0PZRF0XX7 swacHZqSgzU9+s/2P42MSkqU171Haf1+3/bEpBxIR+bXzynhoztyYu7zwgUjwHC/s9tQ Ks1J1m2TwF5bQx/HCJJGo9MNEZF9GaBhSCsBu315z4KezrUlKs5V8qbhXaaCq+6DE1pC PCZovmn3bQfX28J7E4qnJsjNoId0Tv4BxJUkTGnqTjpXEwGDFRWsqyCfhrrzF9kpglDz meIaOwgRfQxMx0F59beqi4y47q8Eh2S+8bBuO3Qvud2kqxm1At58DYjdHGDnvFJJoZLy n6fw== X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Vasily Khoruzhick via dri-devel From: kernel test robot via dri-devel Reply-To: Vasily Khoruzhick Cc: Vasily Khoruzhick Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP 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 --- .../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_HIGH>; /* 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>; + }; + }; + }; +};