]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: qcom: sdm845-xiaomi-beryllium: Introduce framebuffer
authorPetr Hodina <petr.hodina@protonmail.com>
Wed, 1 Apr 2026 22:39:35 +0000 (00:39 +0200)
committerBjorn Andersson <andersson@kernel.org>
Mon, 27 Apr 2026 19:22:06 +0000 (14:22 -0500)
Add framebuffer for early console and u-boot support.

Signed-off-by: Petr Hodina <petr.hodina@protonmail.com>
Signed-off-by: David Heidelberg <david@ixit.cz>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260402-beryllium-fb-v4-1-46170004da28@ixit.cz
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi

index 1298485c42142a7110c64ede8d0a121b137857ac..a6ee3dd171def782242ed4d1d87886440090a18e 100644 (file)
                serial1 = &uart6;
        };
 
+       chosen {
+               #address-cells = <2>;
+               #size-cells = <2>;
+               ranges;
+
+               framebuffer {
+                       compatible = "simple-framebuffer";
+                       memory-region = <&cont_splash_mem>;
+
+                       format = "a8r8g8b8";
+                       stride = <(1080 * 4)>;
+                       height = <2246>;
+                       width = <1080>;
+               };
+       };
+
        gpio-keys {
                compatible = "gpio-keys";
                autorepeat;