hoc-sys: fix tdp and add emc dvfs

This commit is contained in:
souldbminersmwc
2025-11-20 21:06:13 -05:00
parent d5c861827b
commit 39ae532108
8 changed files with 110 additions and 50 deletions

View File

@@ -32,11 +32,11 @@ volatile CustomizeTable C = {
.commonCpuBoostClock = 1785000, // Default boost clock
.commonEmcMemVolt = 1175000, // LPDDR4X JEDEC Specification
.commonEmcMemVolt = 1125000, // LPDDR4X JEDEC Specification
.eristaCpuMaxVolt = 1235,
.eristaEmcMaxClock = 1600000, // Maximum HB-MGCH ram rating
.eristaEmcMaxClock = 1862400, // Maximum HB-MGCH ram rating
.marikoCpuMaxVolt = 1120,
@@ -137,7 +137,7 @@ volatile CustomizeTable C = {
0 /* 998 (Disabled by default) */,
0 /* 1036 (Disabled by default) */,
0 /* 1075 (Disabled by default) */,
};
},

View File

@@ -201,7 +201,6 @@ void MemMtcTableAutoAdjust(EristaMtcTable *table) {
}
Result MemFreqMtcTable(u32 *ptr) {
if(C.eristaEmcMaxClock != EmcClkOSLimit) {
u32 khz_list[] = {1600000, 1331200, 1065600, 800000, 665600, 408000, 204000, 102000, 68000, 40800};
u32 khz_list_size = sizeof(khz_list) / sizeof(u32);
@@ -232,9 +231,6 @@ void MemMtcTableAutoAdjust(EristaMtcTable *table) {
//}
R_SUCCEED();
} else {
R_SUCCEED(); // Skip changing table on default freq
}
}
Result MemFreqMax(u32 *ptr) {