]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: st: add ltdc support on stm32mp251
authorRaphael Gallais-Pou <raphael.gallais-pou@foss.st.com>
Fri, 22 Aug 2025 14:34:18 +0000 (16:34 +0200)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Mon, 15 Sep 2025 15:51:30 +0000 (17:51 +0200)
The LCD-TFT Display Controller (LTDC) handles display composition,
scaling and rotation.  It provides a parallel digital RGB flow to be
used by display interfaces.

Add the LTDC node.

Signed-off-by: Raphael Gallais-Pou <raphael.gallais-pou@foss.st.com>
Acked-by: Yannick Fertre <yannick.fertre@foss.st.com>
Link: https://lore.kernel.org/r/20250822-drm-misc-next-v5-9-9c825e28f733@foss.st.com
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
arch/arm64/boot/dts/st/stm32mp251.dtsi

index 605b6a5d39a613745b55a0e2c8c500e8581b9fbd..aecbdea07385fc33a56bf8ca84516e1a3b432de8 100644 (file)
                                };
                        };
 
+                       ltdc: display-controller@48010000 {
+                               compatible = "st,stm32mp251-ltdc";
+                               reg = <0x48010000 0x400>;
+                               interrupts = <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>,
+                                       <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&rcc CK_KER_LTDC>, <&rcc CK_BUS_LTDC>;
+                               clock-names = "lcd", "bus";
+                               resets = <&rcc LTDC_R>;
+                               access-controllers = <&rifsc 80>;
+                               status = "disabled";
+                       };
+
                        csi: csi@48020000 {
                                compatible = "st,stm32mp25-csi";
                                reg = <0x48020000 0x2000>;