[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20251206-sdm845-oneplus-fb-v1-2-19b666b27d6e@ixit.cz>
Date: Sat, 06 Dec 2025 18:45:43 +0100
From: David Heidelberg via B4 Relay <devnull+david.ixit.cz@...nel.org>
To: Bjorn Andersson <andersson@...nel.org>,
Konrad Dybcio <konradybcio@...nel.org>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, Sam Day <me@...cday.com>,
David Heidelberg <david@...t.cz>
Cc: linux-arm-msm@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, phone-devel@...r.kernel.org
Subject: [PATCH 2/2] arm64: dts: qcom: sdm845-oneplus: Add framebuffer
From: Sam Day <me@...cday.com>
Introduce the framebuffer node, mostly useful for the u-boot and early
boot stages.
Signed-off-by: Sam Day <me@...cday.com>
Co-developed-by: David Heidelberg <david@...t.cz>
Signed-off-by: David Heidelberg <david@...t.cz>
---
arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi | 18 ++++++++++++++++++
arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dts | 4 ++++
arch/arm64/boot/dts/qcom/sdm845-oneplus-fajita.dts | 4 ++++
3 files changed, 26 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi
index db6dd04c51bb5..f3884bbcfa9af 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi
@@ -31,7 +31,20 @@ aliases {
};
chosen {
+ #address-cells = <2>;
+ #size-cells = <2>;
+ ranges;
+
stdout-path = "serial0:115200n8";
+
+ framebuffer: framebuffer@...00000 {
+ 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@...00000 {
+ 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
diff --git a/arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dts b/arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dts
index c6b1edea2809d..ac91775f7a692 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dts
+++ b/arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dts
@@ -40,6 +40,10 @@ &display_panel {
status = "okay";
};
+&framebuffer {
+ height = <2280>;
+};
+
&i2c4 {
status = "okay";
diff --git a/arch/arm64/boot/dts/qcom/sdm845-oneplus-fajita.dts b/arch/arm64/boot/dts/qcom/sdm845-oneplus-fajita.dts
index d6cd873aef0de..0542333a83579 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-oneplus-fajita.dts
+++ b/arch/arm64/boot/dts/qcom/sdm845-oneplus-fajita.dts
@@ -35,6 +35,10 @@ &display_panel {
compatible = "samsung,s6e3fc2x01-ams641rw", "samsung,s6e3fc2x01";
};
+&framebuffer {
+ height = <2340>;
+};
+
&i2c4 {
/* nxp,tfa9894 @ 0x34 */
};
--
2.51.0
Powered by blists - more mailing lists