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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4597DC3ABB0 for ; Mon, 5 May 2025 13:24:37 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id CD0CE8216C; Mon, 5 May 2025 15:24:35 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=foss.st.com header.i=@foss.st.com header.b="uzOJh7li"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3D7E0828C2; Mon, 5 May 2025 15:24:34 +0200 (CEST) Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 3A33E82076 for ; Mon, 5 May 2025 15:24:32 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=prvs=7220064b2c=patrice.chotard@foss.st.com Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 545DE4wv027012; Mon, 5 May 2025 15:24:30 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=selector1; bh= c5RsN2XLeEnVe5JWUSK9L3pfFqZItslsZB1XKeymGIE=; b=uzOJh7lidpjCTKrI UcI4Cn42BT2DehVS5B8bVBcGiPgqJbFHnSOIZu7Nc0/+wkm1otD3Bh4z53WaCzfJ PFT3HH50hriWTdf6rbZtzveyqFX+CnTOWu9AGyBFaU6GvQT2DSzIJWu1n1WUjDoe R9RWWJdSG1tLu2XEfwOKoFdxhtEJn9uRhduHfLBhTLFp1s+UfmS1kQxRw9MnvEbP juTvPQL9iXoNW/L8OGhSMIX/RE+NDXLzvuk0TUl/Aal9TlXBe8fkphIBtZ3OcS1T TQnyUobjcFbaLCZqPP/Trdf7dmyIA45Bl5t7/GvG+UGM/DfYVRMd749/kIYbxoCS ufOd7g== Received: from beta.dmz-ap.st.com (beta.dmz-ap.st.com [138.198.100.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 46dbf36gn0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 05 May 2025 15:24:29 +0200 (MEST) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 6E1F840045; Mon, 5 May 2025 15:23:36 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 1D08DB1380F; Mon, 5 May 2025 15:23:15 +0200 (CEST) Received: from [10.48.87.62] (10.48.87.62) by SHFDAG1NODE1.st.com (10.75.129.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Mon, 5 May 2025 15:23:14 +0200 Message-ID: <91eefe5e-bde3-4372-8a20-2a707838f298@foss.st.com> Date: Mon, 5 May 2025 15:23:14 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 3/6] ARM: dts: stm32: add display support on stm32f769-disco To: Dario Binacchi , CC: , Patrick Delaunay , Tom Rini , References: <20250401070125.3705126-1-dario.binacchi@amarulasolutions.com> <20250401070125.3705126-4-dario.binacchi@amarulasolutions.com> Content-Language: en-US From: Patrice CHOTARD In-Reply-To: <20250401070125.3705126-4-dario.binacchi@amarulasolutions.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.48.87.62] X-ClientProxiedBy: SHFCAS1NODE1.st.com (10.75.129.72) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1099,Hydra:6.0.736,FMLib:17.12.80.40 definitions=2025-05-05_06,2025-05-05_01,2025-02-21_01 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean On 4/1/25 09:00, Dario Binacchi wrote: > [backport from Linux commit 598e5adfeb6062f5d4d352c0ef888b2b29d7e215] > > The patch adds display support on the stm32f769-disco board. > > Signed-off-by: Dario Binacchi > Reviewed-by: Patrice Chotard > > --- > > Changes in v2: > - Add Reviewed-by tag of Patrice Chotard > > arch/arm/dts/stm32f769-disco-u-boot.dtsi | 34 -------------- > arch/arm/dts/stm32f769-disco.dts | 58 ++++++++++++++++++++++++ > 2 files changed, 58 insertions(+), 34 deletions(-) > > diff --git a/arch/arm/dts/stm32f769-disco-u-boot.dtsi b/arch/arm/dts/stm32f769-disco-u-boot.dtsi > index c5ae753debe6..16a9eecd4a99 100644 > --- a/arch/arm/dts/stm32f769-disco-u-boot.dtsi > +++ b/arch/arm/dts/stm32f769-disco-u-boot.dtsi > @@ -32,18 +32,6 @@ > compatible = "st,led1"; > led-gpio = <&gpioj 5 0>; > }; > - > - panel: panel { > - compatible = "orisetech,otm8009a"; > - reset-gpios = <&gpioj 15 1>; > - status = "okay"; > - > - port { > - panel_in: endpoint { > - remote-endpoint = <&dsi_out>; > - }; > - }; > - }; > }; > > &dsi { > @@ -52,33 +40,11 @@ > <&clk_hse>; > clock-names = "pclk", "px_clk", "ref"; > bootph-all; > - status = "okay"; > - > - ports { > - port@0 { > - dsi_out: endpoint { > - remote-endpoint = <&panel_in>; > - }; > - }; > - port@1 { > - dsi_in: endpoint { > - remote-endpoint = <&dp_out>; > - }; > - }; > - }; > }; > > <dc { > clocks = <&rcc 0 STM32F7_APB2_CLOCK(LTDC)>; > bootph-all; > - > - ports { > - port@0 { > - dp_out: endpoint { > - remote-endpoint = <&dsi_in>; > - }; > - }; > - }; > }; > > &fmc { > diff --git a/arch/arm/dts/stm32f769-disco.dts b/arch/arm/dts/stm32f769-disco.dts > index b4e240a8e3eb..3fd5140ec5eb 100644 > --- a/arch/arm/dts/stm32f769-disco.dts > +++ b/arch/arm/dts/stm32f769-disco.dts > @@ -24,6 +24,19 @@ > reg = <0xC0000000 0x1000000>; > }; > > + reserved-memory { > + #address-cells = <1>; > + #size-cells = <1>; > + ranges; > + > + linux,dma { > + compatible = "shared-dma-pool"; > + linux,dma-default; > + no-map; > + size = <0x100000>; > + }; > + }; > + > aliases { > serial0 = &usart1; > }; > @@ -78,6 +91,45 @@ > clock-frequency = <25000000>; > }; > > +&dsi { > + #address-cells = <1>; > + #size-cells = <0>; > + status = "okay"; > + > + ports { > + #address-cells = <1>; > + #size-cells = <0>; > + > + port@0 { > + reg = <0>; > + dsi_in: endpoint { > + remote-endpoint = <<dc_out_dsi>; > + }; > + }; > + > + port@1 { > + reg = <1>; > + dsi_out: endpoint { > + remote-endpoint = <&dsi_panel_in>; > + }; > + }; > + }; > + > + panel0: panel@0 { > + compatible = "orisetech,otm8009a"; > + reg = <0>; /* dsi virtual channel (0..3) */ > + reset-gpios = <&gpioj 15 GPIO_ACTIVE_LOW>; > + power-supply = <&vcc_3v3>; > + status = "okay"; > + > + port { > + dsi_panel_in: endpoint { > + remote-endpoint = <&dsi_out>; > + }; > + }; > + }; > +}; > + > &i2c1 { > pinctrl-0 = <&i2c1_pins_b>; > pinctrl-names = "default"; > @@ -88,6 +140,12 @@ > > <dc { > status = "okay"; > + > + port { > + ltdc_out_dsi: endpoint { > + remote-endpoint = <&dsi_in>; > + }; > + }; > }; > > &rtc { Hi Dario For information, stm32f769-disco.dts update has been dropped due to OF_UPSTREAM now available on stm32 platforms. Applied to u-boot-stm32/master Thanks Patrice