From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1D04AC7EE23 for ; Sun, 4 Jun 2023 13:29:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=qCc06gS7OC+WQCtkoq1v/Rs7xowH/MnJVOQH5HHgbdU=; b=uQSnGUJ4SUKCBk o4C1Xu7+P1wPnPULdIFYViF4h5v+AWJLIBOseVPQ2BI6GR0v5qAG7sRRUBeXTvkmCUIsU/cpNNybd t1MwIqB7fPt8q1yp/ljjCVA70l0vuVgK0ZFfXL/zgMcYaAFgFkxAt+bE4BK0MO5WDKZR7YjURaFCq YTdKSkdMjX5wSlpTPzTfiSMBCzxeeW7lqeVTBsZvu5xgIUTlRJviX+ByGeF6QERKAqvhzxgiBResr BV0qOvAR4Dgcsho3dZ5oLiiQwn/I0zzOVB16sCPOaDfJuLKhIDsWU73WhtWGaxOjkfI2vhzXAFxfV r2POQst4jg2dA67ysEDw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q5nnO-00CEWj-0R; Sun, 04 Jun 2023 13:29:22 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q5nnK-00CEWM-2b for linux-arm-kernel@lists.infradead.org; Sun, 04 Jun 2023 13:29:20 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 2E98A60BFC; Sun, 4 Jun 2023 13:29:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 24948C433EF; Sun, 4 Jun 2023 13:29:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1685885357; bh=jC18SnRfWN+u1tXdMbZbWWB6w6cHfGSDsNjU4ixaVnc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=f5k6y79rLQIyJ5B7eUaAHrA0aJZgh3JfOYjISHCLlAKCN4ObEwIn2bJSYxULuzdWz RD1z+2fulXa+m12xrntfssJPNMmAwb9Ch0K/nxKcollG0wBjmh7bmkgS+gUPFTZOzU FuLr7Shvled4XGEieOigQLIjpugAqkkgeyPmo7LfTja2xP3/f5irrSxGzSFQipCrCG P0caAwkOEMgyXtVxoS2/W5sicrtmZN1wuqxcoQU973J0AKe1Gc6b1E+3UFBvyIkz3R cCXJEf/5KdkXdAu/yo8usFTzr05UZDX8aaNSEEtTDhYT2wDhoAWD/1wvmqL0zBhi+c 4kUHlksuwUuoQ== Date: Sun, 4 Jun 2023 21:29:08 +0800 From: Shawn Guo To: Fabio Estevam Cc: linux-arm-kernel@lists.infradead.org, Fabio Estevam Subject: Re: [PATCH] arm64: dts: imx8mm-phg: Add display support Message-ID: <20230604132908.GR4199@dragon> References: <20230530191921.1136349-1-festevam@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230530191921.1136349-1-festevam@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230604_062918_920138_F24CD575 X-CRM114-Status: GOOD ( 18.86 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, May 30, 2023 at 04:19:21PM -0300, Fabio Estevam wrote: > From: Fabio Estevam > > The imx8mm-phg has a SN65DSI83 MIPI-DSI to LVDS bridge. > > Add suppor for it. > > Signed-off-by: Fabio Estevam > --- > arch/arm64/boot/dts/freescale/imx8mm-phg.dts | 85 ++++++++++++++++++++ > 1 file changed, 85 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/imx8mm-phg.dts b/arch/arm64/boot/dts/freescale/imx8mm-phg.dts > index e9447738b104..aa94bf9d40f4 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mm-phg.dts > +++ b/arch/arm64/boot/dts/freescale/imx8mm-phg.dts > @@ -80,6 +80,35 @@ reg_usdhc2_vmmc: regulator-vmmc { > startup-delay-us = <100>; > off-on-delay-us = <12000>; > }; > + > + panel { > + compatible = "panel-lvds"; > + width-mm = <170>; > + height-mm = <28>; > + data-mapping = "jeida-18"; > + > + panel-timing { > + clock-frequency = <49500000>; > + hactive = <800>; > + hback-porch = <48>; > + hfront-porch = <312>; > + hsync-len = <40>; > + vactive = <600>; > + vback-porch = <19>; > + vfront-porch = <61>; > + vsync-len = <20>; > + hsync-active = <0>; > + vsync-active = <0>; > + de-active = <1>; > + pixelclk-active = <1>; > + }; > + > + port { > + panel_out_bridge: endpoint { > + remote-endpoint = <&bridge_out_panel>; > + }; > + }; > + }; > }; > > &ecspi1 { > @@ -113,8 +142,58 @@ &i2c2 { > pinctrl-names = "default"; > pinctrl-0 = <&pinctrl_i2c2>; > status = "okay"; > + > + bridge@2c { > + compatible = "ti,sn65dsi83"; > + reg = <0x2c>; > + enable-gpios = <&gpio2 3 GPIO_ACTIVE_HIGH>; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_dsi_bridge>; > + > + ports { > + #address-cells = <1>; > + #size-cells = <0>; > + > + port@0 { > + reg = <0>; Missing newline. > + bridge_in_dsi: endpoint { > + remote-endpoint = <&dsi_out_bridge>; > + data-lanes = <1 2 3 4>; > + }; > + }; > + > + port@2 { > + reg = <2>; Here too. Fixed them up and applied the patch. Shawn > + bridge_out_panel: endpoint { > + remote-endpoint = <&panel_out_bridge>; > + }; > + }; > + }; > + }; > +}; > + > +&lcdif { > + status = "okay"; > }; > > +&mipi_dsi { > + samsung,esc-clock-frequency = <10000000>; > + status = "okay"; > + > + ports { > + port@1 { > + reg = <1>; > + > + dsi_out_bridge: endpoint { > + data-lanes = <1 2>; > + lane-polarities = <1 0 0 0 0>; > + remote-endpoint = <&bridge_in_dsi>; > + }; > + }; > + }; > +}; > + > + > &uart2 { > pinctrl-names = "default"; > pinctrl-0 = <&pinctrl_uart2>; > @@ -166,6 +245,12 @@ MX8MM_IOMUXC_GPIO1_IO00_GPIO1_IO0 0x19 > >; > }; > > + pinctrl_dsi_bridge: dsibridgeggrp { > + fsl,pins = < > + MX8MM_IOMUXC_SD1_DATA1_GPIO2_IO3 0x19 > + >; > + }; > + > pinctrl_ecspi1: ecspi1grp { > fsl,pins = < > MX8MM_IOMUXC_ECSPI1_MISO_ECSPI1_MISO 0x82 > -- > 2.34.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel