TI BANDGAP FEATURE TYPES(9)
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
- 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