[v3,1/4] ARM: dts: stm32: add ltdc support on stm32f746 MCU

Message ID 20230609062050.2107143-2-dario.binacchi@amarulasolutions.com
State New
Headers show
Series
  • Add display support on the stm32f746-disco board
Related show

Commit Message

Dario Binacchi June 9, 2023, 6:20 a.m. UTC
Add LTDC (Lcd-tft Display Controller) support.

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
---

(no changes since v1)

 arch/arm/boot/dts/stm32f746.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)

Comments

Raphael Gallais-Pou June 9, 2023, 2:17 p.m. UTC | #1
On 6/9/23 08:20, Dario Binacchi wrote:
> Add LTDC (Lcd-tft Display Controller) support.
>
> Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>

Reviewed-by: Raphaƫl Gallais-Pou <raphael.gallais-pou@foss.st.com>

> ---
>
> (no changes since v1)
>
>  arch/arm/boot/dts/stm32f746.dtsi | 10 ++++++++++
>  1 file changed, 10 insertions(+)

Patch

diff --git a/arch/arm/boot/dts/stm32f746.dtsi b/arch/arm/boot/dts/stm32f746.dtsi
index dc868e6da40e..9c4ba0b7f239 100644
--- a/arch/arm/boot/dts/stm32f746.dtsi
+++ b/arch/arm/boot/dts/stm32f746.dtsi
@@ -507,6 +507,16 @@  pwm {
 			};
 		};
 
+		ltdc: display-controller@40016800 {
+			compatible = "st,stm32-ltdc";
+			reg = <0x40016800 0x200>;
+			interrupts = <88>, <89>;
+			resets = <&rcc STM32F7_APB2_RESET(LTDC)>;
+			clocks = <&rcc 1 CLK_LCD>;
+			clock-names = "lcd";
+			status = "disabled";
+		};
+
 		pwrcfg: power-config@40007000 {
 			compatible = "st,stm32-power-config", "syscon";
 			reg = <0x40007000 0x400>;