Skip to content

Commit

Permalink
feat: add rk3588-enable-mali.dts
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeChenL committed May 29, 2024
1 parent 733fab9 commit 75fc532
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm64/boot/dts/rockchip/overlays/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,7 @@ dtb-$(CONFIG_CLK_RK3588) += \
rk3588-i2c7-m3.dtbo \
rk3588-i2c8-m2.dtbo \
rk3588-i2c8-m4.dtbo \
rk3588-mali-enable.dtbo \
rk3588-pwm0-m1.dtbo \
rk3588-pwm0-m2.dtbo \
rk3588-pwm1-m1.dtbo \
Expand Down
23 changes: 23 additions & 0 deletions arch/arm64/boot/dts/rockchip/overlays/rk3588-mali-enable.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/dts-v1/;
/plugin/;

/ {
metadata {
title = "Enable Arm Mali GPU driver";
compatible = "rockchip,rk3588";
category = "misc";
exclusive = "gpu", "gpu_mali";
description = "Enable Arm Mali GPU driver.
This will disable opensource Panthor driver";
};
};

&gpu {
status = "disabled";
};

&gpu_mali {
status = "okay";
mali-supply = <&vdd_gpu_s0>;
mem-supply = <&vdd_gpu_mem_s0>;
};

0 comments on commit 75fc532

Please sign in to comment.