Lines Matching +full:thermal +full:- +full:sensors

1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
26 * +----------+----------------+
28 * +---------------------------+
32 * +-------------------+ +-----------------+
33 * | struct ti_bandgap |-->| struct device * |
34 * +----------+--------+ +-----------------+
38 * +------------------------+
40 * +------------------------+
44 * +------------+------------------------------------------------------+
45 * | +----------+------------+ +-------------------------+ |
46 * | | struct ti_temp_sensor |-->| struct temp_sensor_data | |
47 * | +-----------------------+ +------------+------------+ |
51 * | +----------+-------------------+ |
53 * | +------------------------------+ |
55 * +-------------------------------------------------------------------+
60 * sensors, representing every sensor instance present in this bandgap.
64 * struct temp_sensor_registers - descriptor to access registers and bitfields
138 * struct temp_sensor_data - The thresholds and limits for temperature sensors.
139 * @tshut_hot: temperature to trigger a thermal reset (initial value)
140 * @tshut_cold: temp to get the plat out of reset due to thermal (init val)
141 * @t_hot: temperature to trigger a thermal alert (high initial value)
142 * @t_cold: temperature to trigger a thermal alert (low initial value)
162 * struct temp_sensor_regval - temperature sensor register values and priv data
183 * struct ti_bandgap - bandgap device structure
186 * @conf: struct with bandgap configuration set (# sensors, conv_table, etc)
191 * @irq: MPU IRQ number for thermal alert
215 * struct ti_temp_sensor - bandgap temperature sensor configuration data
246 * TI_BANDGAP_FEATURE_TSHUT - used when the thermal shutdown signal output
251 * TI_BANDGAP_FEATURE_TSHUT_CONFIG - used when the bandgap device has control
252 * over the thermal shutdown configuration. This means that the thermal
255 * TI_BANDGAP_FEATURE_TALERT - used when the bandgap device instance outputs
258 * TI_BANDGAP_FEATURE_MODE_CONFIG - used when it is possible to choose which
261 * TI_BANDGAP_FEATURE_COUNTER - used when the bandgap device instance allows
264 * TI_BANDGAP_FEATURE_POWER_SWITCH - used when the bandgap device allows
267 * TI_BANDGAP_FEATURE_CLK_CTRL - used when the clocks feeding the bandgap
270 * TI_BANDGAP_FEATURE_FREEZE_BIT - used when the bandgap device features
273 * TI_BANDGAP_FEATURE_COUNTER_DELAY - used when the bandgap device features
276 * TI_BANDGAP_FEATURE_HISTORY_BUFFER - used when the bandgap device features
279 * TI_BANDGAP_FEATURE_ERRATA_814 - used to workaorund when the bandgap device
281 * TI_BANDGAP_FEATURE_UNRELIABLE - used when the sensor readings are too
283 * TI_BANDGAP_FEATURE_CONT_MODE_ONLY - used when single mode hangs the sensor
284 * TI_BANDGAP_HAS(b, f) - macro to check if a bandgap device is capable of a
285 * specific feature (above) or not. Return non-zero, if yes.
301 ((b)->conf->features & TI_BANDGAP_FEATURE_ ## f)
304 * struct ti_bandgap_data - ti bandgap data configuration structure
312 * @report_temperature: callback to report thermal alert to thermal API
313 * @expose_sensor: callback to export sensor to thermal API
314 * @remove_sensor: callback to destroy sensor from thermal API
315 * @sensors: array of sensors present in this bandgap instance
319 * is capable of, the clock names to feed this device, the amount of sensors and
321 * a thermal API.
336 struct ti_temp_sensor sensors[]; member