Home
last modified time | relevance | path

Searched +full:chip +full:- +full:temperature +full:- +full:threshold +full:- +full:celsius (Results 1 – 25 of 32) sorted by relevance

12

/linux-6.12.1/Documentation/driver-api/thermal/
Dexynos_thermal.rst15 ---------------------------
17 This driver allows to read temperature inside Samsung Exynos4/5 series of SoC.
19 The chip only exposes the measured 8-bit temperature code value
21 Temperature can be taken from the temperature code.
22 There are three equations converting from temperature to temperature code.
27 Tc = (T - 25) * (TI2 - TI1) / (85 - 25) + TI1
31 Tc = T + TI1 - 25
38 Temperature code, T: Temperature,
40 Trimming info for 25 degree Celsius (stored at TRIMINFO register)
41 Temperature code measured at 25 degree Celsius which is unchanged
[all …]
/linux-6.12.1/Documentation/hwmon/
Dbt1-pvt.rst1 .. SPDX-License-Identifier: GPL-2.0-only
3 Kernel driver bt1-pvt
8 * Baikal-T1 PVT sensor (in SoC)
10 Prefix: 'bt1-pvt'
12 Addresses scanned: -
21 -----------
24 embedded into Baikal-T1 process, voltage and temperature sensors. PVT IP-core
25 consists of one temperature and four voltage sensors, which can be used to
26 monitor the chip internal environment like heating, supply voltage and
29 compile-time configurable due to the hardware interface implementation
[all …]
Dvt1211.rst10 Addresses scanned: none, address read from Super-I/O config space
24 -----------------
29 configuration for channels 1-5.
30 Legal values are in the range of 0-31. Bit 0 maps to
36 Override the BIOS default temperature interrupt mode.
40 long as the temperature stays above the hysteresis
47 -----------
49 The VIA VT1211 Super-I/O chip includes complete hardware monitoring
50 capabilities. It monitors 2 dedicated temperature sensor inputs (temp1 and
51 temp2), 1 dedicated voltage (in5) and 2 fans. Additionally, the chip
[all …]
Dw83781d.rst10 Addresses scanned: I2C 0x28 - 0x2f, ISA 0x290 (8 I/O ports)
12 Datasheet: http://www.winbond-usa.com/products/winbond_products/pdfs/PCIC/w83781d.pdf
18 Addresses scanned: I2C 0x28 - 0x2f, ISA 0x290 (8 I/O ports)
28 Datasheet: http://www.winbond-usa.com/products/winbond_products/pdfs/PCIC/w83783s.pdf
34 Addresses scanned: I2C 0x28 - 0x2f
42 - Frodo Looijaard <frodol@dds.nl>,
43 - Philip Edelbrock <phil@netroedge.com>,
44 - Mark Studebaker <mdsxyz123@yahoo.com>
47 -----------------
52 Use 'init=0' to bypass initializing the chip.
[all …]
Dsysfs-interface.rst5 through the sysfs interface. Since lm-sensors 3.0.0, libsensors is
6 completely chip-independent. It assumes that all the kernel drivers
8 This makes adding or updating support for any given chip very easy, as
10 This is a major improvement compared to lm-sensors 2.
14 temperature sensor is connected to the CPU, or that the second fan is on
22 For this reason, even if we aim at a chip-independent libsensors, it will
33 Each chip gets its own directory in the sysfs /sys/devices tree. To
37 Up to lm-sensors 3.0.0, libsensors looks for hardware monitoring attributes
38 in the "physical" device directory. Since lm-sensors 3.0.1, attributes found
48 types for sensor chips are "in" (voltage), "temp" (temperature) and
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/power/supply/
Dsummit,smb347-charger.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/power/supply/summit,smb347-charger.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - David Heidelberg <david@ixit.cz>
11 - Dmitry Osipenko <digetx@gmail.com>
16 - summit,smb345
17 - summit,smb347
18 - summit,smb358
26 monitored-battery:
[all …]
Dbattery.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sebastian Reichel <sre@kernel.org>
14 In smart batteries, these are typically stored in non-volatile memory
15 on a fuel gauge chip. The battery node should be used where there is
16 no appropriate non-volatile memory, or it is unprogrammed/incorrect.
27 Batteries must be referenced by chargers and/or fuel-gauges using a phandle.
28 The phandle's property should be named "monitored-battery".
32 const: simple-battery
[all …]
/linux-6.12.1/drivers/thermal/qcom/
Dqcom-spmi-temp-alarm.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2011-2015, 2017, 2020, The Linux Foundation. All rights reserved.
44 /* Over-temperature trip point values in mC */
59 #define TEMP_THRESH_STEP 5000 /* Threshold step: 5 C */
66 /* Temperature in Milli Celsius reported during stage 0 if no ADC is present */
78 /* protects .thresh, .stage and chip registers */
89 static int qpnp_tm_read(struct qpnp_tm_chip *chip, u16 addr, u8 *data) in qpnp_tm_read() argument
94 ret = regmap_read(chip->map, chip->base + addr, &val); in qpnp_tm_read()
102 static int qpnp_tm_write(struct qpnp_tm_chip *chip, u16 addr, u8 data) in qpnp_tm_write() argument
104 return regmap_write(chip->map, chip->base + addr, data); in qpnp_tm_write()
[all …]
/linux-6.12.1/drivers/thermal/broadcom/
Dbrcmstb_thermal.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (c) 2015-2017 Broadcom
55 /* HW related temperature constants */
57 #define AVS_TMON_TEMP_MIN -88161
72 /* HW field to read the trip temperature */
79 /* Trips when temperature is below threshold */
87 /* Trips when temperature is above threshold */
95 /* Automatically resets chip when above threshold */
119 /* Convert a HW code to a temperature reading (millidegree celsius) */
123 int offset = priv->temp_params->offset; in avs_tmon_code_to_temp()
[all …]
/linux-6.12.1/Documentation/ABI/testing/
Dsysfs-class-power5 Contact: linux-pm@vger.kernel.org
14 Contact: linux-pm@vger.kernel.org
23 Contact: linux-pm@vger.kernel.org
32 Contact: linux-pm@vger.kernel.org
43 Contact: linux-pm@vger.kernel.org
66 Contact: linux-pm@vger.kernel.org
81 Contact: linux-pm@vger.kernel.org
94 read-only reporting, unless the 'online' state of the supply
106 Contact: linux-pm@vger.kernel.org
110 Reports the current TBAT battery temperature reading.
[all …]
Dsysfs-bus-iio3 Contact: linux-iio@vger.kernel.org
5 Hardware chip or device accessed by one communication port.
11 Contact: linux-iio@vger.kernel.org
25 Contact: linux-iio@vger.kernel.org
31 Contact: linux-iio@vger.kernel.org
33 Description of the physical chip / device for device X.
38 Contact: linux-iio@vger.kernel.org
44 The contents of the label are free-form, but there are some
51 * "proximity-wifi"
52 * "proximity-lte"
[all …]
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/dvm/
Dtt.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright(c) 2007 - 2014 Intel Corporation. All rights reserved.
16 #include "iwl-io.h"
17 #include "iwl-modparams.h"
18 #include "iwl-debug.h"
28 *-----------------------------------------------------------------------------
35 static const struct iwl_tt_trans tt_range_0[IWL_TI_STATE_MAX - 1] = {
37 {IWL_TI_1, 105, CT_KILL_THRESHOLD - 1},
40 static const struct iwl_tt_trans tt_range_1[IWL_TI_STATE_MAX - 1] = {
42 {IWL_TI_2, 110, CT_KILL_THRESHOLD - 1},
[all …]
/linux-6.12.1/drivers/hwmon/
Ddrivetemp.c1 // SPDX-License-Identifier: GPL-2.0
3 * Hwmon client for disk and solid state drives with temperature sensors
7 * Hwmon client for S.M.A.R.T. hard disk drives with temperature sensors.
10 * hwmon: Driver for SCSI/ATA temperature sensors
13 * This drive supports reporting the temperature of SATA drives. It can be
14 * easily extended to report the temperature of SCSI drives.
16 * The primary means to read drive temperatures and temperature limits
18 * ATA8-ACS.
19 * It can be used to read the current drive temperature, temperature limits,
21 * feature set is documented in "AT Attachment 8 - ATA/ATAPI Command Set
[all …]
Dbt1-pvt.c1 // SPDX-License-Identifier: GPL-2.0-only
9 * Baikal-T1 Process, Voltage, Temperature sensor driver
18 #include <linux/hwmon-sysfs.h>
34 #include "bt1-pvt.h"
38 * with the sensor names, activation modes, threshold registers base address
42 PVT_SENSOR_INFO(0, "CPU Core Temperature", hwmon_temp, TEMP, TTHRES),
44 PVT_SENSOR_INFO(1, "CPU Core Low-Vt", hwmon_in, LVT, LTHRES),
45 PVT_SENSOR_INFO(2, "CPU Core High-Vt", hwmon_in, HVT, HTHRES),
46 PVT_SENSOR_INFO(3, "CPU Core Standard-Vt", hwmon_in, SVT, STHRES),
50 * The original translation formulae of the temperature (in degrees of Celsius)
[all …]
Dabituguru.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * abituguru.c Copyright (c) 2005-2006 Hans de Goede <hdegoede@redhat.com>
7 * the custom Abit uGuru chip found on Abit uGuru motherboards. Note: because
23 #include <linux/hwmon-sysfs.h>
64 * of the time it will reach this status within 30 - 90 ISA reads, and thus we
125 /* Two i/o-ports are used by uGuru */
139 /* in (Volt) sensors go up to 3494 mV, temp to 255000 millidegrees Celsius */
142 * Min / Max allowed values for sensor2 (fan) alarm threshold, these values
143 * correspond to 300-3000 RPM
149 * are temperature trip points.
[all …]
/linux-6.12.1/Documentation/power/
Dpower_supply_class.rst8 properties to user-space.
52 µA, µAh, µWh, seconds and tenths of degree Celsius unless otherwise
60 +--------------------------------------------------------------------------+
61 | **Charge/Energy/Capacity - how to not confuse** |
62 +--------------------------------------------------------------------------+
66 | - `CHARGE_*` |
68 | - `ENERGY_*` |
70 | - `CAPACITY` |
72 +--------------------------------------------------------------------------+
133 considered full/empty at given conditions (temperature, age)".
[all …]
/linux-6.12.1/drivers/thermal/tegra/
Dsoctherm.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2014 - 2018, NVIDIA CORPORATION. All rights reserved.
34 #include <dt-bindings/thermal/tegra124-soctherm.h>
197 #define REG_GET_MASK(r, m) (((r) & (m)) >> (ffs(m) - 1))
200 (((v) & (m >> (ffs(m) - 1))) << (ffs(m) - 1)))
203 #define THROT_DEPTH_DIVIDEND(depth) ((256 * (100 - (depth)) / 100) - 1)
205 /* gk20a nv_therm interface N:3 Mapping. Levels defined in tegra124-soctherm.h
212 #define THROT_LEVEL_TO_DEPTH(level) ((0x1 << (level)) - 1)
229 (ALARM_OFFSET * (throt - THROTTLE_OC1)))
232 (ALARM_OFFSET * (throt - THROTTLE_OC1)))
[all …]
/linux-6.12.1/drivers/sbus/char/
Dbbc_envctrl.c1 // SPDX-License-Identifier: GPL-2.0
2 /* bbc_envctrl.c: UltraSPARC-III environment control driver.
26 /* Two temperature sensors exist in the SunBLADE-1000 enclosure.
29 * for the ambient temperature.
31 * The max1617 is capable of being programmed with power-off
32 * temperature values, one low limit and one high limit. These
33 * can be controlled independently for the cpu or ambient temperature.
35 * with which the max1617 does temperature sampling can be controlled
44 * disabled/enabled when entering/exiting the lowest power-saving
48 * temperature sensors. Based upon the samples it will adjust the
[all …]
/linux-6.12.1/arch/arm/boot/dts/qcom/
Dqcom-apq8026-samsung-milletwifi.dts1 // SPDX-License-Identifier: BSD-3-Clause
7 /dts-v1/;
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/power/summit,smb347-charger.h>
11 #include "qcom-msm8226.dtsi"
14 /delete-node/ &adsp_region;
15 /delete-node/ &smem_region;
18 model = "Samsung Galaxy Tab 4 8.0 Wi-Fi";
20 chassis-type = "tablet";
29 #address-cells = <1>;
[all …]
/linux-6.12.1/drivers/power/supply/
Dbq25890_charger.c1 // SPDX-License-Identifier: GPL-2.0-or-later
91 u8 treg; /* thermal regulation threshold */
113 char name[28]; /* "bq25890-charger-%d" */
272 * Most of the val -> idx conversions can be computed, given the minimum,
294 /* Thermal Regulation Threshold lookup table, in degrees Celsius */
306 /* NTC 10K temperature lookup table in tenths of a degree */
322 0, -10, -20, -30, -40, -60, -70, -80,
323 -90, -10, -120, -140, -150, -170, -190, -210,
367 ret = regmap_field_read(bq->rmap_fields[field_id], &val); in bq25890_field_read()
377 return regmap_field_write(bq->rmap_fields[field_id], val); in bq25890_field_write()
[all …]
Dbq27xxx_battery.c1 // SPDX-License-Identifier: GPL-2.0
7 * Copyright (C) 2010-2011 Lars-Peter Clausen <lars@metafoo.de>
19 * https://www.ti.com/product/bq27510-g1
20 * https://www.ti.com/product/bq27510-g2
21 * https://www.ti.com/product/bq27510-g3
22 * https://www.ti.com/product/bq27520-g1
23 * https://www.ti.com/product/bq27520-g2
24 * https://www.ti.com/product/bq27520-g3
25 * https://www.ti.com/product/bq27520-g4
26 * https://www.ti.com/product/bq27530-g1
[all …]
Dsc27xx_fuel_gauge.c1 // SPDX-License-Identifier: GPL-2.0
10 #include <linux/nvmem-consumer.h>
79 * @channel: IIO channel to get battery temperature
93 * @calib_resist: the real resistance of coulomb counter chip in uOhm
95 * @resist_table: resistance percent table with corresponding temperature
139 return DIV_S64_ROUND_CLOSEST(adc * 1000, data->cur_1000ma_adc); in sc27xx_fgu_adc_to_current()
144 return DIV_S64_ROUND_CLOSEST(adc * 1000, data->vol_1000mv_adc); in sc27xx_fgu_adc_to_voltage()
149 return DIV_ROUND_CLOSEST(vol * data->vol_1000mv_adc, 1000); in sc27xx_fgu_voltage_to_adc()
156 ret = regmap_read(data->regmap, in sc27xx_fgu_is_first_poweron()
157 data->base + SC27XX_FGU_USER_AREA_STATUS, &status); in sc27xx_fgu_is_first_poweron()
[all …]
Dsmb347-charger.c1 // SPDX-License-Identifier: GPL-2.0-only
23 #include <dt-bindings/power/summit,smb347-charger.h>
26 #define SMB3XX_SOFT_TEMP_COMPENSATE_DEFAULT -1
28 /* Use default factory programmed value for hard/soft temperature limit */
29 #define SMB3XX_TEMP_USE_DEFAULT -273
34 * reloaded from non-volatile registers after POR.
136 * struct smb347_charger - smb347 charger instance
149 * @pre_charge_current: current (in uA) to use in pre-charging phase
153 * pre-charge to fast charge mode
157 * @chip_temp_threshold: die temperature where device starts limiting charge
[all …]
/linux-6.12.1/drivers/platform/x86/
Dhdaps.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * hdaps.c - driver for IBM's Hard Drive Active Protection System
9 * starting with the R40, T41, and X40. It provides a basic two-axis
10 * accelerometer and other data, such as the device's temperature.
31 #define HDAPS_NR_PORTS 0x30 /* number of ports: 0x1600 - 0x162f */
34 #define HDAPS_PORT_YPOS 0x1612 /* y-axis position */
35 #define HDAPS_PORT_XPOS 0x1614 /* x-axis position */
36 #define HDAPS_PORT_TEMP1 0x1616 /* device temperature, in Celsius */
37 #define HDAPS_PORT_YVAR 0x1617 /* y-axis variance (what is this?) */
38 #define HDAPS_PORT_XVAR 0x1619 /* x-axis variance (what is this?) */
[all …]
/linux-6.12.1/drivers/net/wireless/intel/iwlegacy/
D4965.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright(c) 2003 - 2011 Intel Corporation. All rights reserved.
8 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
15 #include <linux/dma-mapping.h>
29 * il_verify_inst_sparse - verify runtime uCode image in card vs. host,
44 /* read data comes through single port, auto-incr addr */ in il4965_verify_inst_sparse()
50 ret = -EIO; in il4965_verify_inst_sparse()
61 * il4965_verify_inst_full - verify runtime uCode image in card vs. host,
77 for (; len > 0; len -= sizeof(u32), image++) { in il4965_verify_inst_full()
78 /* read data comes through single port, auto-incr addr */ in il4965_verify_inst_full()
[all …]

12