* [PATCH v4 1/4] arm64: dts: qcom: sdm845-xiaomi-beryllium: Introduce framebuffer
2026-04-01 22:39 [PATCH v4 0/4] Add framebuffer on Xiaomi Poco F1 and disable the MDSS on tianma panel variant David Heidelberg via B4 Relay
@ 2026-04-01 22:39 ` David Heidelberg via B4 Relay
2026-04-02 8:50 ` Konrad Dybcio
2026-04-01 22:39 ` [PATCH v4 2/4] arm64: dts: qcom: sdm845-oneplus: Drop address from framebuffer node David Heidelberg via B4 Relay
` (3 subsequent siblings)
4 siblings, 1 reply; 7+ messages in thread
From: David Heidelberg via B4 Relay @ 2026-04-01 22:39 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, David Heidelberg, Sam Day, Dzmitry Sankouski,
Dmitry Baryshkov
Cc: linux-arm-msm, devicetree, linux-kernel, phone-devel, Petr Hodina
From: Petr Hodina <petr.hodina@protonmail.com>
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>
---
.../boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi
index 1298485c42142..a6ee3dd171def 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi
@@ -39,6 +39,22 @@ aliases {
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;
--
2.53.0
^ permalink raw reply related [flat|nested] 7+ messages in thread* Re: [PATCH v4 1/4] arm64: dts: qcom: sdm845-xiaomi-beryllium: Introduce framebuffer
2026-04-01 22:39 ` [PATCH v4 1/4] arm64: dts: qcom: sdm845-xiaomi-beryllium: Introduce framebuffer David Heidelberg via B4 Relay
@ 2026-04-02 8:50 ` Konrad Dybcio
0 siblings, 0 replies; 7+ messages in thread
From: Konrad Dybcio @ 2026-04-02 8:50 UTC (permalink / raw)
To: david, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Sam Day, Dzmitry Sankouski,
Dmitry Baryshkov
Cc: linux-arm-msm, devicetree, linux-kernel, phone-devel, Petr Hodina
On 4/2/26 12:39 AM, David Heidelberg via B4 Relay wrote:
> From: Petr Hodina <petr.hodina@protonmail.com>
>
> 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>
Konrad
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH v4 2/4] arm64: dts: qcom: sdm845-oneplus: Drop address from framebuffer node
2026-04-01 22:39 [PATCH v4 0/4] Add framebuffer on Xiaomi Poco F1 and disable the MDSS on tianma panel variant David Heidelberg via B4 Relay
2026-04-01 22:39 ` [PATCH v4 1/4] arm64: dts: qcom: sdm845-xiaomi-beryllium: Introduce framebuffer David Heidelberg via B4 Relay
@ 2026-04-01 22:39 ` David Heidelberg via B4 Relay
2026-04-01 22:39 ` [PATCH v4 3/4] arm64: dts: qcom: sdm845-shift-axolotl: Convert fb to use memory-region David Heidelberg via B4 Relay
` (2 subsequent siblings)
4 siblings, 0 replies; 7+ messages in thread
From: David Heidelberg via B4 Relay @ 2026-04-01 22:39 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, David Heidelberg, Sam Day, Dzmitry Sankouski,
Dmitry Baryshkov
Cc: linux-arm-msm, devicetree, linux-kernel, phone-devel, Petr Hodina
From: David Heidelberg <david@ixit.cz>
This node has no 'reg' property, so it shouldn't have a unit address
(after '@') either
Fixes: b0d5c96e860c ("arm64: dts: qcom: sdm845-oneplus: Add framebuffer")
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: David Heidelberg <david@ixit.cz>
---
arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi
index 6b7378cf4d493..b0b9baf01ec29 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi
@@ -72,7 +72,7 @@ chosen {
stdout-path = "serial0:115200n8";
- framebuffer: framebuffer@9d400000 {
+ framebuffer: framebuffer {
compatible = "simple-framebuffer";
memory-region = <&cont_splash_mem>;
--
2.53.0
^ permalink raw reply related [flat|nested] 7+ messages in thread* [PATCH v4 3/4] arm64: dts: qcom: sdm845-shift-axolotl: Convert fb to use memory-region
2026-04-01 22:39 [PATCH v4 0/4] Add framebuffer on Xiaomi Poco F1 and disable the MDSS on tianma panel variant David Heidelberg via B4 Relay
2026-04-01 22:39 ` [PATCH v4 1/4] arm64: dts: qcom: sdm845-xiaomi-beryllium: Introduce framebuffer David Heidelberg via B4 Relay
2026-04-01 22:39 ` [PATCH v4 2/4] arm64: dts: qcom: sdm845-oneplus: Drop address from framebuffer node David Heidelberg via B4 Relay
@ 2026-04-01 22:39 ` David Heidelberg via B4 Relay
2026-04-01 22:39 ` [PATCH v4 4/4] arm64: dts: qcom: sdm845-samsung-starqltechn: " David Heidelberg via B4 Relay
2026-05-07 20:34 ` [PATCH v4 0/4] Add framebuffer on Xiaomi Poco F1 and disable the MDSS on tianma panel variant Bjorn Andersson
4 siblings, 0 replies; 7+ messages in thread
From: David Heidelberg via B4 Relay @ 2026-04-01 22:39 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, David Heidelberg, Sam Day, Dzmitry Sankouski,
Dmitry Baryshkov
Cc: linux-arm-msm, devicetree, linux-kernel, phone-devel, Petr Hodina
From: David Heidelberg <david@ixit.cz>
Instead of manually specifying reg, reuse the memory region.
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: David Heidelberg <david@ixit.cz>
---
arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts b/arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts
index 740eb22550724..88d970268e282 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts
+++ b/arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts
@@ -23,7 +23,7 @@ / {
qcom,board-id = <11 0>;
aliases {
- display0 = &framebuffer0;
+ display0 = &framebuffer;
serial0 = &uart9;
serial1 = &uart6;
};
@@ -36,9 +36,9 @@ chosen {
stdout-path = "serial0";
/* Use framebuffer setup by the bootloader. */
- framebuffer0: framebuffer@9d400000 {
+ framebuffer: framebuffer {
compatible = "simple-framebuffer";
- reg = <0x0 0x9d400000 0x0 (1080 * 2160 * 4)>;
+ memory-region = <&framebuffer_mem>;
width = <1080>;
height = <2160>;
stride = <(1080 * 4)>;
@@ -62,7 +62,7 @@ key-vol-up {
};
reserved-memory {
- framebuffer@9d400000 {
+ framebuffer_mem: framebuffer@9d400000 {
reg = <0x0 0x9d400000 0x0 (1080 * 2160 * 4)>;
no-map;
};
--
2.53.0
^ permalink raw reply related [flat|nested] 7+ messages in thread* [PATCH v4 4/4] arm64: dts: qcom: sdm845-samsung-starqltechn: Convert fb to use memory-region
2026-04-01 22:39 [PATCH v4 0/4] Add framebuffer on Xiaomi Poco F1 and disable the MDSS on tianma panel variant David Heidelberg via B4 Relay
` (2 preceding siblings ...)
2026-04-01 22:39 ` [PATCH v4 3/4] arm64: dts: qcom: sdm845-shift-axolotl: Convert fb to use memory-region David Heidelberg via B4 Relay
@ 2026-04-01 22:39 ` David Heidelberg via B4 Relay
2026-05-07 20:34 ` [PATCH v4 0/4] Add framebuffer on Xiaomi Poco F1 and disable the MDSS on tianma panel variant Bjorn Andersson
4 siblings, 0 replies; 7+ messages in thread
From: David Heidelberg via B4 Relay @ 2026-04-01 22:39 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, David Heidelberg, Sam Day, Dzmitry Sankouski,
Dmitry Baryshkov
Cc: linux-arm-msm, devicetree, linux-kernel, phone-devel, Petr Hodina
From: David Heidelberg <david@ixit.cz>
Instead of manually specifying reg, reuse the memory region.
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: David Heidelberg <david@ixit.cz>
---
arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts b/arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts
index 77f5872de6f19..0d915ecb0444f 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts
+++ b/arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts
@@ -43,9 +43,10 @@ chosen {
#address-cells = <2>;
#size-cells = <2>;
ranges;
- framebuffer: framebuffer@9d400000 {
+
+ framebuffer {
compatible = "simple-framebuffer";
- reg = <0 0x9d400000 0 (2960 * 1440 * 4)>;//2400000
+ memory-region = <&framebuffer_mem>;
width = <1440>;
height = <2960>;
stride = <(1440 * 4)>;
@@ -109,7 +110,7 @@ vreg_s4a_1p8: pm8998-smps4 {
};
reserved-memory {
- memory@9d400000 {
+ framebuffer_mem: memory@9d400000 {
reg = <0x0 0x9d400000 0x0 0x02400000>;
no-map;
};
--
2.53.0
^ permalink raw reply related [flat|nested] 7+ messages in thread* Re: [PATCH v4 0/4] Add framebuffer on Xiaomi Poco F1 and disable the MDSS on tianma panel variant
2026-04-01 22:39 [PATCH v4 0/4] Add framebuffer on Xiaomi Poco F1 and disable the MDSS on tianma panel variant David Heidelberg via B4 Relay
` (3 preceding siblings ...)
2026-04-01 22:39 ` [PATCH v4 4/4] arm64: dts: qcom: sdm845-samsung-starqltechn: " David Heidelberg via B4 Relay
@ 2026-05-07 20:34 ` Bjorn Andersson
4 siblings, 0 replies; 7+ messages in thread
From: Bjorn Andersson @ 2026-05-07 20:34 UTC (permalink / raw)
To: Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Sam Day, Dzmitry Sankouski, Dmitry Baryshkov, David Heidelberg
Cc: linux-arm-msm, devicetree, linux-kernel, phone-devel, Petr Hodina
On Thu, 02 Apr 2026 00:39:34 +0200, David Heidelberg wrote:
> Enable framebuffer for early console output.
>
> Due to broken panel driver on tianma and no visual output it's better
> to disable the MDSS so the framebuffer stays on.
>
> In case second patch gets rejected, please apply the first one standalone
>
> [...]
Applied, thanks!
[1/4] arm64: dts: qcom: sdm845-xiaomi-beryllium: Introduce framebuffer
commit: a4f6959661f0c8542e5a89aaaef27fc4ac9408a6
[2/4] arm64: dts: qcom: sdm845-oneplus: Drop address from framebuffer node
commit: b379bb1470d864659ae9522b72f241a15255dce6
[3/4] arm64: dts: qcom: sdm845-shift-axolotl: Convert fb to use memory-region
commit: 15520f868651d6b03c603918bade78f4799df7ca
[4/4] arm64: dts: qcom: sdm845-samsung-starqltechn: Convert fb to use memory-region
commit: 2eae029f7d38c5fc03a778f483b5079d0e355472
Best regards,
--
Bjorn Andersson <andersson@kernel.org>
^ permalink raw reply [flat|nested] 7+ messages in thread