Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: qcom: msm8226-samsung-ms013g: add simple-framebuffer

Add simple-framebuffer, necessary power-domains and clocks for ms013g.

Signed-off-by: Raymond Hackley <raymondhackley@protonmail.com>
Link: https://lore.kernel.org/r/20251011185750.743615-1-raymondhackley@protonmail.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>

authored by

Raymond Hackley and committed by
Bjorn Andersson
84df5166 d3598429

+30 -1
+30 -1
arch/arm/boot/dts/qcom/qcom-msm8226-samsung-ms013g.dts
··· 13 13 chassis-type = "handset"; 14 14 15 15 aliases { 16 + display0 = &framebuffer0; 16 17 mmc0 = &sdhc_1; /* SDC1 eMMC slot */ 17 18 mmc1 = &sdhc_2; /* SDC2 SD card slot */ 18 19 serial0 = &blsp1_uart3; 19 20 }; 20 21 21 22 chosen { 22 - stdout-path = "serial0:115200n8"; 23 + #address-cells = <1>; 24 + #size-cells = <1>; 25 + ranges; 26 + 27 + stdout-path = "display0"; 28 + 29 + framebuffer0: framebuffer@3200000 { 30 + compatible = "simple-framebuffer"; 31 + reg = <0x03200000 0x800000>; 32 + memory-region = <&cont_splash_region>; 33 + 34 + width = <720>; 35 + height = <1280>; 36 + stride = <(720 * 3)>; 37 + format = "r8g8b8"; 38 + 39 + clocks = <&mmcc MDSS_AHB_CLK>, 40 + <&mmcc MDSS_AXI_CLK>, 41 + <&mmcc MDSS_BYTE0_CLK>, 42 + <&mmcc MDSS_MDP_CLK>, 43 + <&mmcc MDSS_PCLK0_CLK>, 44 + <&mmcc MDSS_VSYNC_CLK>; 45 + power-domains = <&mmcc MDSS_GDSC>; 46 + }; 23 47 }; 24 48 25 49 gpio-hall-sensor { ··· 117 93 }; 118 94 119 95 reserved-memory { 96 + cont_splash_region: cont-splash@3200000 { 97 + reg = <0x03200000 0x800000>; 98 + no-map; 99 + }; 100 + 120 101 smem_region: smem@fa00000 { 121 102 reg = <0x0fa00000 0x100000>; 122 103 no-map;