mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 17:13:52 +02:00
arm64: dts: qcom: sdm845-oneplus: Add framebuffer
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>
This commit is contained in:
parent
9bf9c47cd8
commit
b0d5c96e86
|
|
@ -31,7 +31,20 @@ aliases {
|
|||
};
|
||||
|
||||
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 {
|
||||
|
|
@ -75,6 +88,11 @@ key-vol-up {
|
|||
};
|
||||
|
||||
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
|
||||
|
|
|
|||
|
|
@ -40,6 +40,10 @@ &display_panel {
|
|||
compatible = "samsung,sofef00";
|
||||
};
|
||||
|
||||
&framebuffer {
|
||||
height = <2280>;
|
||||
};
|
||||
|
||||
&i2c4 {
|
||||
status = "okay";
|
||||
|
||||
|
|
|
|||
|
|
@ -35,6 +35,10 @@ &display_panel {
|
|||
compatible = "samsung,s6e3fc2x01-ams641rw", "samsung,s6e3fc2x01";
|
||||
};
|
||||
|
||||
&framebuffer {
|
||||
height = <2340>;
|
||||
};
|
||||
|
||||
&i2c4 {
|
||||
/* nxp,tfa9894 @ 0x34 */
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user