]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: qcom: sdm845-lg-{judyln, judyp}: Reference memory region in fb
authorPaul Sajna <sajattack@postmarketos.org>
Thu, 9 Apr 2026 02:41:14 +0000 (19:41 -0700)
committerBjorn Andersson <andersson@kernel.org>
Sat, 9 May 2026 15:32:59 +0000 (10:32 -0500)
To prevent duplicating the framebuffer address and size point out the
existing framebuffer memory region instead of specifying the address
manually.

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Paul Sajna <sajattack@postmarketos.org>
Reviewed-by: David Heidelberg <david@ixit.cz>
Link: https://lore.kernel.org/r/20260408-judyln-followup-v1-3-823467519b59@postmarketos.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts
arch/arm64/boot/dts/qcom/sdm845-lg-judyp.dts

index 85dc4468b6c443bc0c53092699530e2ad2b99657..86cf4eb44084dfc06831a30575636fbba4f5ed2d 100644 (file)
@@ -98,8 +98,7 @@
                        no-map;
                };
 
-               /* Framebuffer region */
-               memory@9d400000 {
+               framebuffer_mem: memory@9d400000 {
                        reg = <0x0 0x9d400000 0x0 0x2400000>;
                        no-map;
                };
index adf41aa0146a284be487e39dad19848bd8eb4c07..349faa123ff156e3eb3f2f5ad9aecfa2523db568 100644 (file)
@@ -14,9 +14,9 @@
        compatible = "lg,judyln", "qcom,sdm845";
 
        chosen {
-               framebuffer@9d400000 {
+               framebuffer {
                        compatible = "simple-framebuffer";
-                       reg = <0x0 0x9d400000 0x0 (1440 * 3120 * 4)>;
+                       memory-region = <&framebuffer_mem>;
                        width = <1440>;
                        height = <3120>;
                        stride = <(1440 * 4)>;
index d244ebdd17beb049d3738c5e0f0b69b768e102c1..44e762f78e9585356ec57cb102b9311131b4aec0 100644 (file)
@@ -14,9 +14,9 @@
        compatible = "lg,judyp", "qcom,sdm845";
 
        chosen {
-               framebuffer@9d400000 {
+               framebuffer {
                        compatible = "simple-framebuffer";
-                       reg = <0x0 0x9d400000 0x0 (1440 * 2880 * 4)>;
+                       memory-region = <&framebuffer_mem>;
                        width = <1440>;
                        height = <2880>;
                        stride = <(1440 * 4)>;