From nobody Mon Feb 9 22:23:57 2026 Received: from mx08-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 smtp.subspace.kernel.org (Postfix) with ESMTPS id 82E391EB38; Sat, 17 Feb 2024 11:04:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.207.212.93 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708167891; cv=none; b=UyX1J/hJy1Lv9l2DblM0Dz9W/TRaqq0PGNnAjgvIYC4hSy+OCd2A9KTdpZMilh5K+pk2zKRAXtiTyih/CNFT4dM56sosOPCl+Sewz/3VaBzVe5QAGIEMei/s18l+vFlp0TTudxwJd0XPoDuSHz5SeBCwHUWA7oH7KQn/YNMs9+0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708167891; c=relaxed/simple; bh=/PC3cwCnH2K8/ch3GGJtdAHUfyOeBPVZZUZYOfJ9cjg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=loBCRbSpKf6Arlhxed63W7mCQXUhOC0uFl+9/E2H77BUnGHmRd3mka5kwsr+HySTN62E7q+roBZEcYtVz7jIeSVXi3S5xyF38BoZwZaU8YGuJWnaHWCnu4a0S9tvK84PHVMYzKi4c9W6A049ozq/SW3JeBz2xwc01DQTZaw0UoE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com; spf=pass smtp.mailfrom=foss.st.com; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b=ax8iUlSO; arc=none smtp.client-ip=91.207.212.93 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=foss.st.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b="ax8iUlSO" Received: from pps.filterd (m0369457.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 41H4iTD5009886; Sat, 17 Feb 2024 12:04:05 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= from:date:subject:mime-version:content-type :content-transfer-encoding:message-id:references:in-reply-to:to :cc; s=selector1; bh=0b38tedRyxz1wugMy9qAGe9nstQPcZ6cdawHN0/CbEE =; b=ax8iUlSOu7Az2JUb6/gbG4bCqdYduMelAn/GUAR6b9leGywAmdVxBE8Tkb9 fVmrBsdAbg2tyJ85uVFHvex+Z+mmzi2irFfMuac7vVuZQ3w1vrGZxpXOqlIYGEBn Y6DVPpLLaohuIHJj9r8UMwF/h7j2kCJpUh6tN0mg7qTSejBckYzvvSwsLgnXHJKT R0pKN0mx5baYlYAVDCyMMphPy5SXawePTPo4TydZ3vGxFf3Vthoyz7SqdnSV4/VE 3Cxe6mWnH34zzZBVQF9Is0QaFZESzx62S2C6dL0VzZPYw9APgIYPF4k/n44eZYdE 0kCJMeV2FOnS4gtWj7chjWFPi3A== 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 3wa124n0cd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 17 Feb 2024 12:04:05 +0100 (CET) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id CFFBA4005B; Sat, 17 Feb 2024 12:03:51 +0100 (CET) Received: from Webmail-eu.st.com (shfdag1node2.st.com [10.75.129.70]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 0EE62253B4B; Sat, 17 Feb 2024 12:03:13 +0100 (CET) Received: from localhost (10.252.12.210) by SHFDAG1NODE2.st.com (10.75.129.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Sat, 17 Feb 2024 12:03:10 +0100 From: Raphael Gallais-Pou Date: Sat, 17 Feb 2024 12:02:55 +0100 Subject: [PATCH v2 1/4] ARM: dts: stm32: add LTDC support for STM32MP13x SoC family 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: <20240217-ltdc_mp13-v2-1-50881f1b394e@foss.st.com> References: <20240217-ltdc_mp13-v2-0-50881f1b394e@foss.st.com> In-Reply-To: <20240217-ltdc_mp13-v2-0-50881f1b394e@foss.st.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue , Neil Armstrong , Jessica Zhang , Sam Ravnborg , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter CC: , , , , , Raphael Gallais-Pou , Yannick Fertre X-Mailer: b4 0.12.4 X-ClientProxiedBy: EQNCAS1NODE3.st.com (10.75.129.80) To SHFDAG1NODE2.st.com (10.75.129.70) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-17_07,2024-02-16_01,2023-05-22_02 STM32MP13x SoC family embeds a new version of LTDC (Liquid crystal display - Thin film transistor) Display Controller. It provides a parallel digital RGB (red, green, blue) and signals for horizontal, vertical synchronization, pixel clock and data enable as output to interface directly to a variety of LCD-TFT panels. Main features * 2 input layers blended together to compose the display * Cropping of layers from any input size and location * Multiple input pixel formats: =E2=80=93 Predefined ARGB, with 7 formats: ARGB8888, ABGR8888, RGBA8888, BGRA8888, RGB565, BGR565, RGB888packed. =E2=80=93 Flexible ARGB, allowing any width and location for A,R,G,B components. =E2=80=93 Predefined YUV, with 3 formats: YUV422-1L (FourCC: YUYV, Interleaved), YUV420-2L (FourCC: NV12, semi planar), YUV420-3L (FourCC: Yxx, full planar) with some flexibility on the sequence of the component. * Color look-up table (CLUT) up to 256 colors (256x24 bits) per layer * Color transparency keying * Composition with flexible window position and size versus output display * Blending with flexible layer order and alpha value (per pixel or constant) * Background underlying color * Gamma with non-linear configurable table * Dithering for output with less bits per component (pseudo-random on 2 bits) * Polarity inversion for HSync, VSync, and DataEnable outputs * Output as RGB888 24 bpp or YUV422 16 bpp * Secure layer (using Layer2) capability, with grouped regs and additional interrupt set * Interrupts based on 7 different events * AXI master interface with long efficient bursts (64 or 128 bytes) Signed-off-by: Raphael Gallais-Pou Signed-off-by: Yannick Fertre --- arch/arm/boot/dts/st/stm32mp135.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/st/stm32mp135.dtsi b/arch/arm/boot/dts/st/st= m32mp135.dtsi index 68d32f9f5314..834a4d545fe4 100644 --- a/arch/arm/boot/dts/st/stm32mp135.dtsi +++ b/arch/arm/boot/dts/st/stm32mp135.dtsi @@ -19,5 +19,16 @@ dcmipp: dcmipp@5a000000 { port { }; }; + + ltdc: display-controller@5a001000 { + compatible =3D "st,stm32-ltdc"; + reg =3D <0x5a001000 0x400>; + interrupts =3D , + ; + clocks =3D <&rcc LTDC_PX>; + clock-names =3D "lcd"; + resets =3D <&scmi_reset RST_SCMI_LTDC>; + status =3D "disabled"; + }; }; }; --=20 2.25.1