/openbmc/phosphor-pid-control/pid/ |
H A D | pidcontroller.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 33 double PIDController::calPIDOutput(double setpt, double input, in calPIDOutput() argument 39 if (info->checkHysterWithSetpt) in calPIDOutput() 41 // Over the hysteresis bounds, keep counting pid in calPIDOutput() 42 if (input > (setpt + info->positiveHysteresis)) in calPIDOutput() 45 output = ec::pid(info, input, setpt, &name); in calPIDOutput() 50 lastInput = input; in calPIDOutput() 52 // Under the hysteresis bounds, initialize pid in calPIDOutput() 53 else if (input < (setpt - info->negativeHysteresis)) in calPIDOutput() 56 info->integral = 0; in calPIDOutput() [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-iio-adc-hi8435 | 7 Could be either "GND-Open" or "Supply-Open" mode. Y is a 8 threshold detector input channel. Channels 0..7, 8..15, 16..23 16 Channel Y low voltage threshold. If sensor input voltage goes lower then 19 is separately set for "GND-Open" and "Supply-Open" modes. 24 Hysteresis between low and high thresholds can not be lower then 2 and 27 If falling threshold results hysteresis to odd value then rising 35 Channel Y high voltage threshold. If sensor input voltage goes higher then 38 is separately set for "GND-Open" and "Supply-Open" modes. 44 Hysteresis between low and high thresholds can not be lower then 2 and 47 If rising threshold results hysteresis to odd value then falling
|
H A D | sysfs-class-hwmon | 16 The contents of the label are free-form. 72 Voltage input value. 135 this voltage channel is being used for, and user-space 137 user-space. 145 When disabled the sensor read will return -ENODATA. 147 - 1: Enable 148 - 0: Disable 210 Fan input value. 237 device's input, so it has to be set in accordance with the fan 253 Only makes sense if the chip supports closed-loop fan speed [all …]
|
/openbmc/bmcweb/redfish-core/schema/oem/openbmc/json-schema/ |
H A D | OpenBMCManager.v1_0_0.json | 2 …"$id": "https://github.com/openbmc/bmcweb/tree/master/redfish-core/schema/oem/openbmc/json-schema/… 3 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 11 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 87 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 132 "description": "Input sensors to the PID controller.", 136 "longDescription": "Input sensors to the PID controller.", 141 "description": "Negative hysteresis for the controller.", 142 "longDescription": "Negative hysteresis for the controller.", 174 "description": "Positive hysteresis for the controller.", 175 "longDescription": "Positive hysteresis for the controller.", [all …]
|
/openbmc/linux/Documentation/hwmon/ |
H A D | sht3x.rst | 6 * Sensirion SHT3x-DIS 16 - David Frey <david.frey@sensirion.com> 17 - Pascal Sachs <pascal.sachs@sensirion.com> 20 ----------- 22 This driver implements support for the Sensirion SHT3x-DIS chip, a humidity 29 Documentation/i2c/instantiating-devices.rst for methods to instantiate the device. 31 Even if sht3x sensor supports clock-strech(blocking mode) and non-strench 32 (non-blocking mode) in single-shot mode, this driver only supports the latter. 51 When the temperature and humidity readings move back between the hysteresis 55 sysfs-Interface [all …]
|
H A D | adt7410.rst | 14 https://www.analog.com/static/imported-files/data_sheets/ADT7410.pdf 23 https://www.analog.com/static/imported-files/data_sheets/ADT7420.pdf 33 https://www.analog.com/static/imported-files/data_sheets/ADT7310.pdf 43 https://www.analog.com/static/imported-files/data_sheets/ADT7320.pdf 48 ----------- 51 -55°C to +150°C. It has a high accuracy of +/-0.5°C and can be operated at a 56 common hysteresis of 0°C - 15°C and a fault queue, ranging from 1 to 4 events. 57 Both pins can individually set to be active-low or active-high, while the whole 64 package, a slightly narrower operating temperature range (-40°C to +150°C), and 72 ------------------- [all …]
|
H A D | lm95245.rst | 22 Author: Alexander Stein <alexander.stein@systec-electronic.com> 25 ----------- 27 LM95235 and LM95245 are 11-bit digital temperature sensors with a 2-wire System 34 is given within a range of -127 to +127.875 degrees. Remote temperatures are 35 given within a range of -127 to +255 degrees. Resolution depends on 36 temperature input and range. 39 hysteresis value common to both critical limits. To make life easier to 40 user-space applications, two absolute values are exported, one for each 41 channel, but these values are of course linked. Only the local hysteresis 42 can be set from user-space, and the same delta applies to the remote [all …]
|
H A D | lm95234.rst | 22 Author: Guenter Roeck <linux@roeck-us.net> 25 ----------- 27 LM95233 and LM95234 are 11-bit digital temperature sensors with a 2-wire 32 graphics processors or diode-connected 2N3904s. The chip's TruTherm 37 is provided within a range of -127 to +255 degrees (+127.875 degrees for 38 the internal sensor). Resolution depends on temperature input and range. 40 Each sensor has its own maximum limit, but the hysteresis is common to all 41 channels. The hysteresis is configurable with the tem1_max_hyst attribute and 42 affects the hysteresis on all channels. The first two external sensors also
|
H A D | sysfs-interface.rst | 5 through the sysfs interface. Since lm-sensors 3.0.0, libsensors is 6 completely chip-independent. It assumes that all the kernel drivers 10 This is a major improvement compared to lm-sensors 2. 22 For this reason, even if we aim at a chip-independent libsensors, it will 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 49 "fan" (fan). Usual items are "input" (measured value), "max" (high 61 to cause an alarm) is chip-dependent. 69 ---------------- 76 ------------------------------------------------------------------------- [all …]
|
/openbmc/linux/arch/arm64/boot/dts/qcom/ |
H A D | sa8775p-pmics.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/input/input.h> 7 #include <dt-bindings/spmi/spmi.h> 10 thermal-zones { 11 pmm8654au_0_thermal: pm8775-0-thermal { 12 polling-delay-passive = <100>; 13 polling-delay = <0>; 14 thermal-sensors = <&pmm8654au_0_temp_alarm>; 19 hysteresis = <0>; 25 hysteresis = <0>; [all …]
|
H A D | pm6350.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/input/input.h> 7 #include <dt-bindings/spmi/spmi.h> 10 thermal-zones { 11 pm6350-thermal { 12 polling-delay-passive = <100>; 13 polling-delay = <0>; 15 thermal-sensors = <&pm6350_temp>; 20 hysteresis = <0>; 26 hysteresis = <0>; [all …]
|
H A D | pmm8155au_2.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/input/input.h> 7 #include <dt-bindings/interrupt-controller/irq.h> 8 #include <dt-bindings/spmi/spmi.h> 11 thermal-zones { 12 pmm8155au-2-thermal { 13 polling-delay-passive = <100>; 14 polling-delay = <0>; 16 thermal-sensors = <&pmm8155au_2_temp>; 21 hysteresis = <0>; [all …]
|
H A D | pm6125.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 3 #include <dt-bindings/iio/qcom,spmi-vadc.h> 4 #include <dt-bindings/input/input.h> 5 #include <dt-bindings/input/linux-event-codes.h> 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/spmi/spmi.h> 10 thermal-zones { 11 pm6125-thermal { 12 polling-delay-passive = <100>; 13 polling-delay = <0>; [all …]
|
H A D | pmm8155au_1.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/input/input.h> 7 #include <dt-bindings/interrupt-controller/irq.h> 8 #include <dt-bindings/spmi/spmi.h> 9 #include <dt-bindings/iio/qcom,spmi-vadc.h> 12 thermal-zones { 13 pmm8155au-1-thermal { 14 polling-delay-passive = <100>; 15 polling-delay = <0>; 17 thermal-sensors = <&pmm8155au_1_temp>; [all …]
|
H A D | pm8150.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 3 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/spmi/spmi.h> 10 #include <dt-bindings/iio/qcom,spmi-vadc.h> 13 thermal-zones { 14 pm8150-thermal { 15 polling-delay-passive = <100>; 16 polling-delay = <0>; [all …]
|
H A D | sc8280xp-pmics.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/input/input.h> 7 #include <dt-bindings/interrupt-controller/irq.h> 8 #include <dt-bindings/spmi/spmi.h> 11 thermal-zones { 12 pm8280_1_thermal: pm8280-1-thermal { 13 polling-delay-passive = <100>; 14 polling-delay = <0>; 15 thermal-sensors = <&pm8280_1_temp_alarm>; 20 hysteresis = <0>; [all …]
|
H A D | sc8180x-pmics.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 3 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. 4 * Copyright (c) 2021-2023, Linaro Limited 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/spmi/spmi.h> 10 #include <dt-bindings/iio/qcom,spmi-vadc.h> 13 thermal-zones { 14 pmc8180-thermal { 15 polling-delay-passive = <100>; [all …]
|
/openbmc/linux/arch/arm/boot/dts/samsung/ |
H A D | exynos5422-odroidxu3-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Hardkernel Odroid XU3/XU3-Lite/XU4 boards common device tree source 12 #include <dt-bindings/input/input.h> 13 #include "exynos5422-odroid-core.dtsi" 20 gpio-keys { 21 compatible = "gpio-keys"; 22 pinctrl-names = "default"; 23 pinctrl-0 = <&power_key>; 25 power-key { 36 debounce-interval = <0>; [all …]
|
H A D | exynos5420-arndale-octa.dts | 1 // SPDX-License-Identifier: GPL-2.0 9 /dts-v1/; 11 #include "exynos5420-cpus.dtsi" 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/interrupt-controller/irq.h> 14 #include <dt-bindings/input/input.h> 15 #include <dt-bindings/clock/samsung,s2mps11.h> 19 compatible = "insignal,arndale-octa", "samsung,exynos5420", "samsung,exynos5"; 32 stdout-path = "serial3:115200n8"; 36 compatible = "samsung,secure-firmware"; [all …]
|
/openbmc/bmcweb/redfish-core/schema/oem/openbmc/csdl/ |
H A D | OpenBMCManager_v1.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0"> 3 …<edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabular… 22 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="OpenBMCManager"> 32 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="OpenBMCManager.v1_0_0"> 76 <PropertyValue Property="Pattern" String="[A-Za-z0-9_.:]+"/> 89 <PropertyValue Property="Pattern" String="[A-Za-z0-9_.:]+"/> 102 <PropertyValue Property="Pattern" String="[A-Za-z0-9_.:]+"/> 115 <PropertyValue Property="Pattern" String="[A-Za-z0-9_.:]+"/> 151 <Annotation Term="OData.Description" String="Input sensors to the PID controller."/> [all …]
|
/openbmc/phosphor-pid-control/pid/ec/ |
H A D | pid.hpp | 23 bool checkHysterWithSetpt = false; // compare current input and setpoint to 24 // check hysteresis 34 double feedFwdOffset = 0.0; // offset coeff for feed-forward term 35 double feedFwdGain = 0.0; // gain for feed-forward term 45 double pid(pid_info_t* pidinfoptr, double input, double setpoint, 51 bool checkHysterWithSetpt = 0.0; // compare current input and setpoint to 52 // check hysteresis 58 double feedFwdOffset = 0.0; // offset coeff for feed-forward term 59 double feedFwdGain = 0.0; // gain for feed-forward term
|
/openbmc/linux/Documentation/devicetree/bindings/hwmon/pmbus/ |
H A D | max31785.txt | 9 - compatible : One of "maxim,max31785" or "maxim,max31785a" 10 - reg : I2C address, one of 0x52, 0x53, 0x54, 0x55. 11 - #address-cells : Must be 1 12 - #size-cells : Must be 0 13 - #thermal-sensor-cells : Should be 1. The device supports: 14 - One internal sensor 15 - Four external I2C digital sensors 16 - Six external thermal diodes 19 - use-stored-presence : Do not treat the devicetree description as canon for 27 ---- [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | rk3399-gru-kevin.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Google Gru-Kevin Rev 6+ board device tree source 5 * Copyright 2016-2017 Google, Inc 8 /dts-v1/; 9 #include "rk3399-gru-chromebook.dtsi" 10 #include <dt-bindings/input/linux-event-codes.h> 13 * Kevin-specific things 21 compatible = "google,kevin-rev15", "google,kevin-rev14", 22 "google,kevin-rev13", "google,kevin-rev12", 23 "google,kevin-rev11", "google,kevin-rev10", [all …]
|
/openbmc/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk3399-gru-kevin.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Google Gru-Kevin Rev 6+ board device tree source 5 * Copyright 2016-2017 Google, Inc 8 /dts-v1/; 9 #include "rk3399-gru-chromebook.dtsi" 10 #include <dt-bindings/input/linux-event-codes.h> 13 * Kevin-specific things 21 compatible = "google,kevin-rev15", "google,kevin-rev14", 22 "google,kevin-rev13", "google,kevin-rev12", 23 "google,kevin-rev11", "google,kevin-rev10", [all …]
|
/openbmc/linux/arch/arm64/boot/dts/marvell/ |
H A D | armada-8040-clearfog-gt-8k.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 9 #include "armada-8040.dtsi" 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/gpio/gpio.h> 16 compatible = "solidrun,clearfog-gt-8k", "marvell,armada8040", 17 "marvell,armada-ap806-quad", "marvell,armada-ap806"; 20 stdout-path = "serial0:115200n8"; 35 compatible = "pwm-fan"; 37 cooling-levels = <0 51 102 153 204 255>; 38 #cooling-cells = <2>; [all …]
|