/linux-6.8/Documentation/devicetree/bindings/power/supply/ |
D | battery.yaml | 1 # 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 …]
|
/linux-6.8/Documentation/devicetree/bindings/iio/temperature/ |
D | melexis,mlx90632.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Crt Mori <cmo@melexis.com> 13 https://www.melexis.com/en/documents/documentation/datasheets/datasheet-mlx90632 17 measured object temperature is in range between -20 to 200 degrees 18 Celsius with relative error of measurement below 1 degree Celsius in 20 operate and measure ambient temperature in range of -20 to 85 degrees 21 Celsius it is suitable also for outdoor use. 23 Be aware that electronics surrounding the sensor can increase ambient [all …]
|
/linux-6.8/Documentation/power/ |
D | power_supply_class.rst | 8 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-6.8/include/linux/ |
D | power_supply.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 23 * µA, µAh, µWh, seconds and tenths of degree Celsius unless otherwise 226 /* Run-time specific power supply configuration */ 349 int temp; /* celsius */ 359 * struct power_supply_maintenance_charge_table - setting for maintenace charging 392 * +-------------------------------------------------------------------> t 394 * Practically this means that the Li-ions are wandering back and forth in the 405 * +-------------------------------------------------------------------> t 416 * As an example, a Samsung EB425161LA Lithium-Ion battery is CC/CV charged 431 * the expected stand-by current. Also overvoltage protection will be applied [all …]
|
/linux-6.8/drivers/sbus/char/ |
D | bbc_envctrl.c | 1 // 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 33 * can be controlled independently for the cpu or ambient temperature. 44 * disabled/enabled when entering/exiting the lowest power-saving 59 * before the hardware based power-off event is triggered. 62 /* These settings are in Celsius. We use these defaults only 63 * if we cannot interrogate the cpu-fru SEEPROM. [all …]
|
/linux-6.8/drivers/net/ethernet/sfc/ |
D | mcdi_mon.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright 2011-2013 Solarflare Communications Inc. 42 SENSOR(CONTROLLER_TEMP, "Controller board temp.", TEMP, -1), 43 SENSOR(PHY_COMMON_TEMP, "PHY temp.", TEMP, -1), 44 SENSOR(CONTROLLER_COOLING, "Controller heat sink", COOL, -1), 49 SENSOR(IN_1V0, "1.0V supply", IN, -1), 50 SENSOR(IN_1V2, "1.2V supply", IN, -1), 51 SENSOR(IN_1V8, "1.8V supply", IN, -1), 52 SENSOR(IN_2V5, "2.5V supply", IN, -1), 53 SENSOR(IN_3V3, "3.3V supply", IN, -1), [all …]
|
D | mcdi_pcol.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright 2009-2018 Solarflare Communications Inc. 5 * Copyright 2019-2020 Xilinx Inc. 13 /* Power-on reset state */ 35 /* The 'doorbell' addresses are hard-wired to alert the MC when written */ 38 /* The rest of these are firmware-defined */ 46 /* Values to be written to the per-port status dword in shared 71 * | | \--- Response 72 * | \------- Error 73 * \------------------------------ Resync (always set) [all …]
|
/linux-6.8/drivers/net/ethernet/sfc/siena/ |
D | mcdi_mon.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright 2011-2013 Solarflare Communications Inc. 42 SENSOR(CONTROLLER_TEMP, "Controller board temp.", TEMP, -1), 43 SENSOR(PHY_COMMON_TEMP, "PHY temp.", TEMP, -1), 44 SENSOR(CONTROLLER_COOLING, "Controller heat sink", COOL, -1), 49 SENSOR(IN_1V0, "1.0V supply", IN, -1), 50 SENSOR(IN_1V2, "1.2V supply", IN, -1), 51 SENSOR(IN_1V8, "1.8V supply", IN, -1), 52 SENSOR(IN_2V5, "2.5V supply", IN, -1), 53 SENSOR(IN_3V3, "3.3V supply", IN, -1), [all …]
|
D | mcdi_pcol.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright 2009-2018 Solarflare Communications Inc. 5 * Copyright 2019-2020 Xilinx Inc. 13 /* Power-on reset state */ 35 /* The 'doorbell' addresses are hard-wired to alert the MC when written */ 38 /* The rest of these are firmware-defined */ 46 /* Values to be written to the per-port status dword in shared 71 * | | \--- Response 72 * | \------- Error 73 * \------------------------------ Resync (always set) [all …]
|
/linux-6.8/drivers/thermal/ |
D | sun8i_thermal.c | 1 // SPDX-License-Identifier: GPL-2.0 16 #include <linux/nvmem-consumer.h> 91 /* Temp Unit: millidegree Celsius */ 95 return tmdev->chip->offset - (reg * tmdev->chip->scale / 10); in sun8i_ths_calc_temp() 102 return -1191 * reg / 10 + 223000; in sun50i_h5_calc_temp() 104 return -1452 * reg / 10 + 259000; in sun50i_h5_calc_temp() 106 return -1590 * reg / 10 + 276000; in sun50i_h5_calc_temp() 112 struct ths_device *tmdev = s->tmdev; in sun8i_ths_get_temp() 115 regmap_read(tmdev->regmap, tmdev->chip->temp_data_base + in sun8i_ths_get_temp() 116 0x4 * s->id, &val); in sun8i_ths_get_temp() [all …]
|
/linux-6.8/Documentation/hwmon/ |
D | dell-smm-hwmon.rst | 1 .. SPDX-License-Identifier: GPL-2.0-or-later 5 Kernel driver dell-smm-hwmon 8 :Copyright: |copy| 2002-2005 Massimo Dal Zotto <dz@debian.org> 12 ----------- 24 ------------------- 35 fan[1-3]_input RO Fan speed in RPM. 36 fan[1-3]_label RO Fan label. 37 fan[1-3]_min RO Minimal Fan speed in RPM 38 fan[1-3]_max RO Maximal Fan speed in RPM 39 fan[1-3]_target RO Expected Fan speed in RPM [all …]
|
/linux-6.8/drivers/power/supply/ |
D | power_supply_core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 24 #include <linux/fixp-arith.h> 26 #include "samsung-sdi-battery.h" 43 if (!supply->supplied_from && !supplier->supplied_to) in __power_supply_is_supplied_by() 47 if (supply->supplied_from) { in __power_supply_is_supplied_by() 48 if (!supplier->desc->name) in __power_supply_is_supplied_by() 50 for (i = 0; i < supply->num_supplies; i++) in __power_supply_is_supplied_by() 51 if (!strcmp(supplier->desc->name, supply->supplied_from[i])) in __power_supply_is_supplied_by() 54 if (!supply->desc->name) in __power_supply_is_supplied_by() 56 for (i = 0; i < supplier->num_supplicants; i++) in __power_supply_is_supplied_by() [all …]
|
/linux-6.8/drivers/net/ethernet/sfc/falcon/ |
D | falcon_boards.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright 2007-2012 Solarflare Communications Inc. 27 /* Board temperature is about 15°C above ambient when air flow is 28 * limited. The maximum acceptable ambient temperature varies 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() [all …]
|
/linux-6.8/drivers/hwmon/ |
D | ltc2947-core.c | 1 // SPDX-License-Identifier: GPL-2.0 12 #include <linux/hwmon-sysfs.h> 65 #define VOLTAGE_MIN -300 76 #define CURRENT_MIN -30000 85 #define POWER_MIN -450000000 95 /* in millidegress Celsius */ 97 #define TEMP_MIN -40000 107 #define LTC2947_ALERTS_SIZE (LTC2947_REG_STATVDVCC - LTC2947_REG_STATUS) 125 * complete sequence select_page->read/write needs to be protected. 138 ret = regmap_bulk_read(st->map, reg, &__val, 2); in __ltc2947_val_read16() [all …]
|
/linux-6.8/Documentation/ABI/testing/ |
D | sysfs-bus-iio | 3 Contact: linux-iio@vger.kernel.org 11 Contact: linux-iio@vger.kernel.org 25 Contact: linux-iio@vger.kernel.org 31 Contact: linux-iio@vger.kernel.org 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" 53 * "proximity-wifi-lte" 54 * "proximity-wifi-left" [all …]
|
/linux-6.8/arch/arm/boot/dts/nvidia/ |
D | tegra30-asus-nexus7-grouper-common.dtsi | 1 // 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 …]
|
D | tegra20-acer-a500-picasso.dts | 1 // 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 …]
|
/linux-6.8/drivers/net/ethernet/mellanox/mlxsw/ |
D | reg.h | 1 /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */ 2 /* Copyright (c) 2015-2018 Mellanox Technologies. All rights reserved */ 29 #define MLXSW_REG_LEN(type) MLXSW_REG(type)->len 30 #define MLXSW_REG_ZERO(type, payload) memset(payload, 0, MLXSW_REG(type)->len) 32 /* SGCR - Switch General Configuration Register 33 * -------------------------------------------- 55 /* SPAD - Switch Physical Address Register 56 * --------------------------------------- 72 /* SSPR - Switch System Port Record Register 73 * ----------------------------------------- [all …]
|