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 afceffe commit 11dd5ca
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/arm64/boot/dts/rockchip/overlays/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,8 @@ dtb-$(CONFIG_CLK_RK3588) += \
rock-5b-radxa-display-10hd.dtbo \
rock-5b-radxa-display-8hd.dtbo \
rock-5b-rpi-camera-v2.dtbo \
rock-5b-sata.dtbo
rock-5b-sata.dtbo \
rk3588-enable-mali.dtbo

dtb-$(CONFIG_CPU_RK3588) += \
radxa-cm5-io-okdo-5mp.dtbo \
Expand Down
22 changes: 22 additions & 0 deletions arch/arm64/boot/dts/rockchip/overlays/rk3588-enable-mali.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/dts-v1/;
/plugin/;

/ {
metadata {
title = "Enable vendor GPU driver";
compatible = "rockchip,rk3588";
category = "misc";
exclusive = "gpu", "gpu_mali";
description = "Enable vendor GPU driver and disable Panthor DRM driver.";
};
};

&gpu {
status = "disabled";
};

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

0 comments on commit 11dd5ca

Please sign in to comment.