[PATCH v4 5/6] ARM: dts: stm32: set framebuffer bit depth on stm32f746-disco

Dario Binacchi dario.binacchi at amarulasolutions.com
Mon Jun 19 09:55:24 PDT 2023


The board uses a limited amounts of RAM. The added property halves the
memory footprint required by the framebuffer.

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

(no changes since v1)

 arch/arm/boot/dts/stm32f746-disco.dts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/stm32f746-disco.dts b/arch/arm/boot/dts/stm32f746-disco.dts
index cda423b6a874..36612b4c2504 100644
--- a/arch/arm/boot/dts/stm32f746-disco.dts
+++ b/arch/arm/boot/dts/stm32f746-disco.dts
@@ -142,6 +142,7 @@ &ltdc {
 	pinctrl-0 = <&ltdc_pins_a>;
 	pinctrl-names = "default";
 	status = "okay";
+	st,fb-bpp = <8>;
 
 	port {
 		ltdc_out_rgb: endpoint {
-- 
2.32.0




More information about the linux-arm-kernel mailing list