]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: qcom: sdm845-oneplus: Add framebuffer
authorSam Day <me@samcday.com>
Sat, 6 Dec 2025 17:45:43 +0000 (18:45 +0100)
committerBjorn Andersson <andersson@kernel.org>
Sat, 3 Jan 2026 18:42:35 +0000 (12:42 -0600)
Introduce the framebuffer node, mostly useful for the u-boot and early
boot stages.

Signed-off-by: Sam Day <me@samcday.com>
Co-developed-by: David Heidelberg <david@ixit.cz>
Signed-off-by: David Heidelberg <david@ixit.cz>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20251206-sdm845-oneplus-fb-v1-2-19b666b27d6e@ixit.cz
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi
arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dts
arch/arm64/boot/dts/qcom/sdm845-oneplus-fajita.dts

index dc7120916fcd3a4f8a388cdd6f100b1c09758ae2..9d1ebfaaa2beca7510b507b1cbe1c199e665228b 100644 (file)
        };
 
        chosen {
+               #address-cells = <2>;
+               #size-cells = <2>;
+               ranges;
+
                stdout-path = "serial0:115200n8";
+
+               framebuffer: framebuffer@9d400000 {
+                       compatible = "simple-framebuffer";
+                       memory-region = <&cont_splash_mem>;
+
+                       format = "a8r8g8b8";
+                       stride = <(1080 * 4)>;
+                       width = <1080>;
+               };
        };
 
        gpio-hall-sensor {
        };
 
        reserved-memory {
+               cont_splash_mem: splash@9d400000 {
+                       reg = <0 0x9d400000 0 0x02400000>;
+                       no-map;
+               };
+
                /*
                 * The rmtfs memory region in downstream is 'dynamically allocated'
                 * but given the same address every time. Hard code it as this address is
index 4aa8a9353b6773bc0cc3ed271722af6a5d33f321..dcaea15c6d433c6772b8e262a83c7a53ec99e23a 100644 (file)
        compatible = "samsung,sofef00";
 };
 
+&framebuffer {
+       height = <2280>;
+};
+
 &i2c4 {
        status = "okay";
 
index d6cd873aef0de2b401b6bfe124a22c267dbb60db..0542333a835798d1bd79ef045c00ed0e5c81f839 100644 (file)
        compatible = "samsung,s6e3fc2x01-ams641rw", "samsung,s6e3fc2x01";
 };
 
+&framebuffer {
+       height = <2340>;
+};
+
 &i2c4 {
        /* nxp,tfa9894 @ 0x34 */
 };