On 1/16/26 4:54 PM, Barnabás Czémán wrote:
> Use memory-region property for framebuffer instead of reg.
> 
> Signed-off-by: Barnabás Czémán <[email protected]>
> ---
>  arch/arm64/boot/dts/qcom/sm6125-xiaomi-ginkgo.dts | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/qcom/sm6125-xiaomi-ginkgo.dts 
> b/arch/arm64/boot/dts/qcom/sm6125-xiaomi-ginkgo.dts
> index d5e5abdb3b2f..4e1444abc29b 100644
> --- a/arch/arm64/boot/dts/qcom/sm6125-xiaomi-ginkgo.dts
> +++ b/arch/arm64/boot/dts/qcom/sm6125-xiaomi-ginkgo.dts
> @@ -33,7 +33,7 @@ chosen {
>  
>               framebuffer0: framebuffer@5c000000 {

You have to remove the unit address now, as 'reg' is gone

Konrad

>                       compatible = "simple-framebuffer";
> -                     reg = <0 0x5c000000 0 (2340 * 1080 * 4)>;
> +                     memory-region = <&framebuffer_mem>;
>                       width = <1080>;
>                       height = <2340>;
>                       stride = <(1080 * 4)>;
> @@ -62,7 +62,7 @@ gpu_mem: gpu_mem@57515000 {
>                       no-map;
>               };
>  
> -             framebuffer@5c000000 {
> +             framebuffer_mem: framebuffer@5c000000 {
>                       reg = <0x0 0x5c000000 0x0 (2340 * 1080 * 4)>;
>                       no-map;
>               };
> 

Reply via email to