Home
last modified time | relevance | path

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

12

/linux/Documentation/devicetree/bindings/power/supply/
H A 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
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
34 device-chemistry:
[all …]
H A 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: true
[all …]
/linux/Documentation/hwmon/
H A Dsht3x.rst6 * Sensirion SHT3x-DIS
13 - https://sensirion.com/media/documents/213E6A3B/63A5A569/Datasheet_SHT3x_DIS.pdf
14- https://sensirion.com/media/documents/051DF50B/639C8101/Sensirion_Humidity_and_Temperature_Senso…
16 * Sensirion STS3x-DIS
23- https://sensirion.com/media/documents/1DA31AFD/61641F76/Sensirion_Temperature_Sensors_STS3x_Data…
24- https://sensirion.com/media/documents/292A335C/65537BAF/Sensirion_Datasheet_STS32_STS33.pdf
28 - David Frey <david.frey@sensirion.com>
29 - Pascal Sachs <pascal.sachs@sensirion.com>
32 -----------
34 This driver implements support for the Sensirion SHT3x-DIS and STS3x-DIS
[all …]
H A Dlm63.rst45 -----------
53 - No low limit for local temperature.
54 - No critical limit for local temperature.
55 - Critical limit for remote temperature can be changed only once. We
56 will consider that the critical limit is read-only.
63 All temperature values are given in degrees Celsius. Resolution is 1.0
67 store the value in an 8-bit register and have a selectable clock divider
68 to make sure that the result will fit in the register, the LM63 uses 16-bit
72 Note that the pin used for fan monitoring is shared with an alert out
77 for fan monitoring and alert out. On the LM64, monitoring is always enabled;
H A Dmax31760.rst1 .. SPDX-License-Identifier: GPL-2.0-or-later
19 -----------
23 temperature of a discrete diode-connected transistor, such as a 2N3906,
27 I2C-compatible interface. Fan speed is controlled based on the temperature
28 reading as an index to a 48-byte lookup table (LUT) containing
29 user-programmed PWM values. The flexible LUT-based architecture enables
34 shut down the system. A dedicated ALERT pin reports that either a local or
35 remote high-temperature threshold has been exceeded.
37 Temperature measurement range: from -55°C to 125°C
41 Please refer how to instantiate this driver: Documentation/i2c/instantiating-devices.rst
[all …]
/linux/include/linux/
H A Dpower_supply.h1 /* SPDX-License-Identifier: GPL-2.0-only */
25 * µA, µAh, µWh, seconds and tenths of degree Celsius unless otherwise
233 /* Run-time specific power supply configuration */
379 int temp; /* celsius */
389 * struct power_supply_maintenance_charge_table - setting for maintenace charging
422 * +-------------------------------------------------------------------> t
424 * Practically this means that the Li-ions are wandering back and forth in the
435 * +-------------------------------------------------------------------> t
446 * As an example, a Samsung EB425161LA Lithium-Ion battery is CC/CV charged
461 * the expected stand-by current. Also overvoltage protection will be applied
[all …]
/linux/Documentation/power/
H A 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 +--------------------------------------------------------------------------+
142 relative, time-based measurements.
[all …]
/linux/drivers/iio/temperature/
H A Dtmp007.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * tmp007.c - Support for TI TMP007 IR thermopile sensor with integrated math engine
7 * Driver for the Texas Instruments I2C 16-bit IR thermopile sensor
9 * (7-bit I2C slave address (0x40 - 0x47), changeable via ADR pins)
78 while (tries-- > 0) { in tmp007_read_temperature()
79 ret = i2c_smbus_read_word_swapped(data->client, in tmp007_read_temperature()
90 return -EIO; in tmp007_read_temperature()
92 return i2c_smbus_read_word_swapped(data->client, reg); in tmp007_read_temperature()
97 return i2c_smbus_write_word_swapped(data->client, TMP007_CONFIG, in tmp007_powerdown()
98 data->config & ~TMP007_CONFIG_CONV_EN); in tmp007_powerdown()
[all …]
H A Dmcp9600.c1 // SPDX-License-Identifier: GPL-2.0+
3 * mcp9600.c - Support for Microchip MCP9600 thermocouple EMF converter
31 #define MCP9600_ALERT_CFG(x) (MCP9600_ALERT_CFG1 + (x - 1))
37 #define MCP9600_ALERT_HYSTERESIS(x) (MCP9600_ALERT_HYSTERESIS1 + (x - 1))
39 #define MCP9600_ALERT_LIMIT(x) (MCP9600_ALERT_LIMIT1 + (x - 1))
48 #define MCP9600_MIN_TEMP_HOT_JUNCTION_MICRO -200000000
51 #define MCP9600_MIN_TEMP_COLD_JUNCTION_MICRO -40000000
108 MCP9600_CHANNELS(0, 0, 0, 0), /* Alerts: - - - - */
109 MCP9600_CHANNELS(1, 0, 0, 0), /* Alerts: 1 - - - */
110 MCP9600_CHANNELS(1, 1, 0, 0), /* Alerts: - 2 - - */
[all …]
/linux/include/linux/power/
H A Dmax17042_battery.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
191 /* External current sense resistor value in milli-ohms */
200 /* Alert / Status */
255 * R_sns in micro-ohms.
262 int temp_min; /* in tenths of degree Celsius */
263 int temp_max; /* in tenths of degree Celsius */
/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dvega12_thermal.c38 return -EINVAL); in vega12_get_current_rpm()
47 fan_speed_info->supports_percent_read = false; in vega12_fan_ctrl_get_fan_speed_info()
48 fan_speed_info->supports_percent_write = false; in vega12_fan_ctrl_get_fan_speed_info()
49 fan_speed_info->supports_rpm_read = true; in vega12_fan_ctrl_get_fan_speed_info()
50 fan_speed_info->supports_rpm_write = true; in vega12_fan_ctrl_get_fan_speed_info()
63 * vega12_enable_fan_control_feature -Enables the SMC Fan Control Feature.
66 * Return: 0 on success. -1 otherwise.
71 struct vega12_hwmgr *data = (struct vega12_hwmgr *)(hwmgr->backend); in vega12_enable_fan_control_feature()
73 if (data->smu_features[GNLD_FAN_CONTROL].supported) { in vega12_enable_fan_control_feature()
76 data->smu_features[GNLD_FAN_CONTROL]. in vega12_enable_fan_control_feature()
[all …]
/linux/arch/arm/boot/dts/gemini/
H A Dgemini-dlink-dir-685.dts2 * Device Tree file for D-Link DIR-685 Xtreme N Storage Router
5 /dts-v1/;
8 #include <dt-bindings/input/input.h>
11 model = "D-Link DIR-685 Xtreme N Storage Router";
12 compatible = "dlink,dir-685", "cortina,gemini";
13 #address-cells = <1>;
14 #size-cells = <1>;
17 /* 128 MB SDRAM in 2 x Hynix HY5DU121622DTP-D43 */
24 stdout-path = "uart0:19200n8";
28 compatible = "gpio-keys";
[all …]
/linux/drivers/power/supply/
H A Dmax1720x_battery.c1 // SPDX-License-Identifier: GPL-2.0+
7 * Copyright (C) 2024 Liebherr-Electronics and Drives GmbH
13 #include <linux/nvmem-provider.h>
26 #define MAX1720X_NRSENSE 0xCF /* RSense in 10^-5 Ohm */
32 #define MAX172XX_STATUS_IMX BIT(6) /* Maximum Current Alert Threshold Exceeded */
33 #define MAX172XX_STATUS_VMN BIT(8) /* Minimum Voltage Alert Threshold Exceeded */
34 #define MAX172XX_STATUS_TMN BIT(9) /* Minimum Temperature Alert Threshold Exceeded */
35 #define MAX172XX_STATUS_VMX BIT(12) /* Maximum Voltage Alert Threshold Exceeded */
36 #define MAX172XX_STATUS_TMX BIT(13) /* Maximum Temperature Alert Threshold Exceeded */
294 return reg * (500000 / info->rsense); /* in uAh */ in max172xx_capacity_to_ps()
[all …]
H A Dpower_supply_core.c1 // SPDX-License-Identifier: GPL-2.0-only
24 #include <linux/fixp-arith.h>
26 #include "samsung-sdi-battery.h"
47 if (!supply->supplied_from && !supplier->supplied_to) in __power_supply_is_supplied_by()
51 if (supply->supplied_from) { in __power_supply_is_supplied_by()
52 if (!supplier->desc->name) in __power_supply_is_supplied_by()
54 for (i = 0; i < supply->num_supplies; i++) in __power_supply_is_supplied_by()
55 if (!strcmp(supplier->desc->name, supply->supplied_from[i])) in __power_supply_is_supplied_by()
58 if (!supply->desc->name) in __power_supply_is_supplied_by()
60 for (i = 0; i < supplier->num_supplicants; i++) in __power_supply_is_supplied_by()
[all …]
/linux/drivers/iio/humidity/
H A Dhdc3020.c1 // SPDX-License-Identifier: GPL-2.0+
3 * hdc3020.c - Support for the TI HDC3020,HDC3021 and HDC3022
8 * Copyright (C) 2024 Liebherr-Electronics and Drives GmbH
70 #define HDC3020_MIN_TEMP_MICRO -39872968
139 struct i2c_client *client = data->client; in hdc3020_write_bytes()
143 msg.addr = client->addr; in hdc3020_write_bytes()
153 ret = i2c_transfer(client->adapter, &msg, 1); in hdc3020_write_bytes()
159 dev_err(&client->dev, "Could not write sensor command\n"); in hdc3020_write_bytes()
161 return -ETIMEDOUT; in hdc3020_write_bytes()
169 struct i2c_client *client = data->client; in hdc3020_read_bytes()
[all …]
/linux/drivers/hwmon/
H A Dlm63.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * lm63.c - driver for the National Semiconductor LM63 temperature sensor
5 * Copyright (C) 2004-2008 Jean Delvare <jdelvare@suse.de>
16 * - No low limit for local temperature.
17 * - No critical limit for local temperature.
18 * - Critical limit for remote temperature can be changed only once. We
19 * will consider that the critical limit is read-only.
32 #include <linux/hwmon-sysfs.h>
102 * For tachometer counts, the LM63 uses 16-bit values.
104 * value, it uses signed 8-bit values with LSB = 1 degree Celsius.
[all …]
H A Dltc2947-core.c1 // SPDX-License-Identifier: GPL-2.0
12 #include <linux/hwmon-sysfs.h>
66 #define VOLTAGE_MIN -300
77 #define CURRENT_MIN -30000
86 #define POWER_MIN -450000000
96 /* in millidegress Celsius */
98 #define TEMP_MIN -40000
108 #define LTC2947_ALERTS_SIZE (LTC2947_REG_STATVDVCC - LTC2947_REG_STATUS)
126 * complete sequence select_page->read/write needs to be protected.
139 ret = regmap_bulk_read(st->map, reg, &__val, 2); in __ltc2947_val_read16()
[all …]
/linux/drivers/net/ethernet/sfc/falcon/
H A Dfalcon_boards.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright 2007-2012 Solarflare Communications Inc.
91 struct i2c_client *client = i2c_new_client_device(&board->i2c_adap, info); in ef4_init_lm87()
97 /* Read-to-clear alarm/interrupt status */ in ef4_init_lm87()
108 board->hwmon_client = client; in ef4_init_lm87()
118 i2c_unregister_device(falcon_board(efx)->hwmon_client); in ef4_fini_lm87()
123 struct i2c_client *client = falcon_board(efx)->hwmon_client; in ef4_check_lm87()
129 if (EF4_WORKAROUND_7884(efx) && efx->link_state.up) in ef4_check_lm87()
161 netif_err(efx, hw, efx->net_dev, in ef4_check_lm87()
173 return is_failure ? -ERANGE : 0; in ef4_check_lm87()
[all …]
/linux/arch/arm/boot/dts/nvidia/
H A Dtegra30-lg-p880.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include "tegra30-lg-x3.dtsi"
16 pinctrl-names = "default";
17 pinctrl-0 = <&state_default>;
21 host-wlan-wake {
26 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
29 /* GNSS UART-B pinmux */
30 uartb-rxd {
35 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
[all …]
H A Dtegra30-lg-p895.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include "tegra30-lg-x3.dtsi"
11 pinctrl-names = "default";
12 pinctrl-0 = <&state_default>;
15 /* GNSS UART-B pinmux */
16 uartb-cts-rxd {
22 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
24 uartb-rts-txd {
30 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
[all …]
H A Dtegra30-asus-nexus7-grouper-common.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 #include <dt-bindings/input/gpio-keys.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/power/summit,smb347-charger.h>
6 #include <dt-bindings/thermal/thermal.h>
9 #include "tegra30-cpu-opp.dtsi"
10 #include "tegra30-cpu-opp-microvolt.dtsi"
11 #include "tegra30-asus-lvds-display.dtsi"
27 * pre-existing /chosen node to be available to insert the
33 trusted-foundations {
[all …]
H A Dtegra20-acer-a500-picasso.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include <dt-bindings/input/atmel-maxtouch.h>
5 #include <dt-bindings/input/gpio-keys.h>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/thermal/thermal.h>
10 #include "tegra20-cpu-opp.dtsi"
11 #include "tegra20-cpu-opp-microvolt.dtsi"
32 * pre-existing /chosen node to be available to insert the
41 reserved-memory {
[all …]
H A Dtegra30-asus-tf600t.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include <dt-bindings/input/gpio-keys.h>
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/leds/common.h>
7 #include <dt-bindings/thermal/thermal.h>
10 #include "tegra30-cpu-opp.dtsi"
11 #include "tegra30-cpu-opp-microvolt.dtsi"
16 chassis-type = "convertible";
34 * pre-existing /chosen node to be available to insert the
[all …]
/linux/drivers/gpu/drm/amd/pm/swsmu/inc/
H A Damdgpu_smu.h218 SMU_PPT_LIMIT_MIN = -1,
627 * struct pptable_funcs - Callbacks used to interact with the SMU.
775 * &limit: current limit temperature in millidegrees Celsius
781 * &limit: limit temperature to be setted, in millidegrees Celsius
1101 * @enable_thermal_alert: Enable thermal alert interrupts.
1106 * @disable_thermal_alert: Disable thermal alert interrupts.
1145 * @set_xgmi_pstate: Set inter-chip global memory interconnect pstate.
1160 * 0 - GFXOFF(default).
1161 * 1 - Transition out of GFX State.
1162 * 2 - Not in GFXOFF.
[all …]
/linux/drivers/input/mouse/
H A Delantech.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2007-2009 Arjan Opmeer <arjan@opmeer.net>
27 if (etd->info.debug) \
38 if (ps2_sliced_command(&psmouse->ps2dev, c) || in synaptics_send_cmd()
39 ps2_command(&psmouse->ps2dev, param, PSMOUSE_CMD_GETINFO)) { in synaptics_send_cmd()
41 return -1; in synaptics_send_cmd()
53 struct ps2dev *ps2dev = &psmouse->ps2dev; in elantech_send_cmd()
59 return -1; in elantech_send_cmd()
71 struct ps2dev *ps2dev = &psmouse->ps2dev; in elantech_ps2_command()
72 struct elantech_data *etd = psmouse->private; in elantech_ps2_command()
[all …]

12