2023-06-19 17:02:59

by Dario Binacchi

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

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

Signed-off-by: Dario Binacchi <[email protected]>
---

(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