]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: qcom: sdm845-samsung-starqltechn: Convert fb to use memory-region
authorDavid Heidelberg <david@ixit.cz>
Wed, 1 Apr 2026 22:39:38 +0000 (00:39 +0200)
committerBjorn Andersson <andersson@kernel.org>
Mon, 27 Apr 2026 19:22:07 +0000 (14:22 -0500)
Instead of manually specifying reg, reuse the memory region.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: David Heidelberg <david@ixit.cz>
Link: https://lore.kernel.org/r/20260402-beryllium-fb-v4-4-46170004da28@ixit.cz
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts

index 77f5872de6f193a4b0dec862e8a75d631854649e..0d915ecb0444f318869f18bd9bd32b399e12e162 100644 (file)
                #address-cells = <2>;
                #size-cells = <2>;
                ranges;
-               framebuffer: framebuffer@9d400000 {
+
+               framebuffer {
                        compatible = "simple-framebuffer";
-                       reg = <0 0x9d400000 0 (2960 * 1440 * 4)>;//2400000
+                       memory-region = <&framebuffer_mem>;
                        width = <1440>;
                        height = <2960>;
                        stride = <(1440 * 4)>;
        };
 
        reserved-memory {
-               memory@9d400000 {
+               framebuffer_mem: memory@9d400000 {
                        reg = <0x0 0x9d400000 0x0 0x02400000>;
                        no-map;
                };