/openbmc/linux/Documentation/devicetree/bindings/power/supply/ |
H A 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 …]
|
/openbmc/linux/Documentation/devicetree/bindings/iio/temperature/ |
H A 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 …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/ |
H A D | ThermalMetrics.v1_3_2.json | 4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 5 …"copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or… 12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 31 "description": "The available OEM-specific actions for this resource.", 32 …"longDescription": "This property shall contain the available OEM-specific actions for this resour… 42 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 81 "description": "The available OEM-specific actions for this resource.", 82 …"longDescription": "This type shall contain the available OEM-specific actions for this resource.", 84 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 106 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ |
H A D | ThermalMetrics.v1_3_2.json | 4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 5 …"copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or… 12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 31 "description": "The available OEM-specific actions for this resource.", 32 …"longDescription": "This property shall contain the available OEM-specific actions for this resour… 42 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 81 "description": "The available OEM-specific actions for this resource.", 82 …"longDescription": "This type shall contain the available OEM-specific actions for this resource.", 84 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 106 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/ |
H A D | ThermalMetrics_v1.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!----> 3 <!--################################################################################ --> 4 <!--# Redfish Schema: ThermalMetrics v1.3.2 --> 5 <!--# --> 6 <!--# For a detailed change log, see the README file contained in the DSP8010 bundle, --> 7 <!--# available at http://www.dmtf.org/standards/redfish --> 8 <!--# Copyright 2014-2024 DMTF. --> 9 <!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright --> 10 <!--################################################################################ --> [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ |
H A D | ThermalMetrics_v1.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!----> 3 <!--################################################################################ --> 4 <!--# Redfish Schema: ThermalMetrics v1.3.2 --> 5 <!--# --> 6 <!--# For a detailed change log, see the README file contained in the DSP8010 bundle, --> 7 <!--# available at http://www.dmtf.org/standards/redfish --> 8 <!--# Copyright 2014-2024 DMTF. --> 9 <!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright --> 10 <!--################################################################################ --> [all …]
|
/openbmc/linux/Documentation/power/ |
H A 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 …]
|
/openbmc/docs/architecture/ |
H A D | sensor-architecture.md | 1 # Sensor Support for OpenBMC using phosphor-hwmon 3 This document describes sensors provided by [phosphor-hwmon][15]. An alternate 4 method is to use the suite of applications provided by [dbus-sensors][16]. While 5 the configuration details between the two methods differ, the D-Bus 10 map sensors to [D-Bus][1] objects. The D-Bus object will broadcast the 15 ## D-Bus 18 Service xyz.openbmc_project.Hwmon-<hash>.Hwmon1 27 - **<type\>** : The [HWMon class][2] name in lower case. 29 - Examples include `temperature, fan_tach, voltage`. 31 - **<label\>** : User defined name of the sensor. [all …]
|
/openbmc/linux/include/linux/ |
H A 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 …]
|
/openbmc/linux/drivers/sbus/char/ |
H A 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 …]
|
/openbmc/linux/drivers/net/ethernet/sfc/ |
H A 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 …]
|
H A 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 …]
|
/openbmc/linux/drivers/net/ethernet/sfc/siena/ |
H A 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 …]
|
H A 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 …]
|
/openbmc/linux/Documentation/hwmon/ |
H A 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 …]
|
/openbmc/linux/drivers/thermal/ |
H A 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 …]
|
/openbmc/linux/drivers/power/supply/ |
H A 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" 44 if (!supply->supplied_from && !supplier->supplied_to) in __power_supply_is_supplied_by() 48 if (supply->supplied_from) { in __power_supply_is_supplied_by() 49 if (!supplier->desc->name) in __power_supply_is_supplied_by() 51 for (i = 0; i < supply->num_supplies; i++) in __power_supply_is_supplied_by() 52 if (!strcmp(supplier->desc->name, supply->supplied_from[i])) in __power_supply_is_supplied_by() 55 if (!supply->desc->name) in __power_supply_is_supplied_by() 57 for (i = 0; i < supplier->num_supplicants; i++) in __power_supply_is_supplied_by() [all …]
|
/openbmc/linux/drivers/net/ethernet/sfc/falcon/ |
H A 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 …]
|
/openbmc/linux/drivers/hwmon/ |
H A 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 …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A 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 …]
|
/openbmc/linux/arch/arm/boot/dts/nvidia/ |
H A 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 …]
|
H A 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 …]
|
/openbmc/ipmitool/doc/ |
H A D | ipmitool.1 | 3 ipmitool \- utility for controlling IPMI\-enabled devices 6 ipmitool [ <options> ] <command> [ <sub-commands and sub-options> ] 8 <options> := [ <general-options> | <conditional-opts> ] 13 <general-options> := [ -h | -V | -v | -I <interface> | -H <address> | 14 -d <N> | -p <port> | -c | -U <username> | 15 -L <privlvl> | -l <lun> | -m <local_address> | 16 -N <sec> | -R <count> | <password-option> | 17 <oem-option> | <bridge-options> ] 19 <conditional-opts> := [ <lan-options> | <lanplus-options> | 20 <command-options> ] [all …]
|
/openbmc/ipmitool/lib/ |
H A D | ipmi_delloem.c | 6 * - Redistributions of source code must retain the above copyright notice, 9 * - Redistributions in binary form must reproduce the above copyright notice, 12 * - Neither the name of Dell Inc nor the names of its contributors 69 #define INVALID (-1) 80 #define INVAILD_FAILOVER_MODE -2 81 #define INVAILD_FAILOVER_MODE_SETTINGS -3 82 #define INVAILD_SHARED_MODE -4 129 * 11G || 12G || 13G -> _ALL 130 * 12G || 13G -> _12_13 258 * Input: intf - ipmi interface [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A 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 …]
|