Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1084336pxa; Thu, 20 Aug 2020 01:55:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxju6zbhKZ25T9p0gfEuvTa391VYhUsZNiOzf3zQRw/LOZ/GZ23jsT7OqRkJG9qdtwRmF82 X-Received: by 2002:adf:fdce:: with SMTP id i14mr2083360wrs.273.1597913724908; Thu, 20 Aug 2020 01:55:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597913724; cv=none; d=google.com; s=arc-20160816; b=eWusOszeoJZCemAuln/qpz33gqmruOMh5uUUZmpnXKd31s1xiFLX6U1Rp0Bc/wuJmm GY5LkwaNlGl0pMecNImnupWtTYOFrOG1yDgWwHA8hzttdF552fLG+rqT6XoMT64h5/+H kItSzy9x1lW1Mlm6wZsHR8/N0XEmDIPgGe5xF3KbK0ALfCyajYe6yitYECG+gnzaZAYs D3c40KsrqglUZHCCbgr7dvbLHgTAcFP6JE1d/jHJ6OXYD1gWoyFUNGaTNb9R1Vw+fFxM s8/KNlIxJ12EZRJHRTwVrCGoFpUZzMvYljE4G0EMvLMjuXr+5a/LZfTYGSUn2OM6qhQR bBbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:to:from; bh=pdesJ0djP7ilLLSNlLCoMTs8Kzy8dQnclA3tqCuuJoA=; b=ICUd5RT5gK/768+xdHw4lJofO6AhvgXVnwWyxXMu2lfdjaj8ldmSR6F43itNxq603A LVDT3AWnVLYHAVPRfqntl0RMn7nik6ms+/ZaDAXYqK6Utu6RI3+yIU/e1EEBgZ652Es9 f3Izhv4A2AvCmuaX11C2JoyBD7JHtiGllm8XYCx3d3Wyb9JpYUNumvmm2aweM9nhbmn/ zCx/LGCJpQ/jRN0nSkcdzKx1olwpSGUX9V6ZaIhjgNCTr4rWJp15jDUlQY9XOXNwdP44 LfLE9jPIhiL0DaaYpafyl4wxbu8Va2HIVjouCV3UmuVyt/K/pLn9qRKpLQ4oHV7KCf/c lm7g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d8si977782edl.399.2020.08.20.01.55.01; Thu, 20 Aug 2020 01:55:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726903AbgHTIvl (ORCPT + 99 others); Thu, 20 Aug 2020 04:51:41 -0400 Received: from honk.sigxcpu.org ([24.134.29.49]:59002 "EHLO honk.sigxcpu.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726908AbgHTIvJ (ORCPT ); Thu, 20 Aug 2020 04:51:09 -0400 Received: from localhost (localhost [127.0.0.1]) by honk.sigxcpu.org (Postfix) with ESMTP id 985E9FB04; Thu, 20 Aug 2020 10:51:06 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at honk.sigxcpu.org Received: from honk.sigxcpu.org ([127.0.0.1]) by localhost (honk.sigxcpu.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id R6zaYU9mFBoC; Thu, 20 Aug 2020 10:51:04 +0200 (CEST) Received: by bogon.sigxcpu.org (Postfix, from userid 1000) id 99FE7457CC; Thu, 20 Aug 2020 10:50:59 +0200 (CEST) From: =?UTF-8?q?Guido=20G=C3=BCnther?= To: Rob Herring , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Catalin Marinas , Will Deacon , Martin Kepplinger , "Angus Ainslie (Purism)" , =?UTF-8?q?Guido=20G=C3=BCnther?= , Anson Huang , Peng Fan , Dong Aisheng , Leonard Crestez , Philipp Zabel , Lucas Stach , Andrey Smirnov , Li Jun , Bjorn Andersson , Li Yang , Arnd Bergmann , Geert Uytterhoeven , Michael Walle , Olof Johansson , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/4] arm64: dts: imx8mq-librem5-devkit: Enable the LCD panel Date: Thu, 20 Aug 2020 10:50:57 +0200 Message-Id: X-Mailer: git-send-email 2.26.2 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Enable LCD panel output by adding nodes for the NWL DSI host controller, the Rocktech panel and the eLCDIF display controller. Signed-off-by: Guido Günther Reviewed-by: Fabio Estevam --- .../dts/freescale/imx8mq-librem5-devkit.dts | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts b/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts index e7b5c595ceed7..48e22e93a7a74 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts +++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts @@ -830,6 +830,39 @@ MX8MQ_IOMUXC_NAND_DATA03_GPIO3_IO9 0x19 /* WWAN_RESET */ }; }; +&lcdif { + status = "okay"; +}; + +&mipi_dsi { + status = "okay"; + #address-cells = <1>; + #size-cells = <0>; + + panel@0 { + compatible = "rocktech,jh057n00900"; + reg = <0>; + backlight = <&backlight_dsi>; + reset-gpios = <&gpio3 13 GPIO_ACTIVE_LOW>; + iovcc-supply = <®_1v8_p>; + vcc-supply = <®_2v8_p>; + port { + panel_in: endpoint { + remote-endpoint = <&mipi_dsi_out>; + }; + }; + }; + + ports { + port@1 { + reg = <1>; + mipi_dsi_out: endpoint { + remote-endpoint = <&panel_in>; + }; + }; + }; +}; + &pgc_gpu { power-supply = <&buck3_reg>; }; -- 2.26.2