STRUCT AMLOGIC_THERMAL_DATA(9)
π struct amlogic_thermal_data(9) π
okay bestie, so this is a page straight out of the Kernel API Manual, section 9, and it's all about struct amlogic_thermal_data β the little config bundle the amlogic thermal driver needs to, like, exist. no cap, that's the whole vibe. π«Ά
β¨ NAME β¨
struct amlogic_thermal_data β (the name section is literally just the name, iconic minimalism, she said nothing and left π
)
πΈ SYNOPSIS πΈ
struct amlogic_thermal_data {
int u_efuse_off;
const struct amlogic_thermal_soc_calib_data *calibration_parameters;
const struct regmap_config *regmap_config;
bool use_sm;
};
π Members π
okay these are the four fields, copy them exactly, do not freestyle:
u_efuse_offβ the register offset where you go read the fused calibration value. that's it, that's the job. βcalibration_parametersβ a pointer to the calibration parameters structure. lowkey important for getting your numbers right. π¦regmap_configβ the regmap config for the device. yes, that regmap. the device's one. πuse_smβ read data from the secure monitor instead of efuse. not both, bestie, it's one or the other. π
and fr fr, the whole thing β this entire structure β is required for configuration of the amlogic thermal driver. like, not optional. it's giving main character energy because without it the driver doesn't get configured, periodt. π
π₯ SEE ALSO π₯
- Kernel file
./drivers/thermal/amlogic_thermal.c struct amlogic_thermal_soc_calib_data(9)
go read those next, iykyk πβ¨
and that's the page! this came to you from ./drivers/thermal and it's dated October 2026 β mwah, bye bestie, go configure some thermal drivers responsibly πππ§
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms