STRUCT AMLOGIC_THERMAL_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’œ 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