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>
};
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
compatible = "samsung,sofef00";
};
+&framebuffer {
+ height = <2280>;
+};
+
&i2c4 {
status = "okay";
compatible = "samsung,s6e3fc2x01-ams641rw", "samsung,s6e3fc2x01";
};
+&framebuffer {
+ height = <2340>;
+};
+
&i2c4 {
/* nxp,tfa9894 @ 0x34 */
};