Skip to content

Commit

Permalink
arm64: dts: rockchip: Add overlay to toggle panthor gpu driver
Browse files Browse the repository at this point in the history
  • Loading branch information
amazingfate committed Apr 22, 2024
1 parent e0ac3c2 commit 2f9a05f
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm64/boot/dts/rockchip/overlay/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ dtbo-$(CONFIG_ARCH_ROCKCHIP) += \
khadas-edge2-cam2.dtbo \
khadas-edge2-cam3.dtbo \
rockchip-rk3588-opp-oc-24ghz.dtbo \
rockchip-rk3588-panthor-gpu.dtbo \
rk3588-can0-m0.dtbo \
rk3588-can1-m0.dtbo \
rk3588-can1-m1.dtbo \
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/dts-v1/;
/plugin/;

/ {
fragment@0 {
target = <&gpu>;
__overlay__ {
status = "disabled";
};
};

fragment@1 {
target = <&gpu_panthor>;
__overlay__ {
status = "okay";
mali-supply = <&vdd_gpu_s0>;
};
};
};

0 comments on commit 2f9a05f

Please sign in to comment.