mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 18:21:24 +02:00
arm64: dts: qcom: sdm845-lg-{judyln, judyp}: Reference memory region in fb
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>
This commit is contained in:
parent
d2735f5690
commit
3f779220c6
|
|
@ -98,8 +98,7 @@ spss_mem: memory@99000000 {
|
|||
no-map;
|
||||
};
|
||||
|
||||
/* Framebuffer region */
|
||||
memory@9d400000 {
|
||||
framebuffer_mem: memory@9d400000 {
|
||||
reg = <0x0 0x9d400000 0x0 0x2400000>;
|
||||
no-map;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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)>;
|
||||
|
|
|
|||
|
|
@ -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)>;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user