-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add rk3568-hdmi-disable and rockchip-gpu-disable
Meets the low-power requirements of some users
- Loading branch information
Showing
3 changed files
with
40 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
arch/arm64/boot/dts/rockchip/overlays/rk3568-hdmi-disable.dts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/dts-v1/; | ||
/plugin/; | ||
|
||
/ { | ||
metadata { | ||
title = "Disable HDMI"; | ||
compatible = "rockchip,rk3568", "rockchip,rk3566"; | ||
category = "misc"; | ||
exclusive = "hdmi", "hdmi_sound"; | ||
description = "Disable HDMI."; | ||
}; | ||
}; | ||
|
||
&hdmi { | ||
status = "disabled"; | ||
}; | ||
|
||
&hdmi_sound { | ||
status = "disabled"; | ||
}; |
16 changes: 16 additions & 0 deletions
16
arch/arm64/boot/dts/rockchip/overlays/rockchip-gpu-disable.dts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/dts-v1/; | ||
/plugin/; | ||
|
||
/ { | ||
metadata { | ||
title = "Disable GPU"; | ||
compatible = "rockchip,rk3308", "rockchip,rk3328", "rockchip,rk3399", "rockchip,rk3566", "rockchip,rk3568", "rockchip,rk3588"; | ||
category = "misc"; | ||
exclusive = "gpu"; | ||
description = "Disable GPU."; | ||
}; | ||
}; | ||
|
||
&gpu { | ||
status = "disabled"; | ||
}; |