TI BANDGAP FEATURE TYPES(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to the ti bandgap feature types(9) page from the Kernel API Manual πŸ’– this is basically the feature roster for TI bandgap devices β€” each constant below is a β€œcan your device do this?” flag, and the macro at the very end is the actual vibe check. no cap, it’s all here ✨

  • TI_BANDGAP_FEATURE_TSHUT β€” used when the thermal shutdown signal output of a bandgap device instance is routed to the processor. this means the system must react and perform the shutdown by itself (handle an IRQ, for instance). so yeah, it’s giving β€œyou’re on your own, bestie” 😭
  • TI_BANDGAP_FEATURE_TSHUT_CONFIG β€” used when the bandgap device has control over the thermal shutdown configuration. this means that the thermal shutdown thresholds are programmable, for instance. we love a configurable queen πŸ‘‘
  • TI_BANDGAP_FEATURE_TALERT β€” used when the bandgap device instance outputs a signal representing violation of programmable alert thresholds. it’s literally snitching when things go out of bounds 🚨
  • TI_BANDGAP_FEATURE_MODE_CONFIG β€” used when it is possible to choose which mode, continuous or one shot, the bandgap device instance will operate. pick your fighter: continuous or one shot πŸ’…
  • TI_BANDGAP_FEATURE_COUNTER β€” used when the bandgap device instance allows programming the update interval of its internal state machine. yes, you can tune the update interval, iconic ⏱️
  • TI_BANDGAP_FEATURE_POWER_SWITCH β€” used when the bandgap device allows itself to be switched on/off. on/off realness πŸ”Œ
  • TI_BANDGAP_FEATURE_CLK_CTRL β€” used when the clocks feeding the bandgap device are gateable or not. clock gating: yes or no, that’s the whole question πŸ•°οΈ
  • TI_BANDGAP_FEATURE_FREEZE_BIT β€” used when the bandgap device features a history buffer that its update can be freezed/unfreezed. freeze/unfreeze the history buffer update, periodt 🧊
  • TI_BANDGAP_FEATURE_COUNTER_DELAY β€” used when the bandgap device features a delay programming based on distinct values. distinct values, distinct delays, we love to see it ✨
  • TI_BANDGAP_FEATURE_HISTORY_BUFFER β€” used when the bandgap device features a history buffer of temperatures. a little temperature scrapbook, honestly adorable 🌑️
  • TI_BANDGAP_FEATURE_ERRATA_814 β€” used to workaround when the bandgap device has Errata 814. we don’t talk about Errata 814 πŸ™ˆ
  • TI_BANDGAP_FEATURE_UNRELIABLE β€” used when the sensor readings are too inaccurate. bestie said β€œdon’t trust me” πŸ’€
  • TI_BANDGAP_FEATURE_CONT_MODE_ONLY β€” used when single mode hangs the sensor. so continuous mode only, no games 🚫
  • TI_BANDGAP_HAS(b, f) β€” macro to check if a bandgap device is capable of a specific feature (above) or not. returns non-zero if yes. your one-stop capability check 🫢

🌸 SEE ALSO 🌸

Kernel file ./drivers/thermal/ti-soc-thermal/ti-bandgap.h β€” plus bandgap driver data structure(9), struct temp_sensor_registers(9), struct temp_sensor_data(9), struct temp_sensor_regval(9), struct ti_bandgap(9), struct ti_temp_sensor(9), and struct ti_bandgap_data(9). go read those next, bestie πŸ“š

that’s the page, bestie πŸ’– this one lives at ./drivers/thermal/ti-soc-thermal, dated October 2026, and it’s the ti bandgap feature types(9) page from the Kernel API Manual. now go check those features, mwah πŸ‘‘

πŸ“¦ where this page comes from