Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: stm32: enable display support on stm32mp135f-dk board

Link panel and display controller.
Enable panel, backlight and display controller.

Signed-off-by: Raphael Gallais-Pou <raphael.gallais-pou@foss.st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>

authored by

Raphael Gallais-Pou and committed by
Alexandre Torgue
da5216c6 9547d383

+53
+53
arch/arm/boot/dts/st/stm32mp135f-dk.dts
··· 66 66 default-state = "off"; 67 67 }; 68 68 }; 69 + 70 + panel_backlight: panel-backlight { 71 + compatible = "gpio-backlight"; 72 + gpios = <&gpioe 12 GPIO_ACTIVE_HIGH>; 73 + default-on; 74 + status = "okay"; 75 + }; 76 + 77 + panel_rgb: panel-rgb { 78 + compatible = "rocktech,rk043fn48h"; 79 + enable-gpios = <&gpioi 7 GPIO_ACTIVE_HIGH>; 80 + backlight = <&panel_backlight>; 81 + power-supply = <&scmi_v3v3_sw>; 82 + status = "okay"; 83 + 84 + width-mm = <105>; 85 + height-mm = <67>; 86 + 87 + panel-timing { 88 + clock-frequency = <10000000>; 89 + hactive = <480>; 90 + hback-porch = <43>; 91 + hfront-porch = <10>; 92 + hsync-len = <1>; 93 + hsync-active = <0>; 94 + vactive = <272>; 95 + vback-porch = <26>; 96 + vfront-porch = <4>; 97 + vsync-len = <10>; 98 + vsync-active = <0>; 99 + de-active = <1>; 100 + pixelclk-active = <1>; 101 + }; 102 + 103 + port { 104 + panel_in_rgb: endpoint { 105 + remote-endpoint = <&ltdc_out_rgb>; 106 + }; 107 + }; 108 + }; 69 109 }; 70 110 71 111 &adc_1 { ··· 206 166 &iwdg2 { 207 167 timeout-sec = <32>; 208 168 status = "okay"; 169 + }; 170 + 171 + &ltdc { 172 + pinctrl-names = "default", "sleep"; 173 + pinctrl-0 = <&ltdc_pins_a>; 174 + pinctrl-1 = <&ltdc_sleep_pins_a>; 175 + status = "okay"; 176 + 177 + port { 178 + ltdc_out_rgb: endpoint { 179 + remote-endpoint = <&panel_in_rgb>; 180 + }; 181 + }; 209 182 }; 210 183 211 184 &rtc {