/openbmc/linux/Documentation/hwmon/ |
H A D | occ.rst | 1 Kernel driver occ-hwmon 12 ----------- 14 This driver supports hardware monitoring for the On-Chip Controller (OCC) 15 embedded on POWER processors. The OCC is a device that collects and aggregates 16 sensor data from the processor and the system. The OCC can provide the raw 17 sensor data as well as perform thermal and power management on the system. 20 manually if an "ibm,p8-occ-hwmon" compatible device is found under the 21 appropriate I2C bus node in the device-tree. 23 The P9 version of this driver is a client driver of the FSI-based OCC driver. 24 It will be probed automatically by the FSI-based OCC driver. [all …]
|
/openbmc/openbmc-test-automation/ipmi/ |
H A D | test_ipmi_sensor.robot | 2 Documentation Validate IPMI sensor IDs using Redfish. 25 [Documentation] Verify temperatures from IPMI sensor reading command using Redfish. 35 [Documentation] Verify temperatures from DCMI sensor reading command using Redfish. 57 ${temp_reading}= Run IPMI Standard Command dcmi get_temp_reading -N 10 63 ... Inlet air temperature case-insensitive 78 ... Evaluate abs(${ambient_temp_redfish[${index}]} - ${ipmi_temp_list[${index}]}) 85 Test Power Reading Via IPMI With Host Off 86 [Documentation] Verify power reading via IPMI with host in off state 89 Redfish Power Off stack_mode=skip 91 ${ipmi_reading}= Get IPMI Power Reading [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/ |
H A D | trivial-devices.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/trivial-devices.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Rob Herring <robh@kernel.org> 27 spi-ma [all...] |
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ |
H A D | PowerSupplyMetrics_v1.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!----> 3 <!--################################################################################ --> 4 <!--# Redfish Schema: PowerSupplyMetrics v1.1.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 …]
|
H A D | Circuit_v1.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!----> 3 <!--################################################################################ --> 4 <!--# Redfish Schema: Circuit v1.8.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 …]
|
H A D | Outlet_v1.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!----> 3 <!--################################################################################ --> 4 <!--# Redfish Schema: Outlet v1.4.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 …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ |
H A D | Circuit.v1_8_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_]*$": { 37 "description": "The available OEM-specific actions for this resource.", 38 …"longDescription": "This property shall contain the available OEM-specific actions for this resour… 46 …"longDescription": "This action shall control the state of the circuit breaker or over-current pro… 50 … "description": "The desired power state of the circuit if the breaker is reset successfully.", 51 … "longDescription": "This parameter shall contain the desired power state of the circuit." 55 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 71 "format": "uri-reference", [all …]
|
H A D | PowerSupplyMetrics.v1_1_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… 39 "description": "The available OEM-specific actions for this resource.", 40 …"longDescription": "This type shall contain the available OEM-specific actions for this resource.", 42 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 60 …iption": "The `PowerSupplyMetrics` schema contains definitions for the metrics of a power supply.", 61 …"longDescription": "This resource shall be used to represent the metrics of a power supply unit fo… [all …]
|
H A D | Outlet.v1_4_4.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… 43 …"longDescription": "This type shall contain properties that describe current sensor readings for a… 45 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 62 … "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorCurrentExcerpt" 70 …DataSourceUri` property, if present, shall reference a resource of type `Sensor` with the `Reading… 75 … "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorCurrentExcerpt" [all …]
|
H A D | Sensor.v1_10_1.json | 2 "$id": "http://redfish.dmtf.org/schemas/v1/Sensor.v1_10_1.json", 3 "$ref": "#/definitions/Sensor", 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_]*$": { 26 "#Sensor.ResetMetrics": { 29 "#Sensor.ResetToDefaults": { 34 "description": "The available OEM-specific actions for this resource.", 35 …"longDescription": "This property shall contain the available OEM-specific actions for this resour… 47 "PhysicalSensor": "The reading is acquired from a physical sensor.", [all …]
|
H A D | PowerDistributionMetrics.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… 39 "description": "The available OEM-specific actions for this resource.", 40 …"longDescription": "This type shall contain the available OEM-specific actions for this resource.", 42 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 60 …tributionMetrics` schema contains metrics of a power distribution component or unit, such as a flo… 61 …"longDescription": "This resource shall represent the metrics of a power distribution component or… [all …]
|
/openbmc/linux/drivers/hid/amd-sfh-hid/hid_descriptor/ |
H A D | amd_sfh_hid_report_desc.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 4 * Copyright 2020-2021 Advanced Micro Devices, Inc. 5 * Authors: Nehal Bakulchandra Shah <Nehal-bakulchandra.shah@amd.com> 13 // Accelerometer 3D Sensor 21 0x05, 0x20, /* HID usage page sensor */ 22 0x0A, 0x09, 0x03, /* Sensor property and sensor connection type */ 28 0x0A, 0x30, 0x08, /* Sensor property connection type intergated sel*/ 29 0x0A, 0x31, 0x08, /* Sensor property connection type attached sel */ 30 0x0A, 0x32, 0x08, /* Sensor property connection type external sel */ 33 0x0A, 0x16, 0x03, /* HID usage sensor property reporting state */ [all …]
|
/openbmc/openbmc/meta-ibm/recipes-phosphor/configuration/acx22-yaml-config/swift/ |
H A D | acx22-ipmi-hwmon-sensors.yaml | 6 xyz.openbmc_project.Sensor.Value: 21 unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS 27 xyz.openbmc_project.Sensor.Value: 42 unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS 48 xyz.openbmc_project.Sensor.Value: 63 unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS 69 xyz.openbmc_project.Sensor.Value: 84 unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS 90 xyz.openbmc_project.Sensor.Value: 97 path: /xyz/openbmc_project/sensors/power/fan_disk_power [all …]
|
/openbmc/openbmc/meta-ibm/recipes-phosphor/configuration/acx22-yaml-config/witherspoon/ |
H A D | acx22-ipmi-hwmon-sensors.yaml | 6 xyz.openbmc_project.Sensor.Value: 21 unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS 27 xyz.openbmc_project.Sensor.Value: 42 unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS 48 xyz.openbmc_project.Sensor.Value: 63 unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS 69 xyz.openbmc_project.Sensor.Value: 84 unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS 90 xyz.openbmc_project.Sensor.Value: 97 path: /xyz/openbmc_project/sensors/power/fan_disk_power [all …]
|
/openbmc/linux/drivers/hwmon/occ/ |
H A D | common.c | 1 // SPDX-License-Identifier: GPL-2.0+ 7 #include <linux/hwmon-sysfs.h> 32 /* OCC sensor type and version definitions */ 144 cmd[4] = occ->poll_cmd_data; /* data */ in occ_poll() 149 rc = occ->send_cmd(occ, cmd, sizeof(cmd), &occ->resp, sizeof(occ->resp)); in occ_poll() 151 occ->last_error = rc; in occ_poll() 152 if (occ->error_count++ > OCC_ERROR_COUNT_THRESHOLD) in occ_poll() 153 occ->error = rc; in occ_poll() 159 occ->error_count = 0; in occ_poll() 160 occ->last_error = 0; in occ_poll() [all …]
|
/openbmc/openbmc/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/configuration/olympus-nuvoton-yaml-config/ |
H A D | olympus-nuvoton-ipmi-sensors.yaml | 11 unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC 17 xyz.openbmc_project.Sensor.Value: 64 rExp: -2 69 unit: xyz.openbmc_project.Sensor.Value.Unit.Volts 71 xyz.openbmc_project.Sensor.Value: 139 23: &power 143 path: /xyz/openbmc_project/sensors/power/MB0_Pin 148 rExp: -3 153 unit: xyz.openbmc_project.Sensor.Value.Unit.Watts 155 xyz.openbmc_project.Sensor.Value: [all …]
|
/openbmc/bmcweb/redfish-core/include/utils/ |
H A D | sensor_utils.hpp | 5 #include "generated/enums/sensor.hpp" 44 return "Power"; in chassisSubNodeToString() 62 if (subNodeStr == "Power") in chassisSubNodeFromString() 99 * D-Bus inventory item associated with one or more sensors. 120 int powerSupplyEfficiencyPercent = -1; 166 if (sensorType == "power") in toReadingUnits() 202 inline sensor::ReadingType toReadingType(std::string_view sensorType) in toReadingType() 206 return sensor::ReadingType::Voltage; in toReadingType() 208 if (sensorType == "power") in toReadingType() 210 return sensor::ReadingType::Power; in toReadingType() [all …]
|
/openbmc/phosphor-host-ipmid/ |
H A D | meson.options | 3 option('boot-flag-safe-mode-support', type: 'feature', description: 'Add option to enable/disable s… 4 option('i2c-whitelist-check', type: 'feature', description: 'Add option to enable/disable i2c maste… 7 option('softoff', type: 'feature', description: 'Builds soft power off') 8 option('softoff-busname', type: 'string', value: 'xyz.openbmc_project.Ipmi.Internal.SoftPowerOff', … 9 option('softoff-objpath', type: 'string', value: '/xyz/openbmc_project/ipmi/internal/soft_power_off… 10 option('ipmi-sms-atn-ack-timeout-secs', type: 'integer', value: 3, description: 'Timeout for host t… 11 option('ipmi-host-shutdown-complete-timeout-secs', type: 'integer', value: 2700, description: 'Wait… 12 # Indicates an in-band power off or reboot request from the host 15 option('host-inband-request-dir', type: 'string', value: '/run/openbmc/', description: 'Directory t… 16 option('host-inband-request-file', type: 'string', value: 'host@%u-request', description: 'File to … [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/ |
H A D | Sensor.v1_10_1.json | 2 "$id": "http://redfish.dmtf.org/schemas/v1/Sensor.v1_10_1.json", 3 "$ref": "#/definitions/Sensor", 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_]*$": { 26 "#Sensor.ResetMetrics": { 29 "#Sensor.ResetToDefaults": { 34 "description": "The available OEM-specific actions for this resource.", 35 …"longDescription": "This property shall contain the available OEM-specific actions for this resour… 47 "PhysicalSensor": "The reading is acquired from a physical sensor.", [all …]
|
/openbmc/linux/Documentation/driver-api/media/ |
H A D | camera-sensor.rst | 1 .. SPDX-License-Identifier: GPL-2.0 3 Writing camera sensor drivers 6 CSI-2 and parallel (BT.601 and BT.656) busses 7 --------------------------------------------- 9 Please see :ref:`transmitter-receiver`. 12 --------------- 23 elsewhere. Therefore only the pre-determined frequencies are configurable by the 29 Read the ``clock-frequency`` _DSD property to denote the frequency. The driver 35 The currently preferred way to achieve this is using ``assigned-clocks``, 36 ``assigned-clock-parents`` and ``assigned-clock-rates`` properties. See [all …]
|
/openbmc/linux/drivers/hwmon/ |
H A D | scpi-hwmon.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * System Control and Power Interface(SCPI) based hwmon sensor driver 45 [POWER] = 1000000, /* (microwatts) */ 53 [POWER] = 1000000, /* (microwatts) */ 57 static void scpi_scale_reading(u64 *value, struct sensor_data *sensor) in scpi_scale_reading() argument 59 if (scpi_scale[sensor->info.class] != sensor->scale) { in scpi_scale_reading() 60 *value *= scpi_scale[sensor->info.class]; in scpi_scale_reading() 61 do_div(*value, sensor->scale); in scpi_scale_reading() 68 struct scpi_sensors *scpi_sensors = zone->scpi_sensors; in scpi_read_temp() 69 struct scpi_ops *scpi_ops = scpi_sensors->scpi_ops; in scpi_read_temp() [all …]
|
/openbmc/phosphor-fan-presence/presence/ |
H A D | anyof.hpp | 25 * The any of redundancy policy monitors all sensor 27 * sensor in the set reports true. 42 * @param[in] fan - The fan associated with the policy. 43 * @param[in] s - The set of sensors associated with the policy. 44 * @param[in] e - EEPROM device instance 53 * @param[in] fan - The fan associated with the policy. 54 * @param[in] s - The set of sensors associated with the policy. 67 * @param[in] present - The new presence state according 68 * to the specified sensor. 69 * @param[in] sensor - The sensor reporting the new state. [all …]
|
/openbmc/phosphor-fan-presence/ |
H A D | meson.options | 7 'json-config', type: 'feature', value: 'enabled', 12 'machine-name', type: 'string', value: '', 19 'control-service', type: 'feature', value: 'enabled', 24 'json-control', type: 'feature', value: 'enabled', 26 (using json-control=disabled) when json-config is enabled. 27 If json-control=enabled and json-config=disabled it will 32 'control-persist-root-path', type: 'string', value: '/var/lib/phosphor-fan-presence/control', 37 'fan-def-yaml-file', type: 'string', value: 'example/fans.yaml', 41 'fan-zone-yaml-file', type: 'string', value: 'example/zones.yaml', 45 'zone-events-yaml-file', type: 'string', value: 'example/events.yaml', [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/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Sensor/ |
H A D | Value.interface.yaml | 2 Implement to provide sensor readings. Objects implementing Sensor.Value 4 namespace. The following sensor hierarchies are recognized: 12 power 18 Any service implementing Sensor.Value on one or more objects must implement 21 All Sensor.Value properties are read-only. 24 - name: Value 27 The sensor reading. 28 - name: MaxValue 32 The Maximum supported sensor reading. 33 - name: MinValue [all …]
|