From nobody Fri Dec 19 04:53:40 2025 Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 40277217669 for ; Thu, 19 Dec 2024 07:25:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734593148; cv=none; b=lCWP2XsF8qk5Fq6l2Pao8KaGT1kSs2M85SvA/lKmLgA4utWz3Yw0cuowlKjYODaXIefPmkzbZuFBMnWThO7xx0OpF4pgrarL5Jv8+MnPmKMy480NXrer8hPbWb5nM1S/BX5jCvAZUqs8dqbA4u11vgK6EFaisoKpOjcl1ozqh0o= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734593148; c=relaxed/simple; bh=JbO6NfMPvHMUJyBboycvE+Q+VwA3y1BdJCOUBWkfd4o=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=U/48WywpxQhVa+iCnmkL33a57d+m/1IQrWiBJzvMpL8S/DqsDx5dblDn5fw5oZhtgH7/klf6NFROppYvuDRcvPfcNfTWJhA6BEVQdPCz05eSmYZIqDAjLB3/myZ/aJ+je+2bXuckQyG9pQDSKo7gIRRSz07UUjDs3+jyzHCK5Qg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tOAuc-00064M-0h; Thu, 19 Dec 2024 08:25:34 +0100 Received: from dude05.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::54]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tOAua-004AOF-2s; Thu, 19 Dec 2024 08:25:33 +0100 Received: from localhost ([::1] helo=dude05.red.stw.pengutronix.de) by dude05.red.stw.pengutronix.de with esmtp (Exim 4.96) (envelope-from ) id 1tOAub-00GenW-1j; Thu, 19 Dec 2024 08:25:33 +0100 From: Ahmad Fatoum Date: Thu, 19 Dec 2024 08:25:30 +0100 Subject: [PATCH 06/10] arm64: dts: imx8mp-skov: describe LVDS display pipeline Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20241219-skov-dt-updates-v1-6-38bf80dc22df@pengutronix.de> References: <20241219-skov-dt-updates-v1-0-38bf80dc22df@pengutronix.de> In-Reply-To: <20241219-skov-dt-updates-v1-0-38bf80dc22df@pengutronix.de> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Oleksij Rempel Cc: devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@pengutronix.de, Ahmad Fatoum X-Mailer: b4 0.13-dev X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: a.fatoum@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org From: Oleksij Rempel The Skov i.MX8MP LT6 device tree so far described the touch screen, but didn't describe the screen itself. Fill out these missing pieces. Signed-off-by: Oleksij Rempel Signed-off-by: Ahmad Fatoum --- .../boot/dts/freescale/imx8mp-skov-revb-lt6.dts | 60 ++++++++++++++++++= ++++ 1 file changed, 60 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-skov-revb-lt6.dts b/arch/= arm64/boot/dts/freescale/imx8mp-skov-revb-lt6.dts index ccbd3abedd69..baecf768a2ee 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-skov-revb-lt6.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-skov-revb-lt6.dts @@ -8,6 +8,45 @@ / { model =3D "SKOV IMX8MP CPU revB - LT6"; compatible =3D "skov,imx8mp-skov-revb-lt6", "fsl,imx8mp"; =20 + lvds-decoder { + compatible =3D "ti,sn65lvds822", "lvds-decoder"; + power-supply =3D <®_3v3>; + + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + + in_lvds1: endpoint { + data-mapping =3D "vesa-24"; + remote-endpoint =3D <&ldb_lvds_ch1>; + }; + }; + + port@1 { + reg =3D <1>; + + lvds_decoder_out: endpoint { + remote-endpoint =3D <&panel_in>; + }; + }; + }; + }; + + panel { + compatible =3D "logictechno,lttd800480070-l6wh-rt"; + backlight =3D <&backlight>; + power-supply =3D <®_tft_vcom>; + + port { + panel_in: endpoint { + remote-endpoint =3D <&lvds_decoder_out>; + }; + }; + }; + touchscreen { compatible =3D "resistive-adc-touch"; io-channels =3D <&adc_ts 1>, <&adc_ts 3>, <&adc_ts 4>, <&adc_ts 5>; @@ -78,6 +117,27 @@ channel@5 { }; }; =20 +&lcdif2 { + status =3D "okay"; +}; + +&lvds_bridge { + assigned-clocks =3D <&clk IMX8MP_CLK_MEDIA_LDB>, + <&clk IMX8MP_VIDEO_PLL1>; + assigned-clock-parents =3D <&clk IMX8MP_VIDEO_PLL1_OUT>; + /* IMX8MP_VIDEO_PLL1 =3D IMX8MP_CLK_MEDIA_DISP2_PIX * 2 * 7 */ + assigned-clock-rates =3D <0>, <462000000>; + status =3D "okay"; + + ports { + port@2 { + ldb_lvds_ch1: endpoint { + remote-endpoint =3D <&in_lvds1>; + }; + }; + }; +}; + &pwm1 { status =3D "okay"; }; --=20 2.39.5