On 4/1/26 5:23 AM, Paul Sajna wrote: > To prevent duplicating the framebuffer address and size point out the > existing framebuffer memory region instead of specifying the address > manually. > > Signed-off-by: Paul Sajna <[email protected]> > --- > arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi | 3 +-- > arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts | 2 +- > arch/arm64/boot/dts/qcom/sdm845-lg-judyp.dts | 2 +- > 3 files changed, 3 insertions(+), 4 deletions(-) > > diff --git a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi > b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi > index 85dc4468b6c4..86cf4eb44084 100644 > --- a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi > +++ b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi > @@ -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; > }; > diff --git a/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts > b/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts > index adf41aa0146a..83e392907244 100644 > --- a/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts > +++ b/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts > @@ -16,7 +16,7 @@ / { > chosen { > framebuffer@9d400000 { > compatible = "simple-framebuffer"; > - reg = <0x0 0x9d400000 0x0 (1440 * 3120 * 4)>; > + memory-region = <&framebuffer_mem>;
Because the node no longer has a 'reg' property, it must also be stripped of its unit address Konrad

