From bfeeb64e82584347ebbac393fab7f87181890a5c Mon Sep 17 00:00:00 2001 From: Raymond Hackley Date: Sun, 6 Jul 2025 04:13:49 +0000 Subject: [PATCH] squash! ARM: dts: qcom: msm8909-acer-t01: Add simple-framebuffer v2: Fix address: [ 0.838347] simple-framebuffer chosen:framebuffer@83200000: probe with driver simple-framebuffer failed with error -22 Fix compiler warnings: Warning (reg_format): /chosen/framebuffer@83201000:reg: property has invalid length (8 bytes) (#address-cells == 2, #size-cells == 1) Fix memory region: [ 0.838348] simple-framebuffer 83201000.framebuffer: [drm] could not acquire memory region [mem 0x83201000-0x8332d3bf flags 0x200] Signed-off-by: Raymond Hackley --- .../boot/dts/qcom/qcom-msm8909-acer-t01.dts | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/qcom/qcom-msm8909-acer-t01.dts b/arch/arm/boot/dts/qcom/qcom-msm8909-acer-t01.dts index 4ceadaf37d1c8c..d4a60bd5fe85c1 100644 --- a/arch/arm/boot/dts/qcom/qcom-msm8909-acer-t01.dts +++ b/arch/arm/boot/dts/qcom/qcom-msm8909-acer-t01.dts @@ -20,11 +20,15 @@ }; chosen { + #address-cells = <1>; + #size-cells = <1>; + ranges; + stdout-path = "serial0"; - framebuffer@83200000 { + framebuffer@83201000 { compatible = "simple-framebuffer"; - reg = <0x83200000 (480 * 854 * 3)>; + reg = <0x83201000 (480 * 854 * 3)>; width = <480>; height = <854>; @@ -43,6 +47,17 @@ }; }; + reserved-memory { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + framebuffer@83201000 { + reg = <0x83201000 (480 * 854 * 3)>; + no-map; + }; + }; + backlight: backlight { compatible = "pwm-backlight"; pwms = <&pm8909_pwm 0 100000>;