Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2323821pxb; Mon, 18 Jan 2021 14:53:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJxpLJCS2sVm1UEsgn76OzaTdR4mxqIXCLizDiU0Z9YNESUEUxhJMwovnxGlwrYC+2CIa5V/ X-Received: by 2002:a50:d888:: with SMTP id p8mr1229543edj.147.1611010425480; Mon, 18 Jan 2021 14:53:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611010425; cv=none; d=google.com; s=arc-20160816; b=IdMF6rvR6P+HFENr0MJUyi6IP4o7LhioxD4kaSfI0qpn4MFezO1Kj36QtqM2SgdlW/ LHEYVGI0MrApkKq0Ka2fRsZ94dy/VdiWL4Y2I49Gc50CIkGknH38aOZVUclKmtG0Tfh2 CIAkldM/yI3VSn+Nk1FBg9YfuRoPrNY3nFMq+MsKBlk70KqIvnK+AT6D7Xzf+ZLX3qfW BWkg9eKDMjBbi3CGSf4t1n72rYomcqHOfcxpnYFXPARgXvptpsAaFhXunz8cipwWY1Hv ZGeWFnEs4H6CG68u97e94OFPUtbzGKb3aVevbGougUFGwiO513MtIMN3wdcMRBbQad2r 6VJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=hhbP31OHFBo4xqDqdIHE1DMEPj/9D43AHDi33FXR6fU=; b=oc10QcBxGx49ALS57PcHb/MzZCP7Gkc72EC4IDAGjHZh+zdiey7qmR9P+tGc8SmDum boI4zSfUshzvujJChuJWx8fOYlbJpWLyVvxTL8IgSC/gvDfKbIG721whpeGnfQ1IfWHq Nr6lmxV4tNuMMiEqS+oCiCdI+YN26ut5aUWQf18PZmtjDpJOB2JD0l4iHIvlQCqL5jch 4VoryR73a2xYMwdAoHcbZJ+Lt4GsNXTX0bpjdVsRBLfcHBbyTCnlfClXp4luemVMDALb yrHclsK0r18WT2+wev6Xqfl9zFE2Ew7HOSHhEMygTKWd8jlhyUxpiVeFHRdjhEn/hxyv BY4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cq0gc9h9; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z18si1710413ejr.345.2021.01.18.14.53.21; Mon, 18 Jan 2021 14:53:45 -0800 (PST) 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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cq0gc9h9; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730122AbhARHDa (ORCPT + 99 others); Mon, 18 Jan 2021 02:03:30 -0500 Received: from mail.kernel.org ([198.145.29.99]:41052 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725868AbhARHD3 (ORCPT ); Mon, 18 Jan 2021 02:03:29 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 489C52231F; Mon, 18 Jan 2021 07:02:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1610953368; bh=MCSVF1Y74zrStqoku6vsdRcyPqaVtI7qb+YwR/JrFUs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cq0gc9h9md0+AFO2H1wHwGtpCUgbc9kJwaAfEVKOjMM010F4kDaHA1qymLTImhwoU VyuzGvOfferRv9KzX1+QhVxksjN16HgduN4MdG5P1XkRDtSBzv7sEyxixLrlrfWv2f uFP2Y7C0GnFOiLYpAKAhxaHfuEVThU6s0x02OVbhgJSnSnhNLrSdx+KY2qv1fh3jJ8 Xok/J3eeww0JlurKFrna0eEStIRzyZaqUmXWPK0mE682ZzKspPBwJ+Iz4kqyBTFTJS frqzbdQgYTjY6S9xMwN+Ua6gHz5gqLqjyJhV4ZCn41YTMMysPDR9ixvKUT/G9L79U/ ZOsHkyoHocYLg== Date: Mon, 18 Jan 2021 15:02:42 +0800 From: Shawn Guo To: Martin Kepplinger Cc: robh@kernel.org, festevam@gmail.com, kernel@pengutronix.de, linux-imx@nxp.com, catalin.marinas@arm.com, will@kernel.org, krzk@kernel.org, kernel@puri.sm, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 6/9] arm64: dts: imx8mq-librem5: enable the LCD panel Message-ID: <20210118070241.GL28365@dragon> References: <20210112095151.4995-1-martin.kepplinger@puri.sm> <20210112095151.4995-7-martin.kepplinger@puri.sm> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210112095151.4995-7-martin.kepplinger@puri.sm> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 12, 2021 at 10:51:48AM +0100, Martin Kepplinger wrote: > This enables the Librem5's ft8006p based LCD panel driven by the > imx8mq's Northwest Logic DSI IP core and mxsfb display controller. > > Signed-off-by: Martin Kepplinger > --- > .../boot/dts/freescale/imx8mq-librem5.dtsi | 51 ++++++++++++++++++- > 1 file changed, 49 insertions(+), 2 deletions(-) > > diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi > index f77b51d3c132..440931f81c12 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi > @@ -310,6 +310,17 @@ > >; > }; > > + pinctrl_dsirst: dsirstgrp { > + fsl,pins = < > + /* DSI_RST */ > + MX8MQ_IOMUXC_ENET_RD3_GPIO1_IO29 0x83 > + /* DSI_TE */ > + MX8MQ_IOMUXC_ENET_RD2_GPIO1_IO28 0x83 > + /* TP_RST */ > + MX8MQ_IOMUXC_ENET_RX_CTL_GPIO1_IO24 0x83 > + >; > + }; > + > pinctrl_ecspi1: ecspigrp { > fsl,pins = < > MX8MQ_IOMUXC_ECSPI1_MOSI_ECSPI1_MOSI 0x83 > @@ -817,12 +828,12 @@ > compatible = "tps65132"; > reg = <0x3e>; > > - outp { > + reg_lcd_avdd: outp { > regulator-name = "LCD_AVDD"; > vin-supply = <®_lcd_3v4>; > }; > > - outn { > + reg_lcd_avee: outn { > regulator-name = "LCD_AVEE"; > vin-supply = <®_lcd_3v4>; > }; > @@ -947,6 +958,42 @@ > }; > }; > > +&lcdif { > + status = "okay"; > +}; > + > +&mipi_dsi { > + status = "okay"; > + #address-cells = <1>; > + #size-cells = <0>; Please end property list with `status`. > + > + lcd_panel: panel@0 { > + compatible = "mantix,mlaf057we51-x"; > + reg = <0>; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_dsirst>; > + avdd-supply = <®_lcd_avdd>; > + avee-supply = <®_lcd_avee>; > + vddi-supply = <®_lcd_1v8>; > + backlight = <&backlight_dsi>; > + reset-gpios = <&gpio1 29 GPIO_ACTIVE_LOW>; Have a newline between properties and child node. > + port { > + panel_in: endpoint { > + remote-endpoint = <&mipi_dsi_out>; > + }; > + }; > + }; > + > + ports { > + port@1 { > + reg = <1>; Ditto Shawn > + mipi_dsi_out: endpoint { > + remote-endpoint = <&panel_in>; > + }; > + }; > + }; > +}; > + > &pgc_gpu { > power-supply = <&buck3_reg>; > }; > -- > 2.20.1 >