Answer
The power tables are built into the device tree. A patch needs to be added to your kernel recipe. The patch can be downloaded here: Patch. Add the patch as is to your kernel using bbappend. You will then need to create a patch for your DTS. It will look similar to this:
From 6b74d5a3c7801d4a3a5d77b4ef7d4b4c68a10425 Mon Sep 17 00:00:00 2001
From: Gary Bisson
Date: Thu, 28 Mar 2024 12:06:10 +0100
Subject: [PATCH] arm64: dts: mt83x0-tungsten-smarc: include mt320 power tables
Signed-off-by: Gary Bisson
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi b/arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi
index 6b0ad0c76841..1a0414052fa0 100644
--- a/arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi
@@ -669,6 +669,7 @@
vmmc-supply = <&sdio_fixed_3v3>;
vqmmc-supply = <&mt6359_vcn18_ldo_reg>; // VCN18_WIFI
mmc-pwrseq = <&wifi_pwrseq>;
+#include "mt7921-mt320-tables.dtsi"
};
&spi0 {
The above is an example. Your file will be specific to your device tree settings.
Note: To Leverage Ezurio's regulatory grants, you must use our power tables