Skip to content

Commit aa28619

Browse files
ARM: dts: qcom: msm8909-acer-t01: Add simple-framebuffer (v2)
v2: - Fix address: 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: simple-framebuffer 83201000.framebuffer: [drm] could not acquire memory region [mem 0x83201000-0x8332d3bf flags 0x200] Signed-off-by: Raymond Hackley <[email protected]>
1 parent adb46d9 commit aa28619

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

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

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,42 @@
2020
};
2121

2222
chosen {
23+
#address-cells = <1>;
24+
#size-cells = <1>;
25+
ranges;
26+
2327
stdout-path = "serial0";
28+
29+
framebuffer@83201000 {
30+
compatible = "simple-framebuffer";
31+
reg = <0x83201000 (480 * 854 * 3)>;
32+
33+
width = <480>;
34+
height = <854>;
35+
stride = <(480 * 3)>;
36+
format = "r8g8b8";
37+
38+
power-domains = <&gcc MDSS_GDSC>;
39+
40+
clocks = <&gcc GCC_MDSS_AHB_CLK>,
41+
<&gcc GCC_MDSS_AXI_CLK>,
42+
<&gcc GCC_MDSS_VSYNC_CLK>,
43+
<&gcc GCC_MDSS_MDP_CLK>,
44+
<&gcc GCC_MDSS_BYTE0_CLK>,
45+
<&gcc GCC_MDSS_PCLK0_CLK>,
46+
<&gcc GCC_MDSS_ESC0_CLK>;
47+
};
48+
};
49+
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+
};
2459
};
2560

2661
backlight: backlight {

0 commit comments

Comments
 (0)