DRAM MR4 tsensor reading

This commit is contained in:
souldbminersmwc committed 2026-09-06 12:50:11 -04:00
1 parent bd6d615143
commit 5c215fcd02
6 files changed
+67 -7

No files matched your search

@@ -95,6 +95,7 @@ typedef enum
HocClkThermalSensor_PLLX, // PLLX temperature in millicelcius
HocClkThermalSensor_AO, // AOTAG
HocClkThermalSensor_BQ24193, // BQ24193 temperature. Refer to BQ24193Temp for returned values
HocClkThermalSensor_DRAM, // DRAM die temperature from LPDDR4(X) MR4. Use in combination with PCB and AO to get accurate reading
HocClkThermalSensor_EnumMax
} HocClkThermalSensor;
@@ -292,6 +293,8 @@ static inline const char* hocclkFormatThermalSensor(HocClkThermalSensor thermSen
return pretty ? "AO" : "ao";
case HocClkThermalSensor_BQ24193:
return pretty ? "BQ24193" : "bq24193";
case HocClkThermalSensor_DRAM:
return pretty ? "DRAM" : "dram";
default:
return "unknown";
}
@@ -89,7 +89,7 @@ typedef struct {
HocClkBpmpSharedInfo bpmpInfo;
// Reserved for future use
u8 reserved[0x30C];
u8 reserved[0x308];
} HocClkContext;
typedef struct