/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 …]
|
H A D | summit,smb347-charger.yaml | 1 # 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 …]
|
/openbmc/linux/Documentation/hwmon/ |
H A D | wm831x.rst | 1 Kernel driver wm831x-hwmon 11 - http://www.wolfsonmicro.com/products/WM8310 12 - http://www.wolfsonmicro.com/products/WM8311 13 - http://www.wolfsonmicro.com/products/WM8312 18 ----------- 21 monitor a range of system operating parameters, including the voltages 26 ------------------ 32 ---------------------- 37 Degrees celsius = (512.18 - data) / 1.0983
|
H A D | f71805f.rst | 44 ----------- 57 The Fintek F71806F/FG Super-I/O chip is essentially the same as the 65 ------------------ 67 Voltages are sampled by an 8-bit ADC with a LSB of 8 mV. The supported 68 range is thus from 0 to 2.040 V. Voltage values outside of this range 84 in1 VIN1 VTT1.2V 10K - 1.00 1.20 V 89 in6 VIN6 VCC1.5V 10K - 1.00 1.50 V 90 in7 VIN7 VCORE 10K - 1.00 ~1.40 V [1]_ 111 -------------- 113 Fan rotation speeds are reported as 12-bit values from a gated clock [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | ene-kb930.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mfd/ene-kb930.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 14 - Dmitry Osipenko <digetx@gmail.com> 16 $ref: /schemas/power/supply/power-supply.yaml 21 - enum: 22 - acer,a500-iconia-ec # Acer A500 Iconia tablet device 23 - const: ene,kb930 27 system-power-controller: true [all …]
|
/openbmc/linux/Documentation/driver-api/thermal/ |
H A D | nouveau_thermal.rst | 12 ----------- 17 Currently, due to the absence of in-kernel API to access HWMON drivers, Nouveau 24 ---------------------- 26 Temperature is exposed under as a read-only HWMON attribute temp1_input. 52 NOTE: Remember that the values are stored as milli degrees Celsius. Don't forget 56 -------------- 85 When operating in manual mode outside the vbios-defined 86 [PWM_min, PWM_max] range, the reported fan speed (RPM) may not be accurate 90 -----------
|
/openbmc/linux/drivers/thermal/ |
H A D | rcar_gen3_thermal.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * R-Car Gen3 THS thermal sensor driver 102 return ioread32(tsc->base + reg); in rcar_gen3_thermal_read() 108 iowrite32(data, tsc->base + reg); in rcar_gen3_thermal_write() 114 * [reg] = [temp] * a + b => [temp] = ([reg] - b) / a 134 #define RCAR3_THERMAL_GRAN 500 /* mili Celsius */ 137 #define TJ_3 -41 149 tsc->tj_t = (FIXPT_INT((priv->ptat[1] - priv->ptat[2]) * (ths_tj_1 - TJ_3)) in rcar_gen3_thermal_calc_coefs() 150 / (priv->ptat[0] - priv->ptat[2])) + FIXPT_INT(TJ_3); in rcar_gen3_thermal_calc_coefs() 152 tsc->coef.a1 = FIXPT_DIV(FIXPT_INT(tsc->thcode[1] - tsc->thcode[2]), in rcar_gen3_thermal_calc_coefs() [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. 31 * The max1617 is capable of being programmed with power-off 44 * disabled/enabled when entering/exiting the lowest power-saving 50 * range (the goal being to make the fans as quiet as possible without 54 * operating range, a periodic warning will be sent to the kernel log. 56 * situation. After exceeding the acceptable operating range by a 59 * before the hardware based power-off event is triggered. 62 /* These settings are in Celsius. We use these defaults only [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ |
H A D | Thermal.v1_7_3.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… 10 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 25 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id" 53 …-pluggable devices can become operable without altering the operational state of the underlying eq… 82 … "description": "The value at which the reading is below normal range but not yet fatal.", 83 …all contain the value at which the `Reading` property is below the normal range but is not yet fat… 91 … "description": "The value at which the reading is below normal range and fatal.", 92 …all contain the value at which the `Reading` property is below the normal range and is fatal. The… 100 "description": "The value at which the reading is below normal range.", [all …]
|
H A D | Control.v1_6_0.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_]*$": { 57 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context" 60 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag" 63 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id" 66 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type" [all …]
|
H A D | Sensor.v1_10_1.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_]*$": { 34 "description": "The available OEM-specific actions for this resource.", 35 …"longDescription": "This property shall contain the available OEM-specific actions for this resour… 56 …"longDescription": "This Redfish Specification-described type shall contain links to resources tha… 58 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 83 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count" 88 …operties contained in this object shall conform to the Redfish Specification-described requirement… 95 "description": "The available OEM-specific actions for this resource.", [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/ |
H A D | Thermal.v1_7_3.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… 10 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 25 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id" 53 …-pluggable devices can become operable without altering the operational state of the underlying eq… 82 … "description": "The value at which the reading is below normal range but not yet fatal.", 83 …all contain the value at which the `Reading` property is below the normal range but is not yet fat… 91 … "description": "The value at which the reading is below normal range and fatal.", 92 …all contain the value at which the `Reading` property is below the normal range and is fatal. The… 100 "description": "The value at which the reading is below normal range.", [all …]
|
H A D | Sensor.v1_10_1.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_]*$": { 34 "description": "The available OEM-specific actions for this resource.", 35 …"longDescription": "This property shall contain the available OEM-specific actions for this resour… 56 …"longDescription": "This Redfish Specification-described type shall contain links to resources tha… 58 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 83 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count" 88 …operties contained in this object shall conform to the Redfish Specification-described requirement… 95 "description": "The available OEM-specific actions for this resource.", [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ |
H A D | ProcessorMetrics_v1.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!----> 3 <!--################################################################################ --> 4 <!--# Redfish Schema: ProcessorMetrics v1.6.4 --> 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 …]
|
H A D | Control_v1.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!----> 3 <!--################################################################################ --> 4 <!--# Redfish Schema: Control v1.6.0 --> 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 …]
|
H A D | Thermal_v1.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!----> 3 <!--################################################################################ --> 4 <!--# Redfish Schema: Thermal v1.7.3 --> 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 …]
|
H A D | Sensor_v1.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!----> 3 <!--################################################################################ --> 4 <!--# Redfish Schema: Sensor v1.10.1 --> 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/arch/arm/boot/dts/ti/omap/ |
H A D | dra7.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ 8 #include <dt-bindings/bus/ti-sysc.h> 9 #include <dt-bindings/clock/dra7.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/pinctrl/dra.h> 12 #include <dt-bindings/clock/dra7.h> 17 #address-cells = <2>; 18 #size-cells = <2>; 21 interrupt-parent = <&crossbar_mpu>; [all …]
|
/openbmc/linux/drivers/hwmon/ |
H A D | tps23861.c | 1 // SPDX-License-Identifier: GPL-2.0-only 13 #include <linux/hwmon-sysfs.h> 105 #define TEMPERATURE_LSB 652 /* 0.652 degrees Celsius */ 131 err = regmap_read(data->regmap, TEMPERATURE, ®val); in tps23861_read_temp() 135 *val = ((long)regval * TEMPERATURE_LSB) - 20000; in tps23861_read_temp() 148 err = regmap_bulk_read(data->regmap, in tps23861_read_voltage() 152 err = regmap_bulk_read(data->regmap, in tps23861_read_voltage() 173 if (data->shunt_resistor == SHUNT_RESISTOR_DEFAULT) in tps23861_read_current() 178 err = regmap_bulk_read(data->regmap, in tps23861_read_current() 196 err = regmap_write(data->regmap, POWER_ENABLE, regval); in tps23861_port_disable() [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/ |
H A D | Thermal_v1.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!----> 3 <!--################################################################################ --> 4 <!--# Redfish Schema: Thermal v1.7.3 --> 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 …]
|
H A D | Sensor_v1.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!----> 3 <!--################################################################################ --> 4 <!--# Redfish Schema: Sensor v1.10.1 --> 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/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/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/linux/drivers/net/wireless/intel/iwlegacy/ |
H A D | 4965.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 8 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 79 * Acquire il->lock before calling this function ! 83 * il4965_tx_queue_set_status - (optionally) start Tx/Cmd queue 84 * @tx_fifo_id: Tx DMA/FIFO channel (range 0-7) that the queue will feed 87 * NOTE: Acquire il->lock before calling this function ! 181 * The first queue used for block-ack aggregation is #7 (4965 only). 182 * All block-ack aggregation queues should map to Tx DMA/FIFO channel 7. 194 #define IL49_RTC_INST_SIZE (IL49_RTC_INST_UPPER_BOUND - \ [all …]
|