Skip to contentSkip to conversation

Convert qcm6490 framebuffers to use memory-region

PATCH Applied David Heidelberg 3 participants 6 messages Jun 7 – Jul 8

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

cover Convert qcm6490 framebuffers to use memory-region

Now that upstream u-boot recognize it, no reason to not do.

---
David Heidelberg (2):
arm64: dts: qcom: qcm6490-shift-otter: Convert fb to use memory-region
arm64: dts: qcom: qcm6490-fairphone-fp5: Convert fb to use memory-region

 arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts | 4 ++--
 arch/arm64/boot/dts/qcom/qcm6490-shift-otter.dts   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

---
base-commit: b99ae45861eccff1e1d8c7b05a13650be805d437
change-id: 20260607-shift8-fb-60fd66b07d86

Best regards,

Signature · 1 line
David Heidelberg <[email protected]>
#1 lore raw

PATCH 1/2 arm64: dts: qcom: qcm6490-shift-otter: Convert fb to use memory-region

Instead of manually specifying reg, reuse the memory region.

---
 arch/arm64/boot/dts/qcom/qcm6490-shift-otter.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/qcom/qcm6490-shift-otter.dts +2 -2
index 797f37596bf19..9b90143d2c332 100644
@@ -34,19 +34,19 @@ aliases {
 
 	chosen {
 		#address-cells = <2>;
 		#size-cells = <2>;
 		ranges;
 
 		stdout-path = "serial0:115200n8";
 
-		framebuffer0: framebuffer@a000000 {
+		framebuffer {
 			compatible = "simple-framebuffer";
-			reg = <0x0 0xe1000000 0x0 (2400 * 1080 * 4)>;
+			memory-region = <&cont_splash_mem>;
 			width = <1080>;
 			height = <2400>;
 			stride = <(1080 * 4)>;
 			format = "a8r8g8b8";
 			clocks = <&gcc GCC_DISP_HF_AXI_CLK>;
 		};
 	};
 
Signature · 1 line
2.53.0
Reviewed-by on v1 1/2
#2 lore raw

Re: [PATCH 1/2] arm64: dts: qcom: qcm6490-shift-otter: Convert fb to use memory-region

Quoted 9 lines · On Sun, Jun 07, 2026 at 04:12:18PM +0200, David Heidelberg via B4 Relay wrote:

From: David Heidelberg <[email protected]>

Instead of manually specifying reg, reuse the memory region.

---
 arch/arm64/boot/dts/qcom/qcm6490-shift-otter.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Signature · 2 lines
With best wishes
Dmitry
#3 lore raw

PATCH 2/2 arm64: dts: qcom: qcm6490-fairphone-fp5: Convert fb to use memory-region

In reply to David Heidelberg

Instead of manually specifying reg, reuse the memory region.

This fixed mismatch of the node naming (0xe1000000 X framebuffer@a000000)

---
 arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts +2 -2
index 04cb9230d29fd..4ca0e93ed63ee 100644
@@ -35,19 +35,19 @@ aliases {
 		serial1 = &uart7;
 	};
 
 	chosen {
 		#address-cells = <2>;
 		#size-cells = <2>;
 		ranges;
 
-		framebuffer0: framebuffer@a000000 {
+		framebuffer {
 			compatible = "simple-framebuffer";
-			reg = <0x0 0xe1000000 0x0 (2700 * 1224 * 4)>;
+			memory-region = <&cont_splash_mem>;
 			width = <1224>;
 			height = <2700>;
 			stride = <(1224 * 4)>;
 			format = "a8r8g8b8";
 			clocks = <&gcc GCC_DISP_HF_AXI_CLK>;
 			vci-supply = <&vreg_oled_vci>;
 			dvdd-supply = <&vreg_oled_dvdd>;
 		};
Signature · 1 line
2.53.0
Reviewed-by on v1 2/2
#4 lore raw

Re: [PATCH 2/2] arm64: dts: qcom: qcm6490-fairphone-fp5: Convert fb to use memory-region

Quoted 11 lines · On Sun, Jun 07, 2026 at 04:12:19PM +0200, David Heidelberg via B4 Relay wrote:

From: David Heidelberg <[email protected]>

Instead of manually specifying reg, reuse the memory region.

This fixed mismatch of the node naming (0xe1000000 X framebuffer@a000000)

---
 arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Signature · 2 lines
With best wishes
Dmitry
maintainer Applied
#5 lore raw
In reply to David Heidelberg
Quoted 3 lines · David Heidelberg

Now that upstream u-boot recognize it, no reason to not do.

Applied, thanks!

[1/2] arm64: dts: qcom: qcm6490-shift-otter: Convert fb to use memory-region

      commit: 97c5fe2c932bfb1857f0f29e2f1389a20264c304
[2/2] arm64: dts: qcom: qcm6490-fairphone-fp5: Convert fb to use memory-region
      commit: dcef71a03f5bb375a5da48b666ad47c6c8855278

Best regards,

Signature · 1 line
Bjorn Andersson <[email protected]>