Skip to content

Commit bfeeb64

Browse files
squash! ARM: dts: qcom: msm8909-acer-t01: Add simple-framebuffer
v2: Fix address: [ 0.838347] simple-framebuffer chosen:framebuffer@8320000: 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 <raymondhackley@protonmail.com>
1 parent 1728ab7 commit bfeeb64

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

arch/arm/boot/dts/qcom/qcom-msm8909-acer-t01.dts

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,15 @@
2020
};
2121

2222
chosen {
23+
#address-cells = <1>;
24+
#size-cells = <1>;
25+
ranges;
26+
2327
stdout-path = "serial0";
2428

25-
framebuffer@83200000 {
29+
framebuffer@83201000 {
2630
compatible = "simple-framebuffer";
27-
reg = <0x83200000 (480 * 854 * 3)>;
31+
reg = <0x83201000 (480 * 854 * 3)>;
2832

2933
width = <480>;
3034
height = <854>;
@@ -43,6 +47,17 @@
4347
};
4448
};
4549

50+
reserved-memory {
51+
#address-cells = <1>;
52+
#size-cells = <1>;
53+
ranges;
54+
55+
framebuffer@83201000 {
56+
reg = <0x83201000 (480 * 854 * 3)>;
57+
no-map;
58+
};
59+
};
60+
4661
backlight: backlight {
4762
compatible = "pwm-backlight";
4863
pwms = <&pm8909_pwm 0 100000>;

0 commit comments

Comments
 (0)