-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
opi3b: use mainline uboot v2024.10-rc3
- Loading branch information
1 parent
64327b8
commit 7612219
Showing
2 changed files
with
37 additions
and
3 deletions.
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
34 changes: 34 additions & 0 deletions
34
patch/u-boot/v2024.10-orangepi3b/0001-rockchip-rk3566-orangepi-3b-enable-npu-regulator.patch
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,34 @@ | ||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
From: Jonas Karlman <jonas@kwiboo.se> | ||
Date: Wed, 14 Aug 2024 21:35:16 +0000 | ||
Subject: rockchip: rk3566-orangepi-3b: enable npu regulator | ||
|
||
The power-domain driver in Linux does not know what regulator is | ||
supplying power to a specific power-domain. This prevent use of NPU with | ||
vendor kernel because vdd_npu is disabled. | ||
|
||
Change vdd_npu to use always-on/boot-on to enable the regulator at boot | ||
and set initial 0v9 voltage, the recommended voltage in soc datasheet. | ||
|
||
Signed-off-by: Jonas Karlman <jonas@kwiboo.se> | ||
--- | ||
arch/arm/dts/rk3566-orangepi-3b-u-boot.dtsi | 6 ++++++ | ||
1 file changed, 6 insertions(+) | ||
|
||
diff --git a/arch/arm/dts/rk3566-orangepi-3b-u-boot.dtsi b/arch/arm/dts/rk3566-orangepi-3b-u-boot.dtsi | ||
index 111111111111..222222222222 100644 | ||
--- a/arch/arm/dts/rk3566-orangepi-3b-u-boot.dtsi | ||
+++ b/arch/arm/dts/rk3566-orangepi-3b-u-boot.dtsi | ||
@@ -12,3 +12,9 @@ | ||
bootph-some-ram; | ||
}; | ||
}; | ||
+ | ||
+&vdd_npu { | ||
+ regulator-always-on; | ||
+ regulator-boot-on; | ||
+ regulator-init-microvolt = <900000>; | ||
+}; | ||
-- | ||
Armbian | ||
|