/openbmc/phosphor-power/phosphor-regulators/docs/ |
H A D | design.md | 3 This document describes the high-level design of the `phosphor-regulators` 6 The low-level design is documented using doxygen comments in the source files. 13 The `phosphor-regulators` application is a single-threaded C++ executable. It is 17 The application is driven by a system-specific JSON configuration file. The JSON 24 - Manager 25 - Top level class created in `main()`. 26 - Loads the JSON configuration file. 27 - Implements the D-Bus `configure` and `monitor` methods. 28 - Contains a System object. 29 - System [all …]
|
/openbmc/openpower-vpd-parser/configuration/ibm/ |
H A D | 50003000.json | 2 "devTree": "conf-aspeed-bmc-ibm-everest.dtb", 33 "holdidlepath": "/sys/bus/i2c/drivers/pca954x/4-0070/hold_idle" 38 "holdidlepath": "/sys/bus/i2c/drivers/pca954x/5-0070/hold_idle" 43 "holdidlepath": "/sys/bus/i2c/drivers/pca954x/6-007 3049 "Bus": 16, global() number 3157 "Bus": 17, global() number 3267 "Bus": 18, global() number 3377 "Bus": 19, global() number 3487 "Bus": 20, global() number 3585 "Bus": 21, global() number 3661 "Bus": 22, global() number 3771 "Bus": 23, global() number 3865 "Bus": 24, global() number 3941 "Bus": 25, global() number 4051 "Bus": 26, global() number [all...] |
H A D | 50003000_v2.json | 2 "devTree": "conf-aspeed-bmc-ibm-everest.dtb", 33 "holdidlepath": "/sys/bus/i2c/drivers/pca954x/4-0070/hold_idle" 38 "holdidlepath": "/sys/bus/i2c/drivers/pca954x/5-0070/hold_idle" 43 "holdidlepath": "/sys/bus/i2c/drivers/pca954x/6-007 2921 "Bus": 16, global() number 3029 "Bus": 17, global() number 3139 "Bus": 18, global() number 3249 "Bus": 19, global() number 3359 "Bus": 20, global() number 3457 "Bus": 21, global() number 3533 "Bus": 22, global() number 3643 "Bus": 23, global() number 3741 "Bus": 24, global() number 3817 "Bus": 25, global() number 3927 "Bus": 26, global() number [all...] |
H A D | 50001001_v2.json | 2 "devTree": "conf-aspeed-bmc-ibm-rainier.dtb", 33 "holdidlepath": "/sys/bus/i2c/drivers/pca954x/4-0070/hold_idle" 38 "holdidlepath": "/sys/bus/i2c/drivers/pca954x/5-0070/hold_idle" 43 "holdidlepath": "/sys/bus/i2c/drivers/pca954x/6-007 1803 "Bus": 20, global() number 1913 "Bus": 23, global() number 2023 "Bus": 24, global() number 2133 "Bus": 29, global() number 2299 "Bus": 22, global() number 2420 "Bus": 26, global() number 2484 "Bus": 27, global() number 2549 "Bus": 30, global() number 2681 "Bus": 21, global() number 2746 "Bus": 28, global() number [all...] |
H A D | 50001001.json | 2 "devTree": "conf-aspeed-bmc-ibm-rainier-p1.dtb", 30 "/sys/bus/i2c/drivers/at24/8-0050/eeprom": [ 32 "inventoryPath": "/xyz/openbmc_project/inventory/system/chassis/motherboard", 38 "LocationCode": "Ufcs-P0" 41 "PrettyName": "System backplan 1777 "Bus": 4, global() number 1883 "Bus": 5, global() number 1989 "Bus": 5, global() number 2095 "Bus": 11, global() number 2257 "Bus": 4, global() number 2370 "Bus": 6, global() number 2430 "Bus": 6, global() number 2491 "Bus": 11, global() number 2619 "Bus": 4, global() number 2680 "Bus": 6, global() number [all...] |
H A D | 50001000_v2.json | 2 "devTree": "conf-aspeed-bmc-ibm-rainier-4u.dtb", 33 "holdidlepath": "/sys/bus/i2c/drivers/pca954x/4-0070/hold_idle" 38 "holdidlepath": "/sys/bus/i2c/drivers/pca954x/5-0070/hold_idle" 43 "holdidlepath": "/sys/bus/i2c/drivers/pca954x/6-0070/hold_idle" 48 "holdidlepath": "/sys/bus/i2c/drivers/pca954x/11-0070/hold_idle" 52 "/sys/bus/i2c/drivers/at24/8-0050/eeprom": [ 54 "inventoryPath": "/xyz/openbmc_project/inventory/system/chassis/motherboard", 60 "LocationCode": "Ufcs-P0" 63 "PrettyName": "System backplane" 68 "inventoryPath": "/xyz/openbmc_project/inventory/system/chassis/motherboard/unit0", [all …]
|
H A D | 50001000.json | 2 "devTree": "conf-aspeed-bmc-ibm-rainier-4u-p1.dtb", 30 "/sys/bus/i2c/drivers/at24/8-0050/eeprom": [ 32 "inventoryPath": "/xyz/openbmc_project/inventory/system/chassis/motherboard", 38 "LocationCode": "Ufcs-P0" 41 "PrettyName": "System backplane" 46 "inventoryPath": "/xyz/openbmc_project/inventory/system/chassis/motherboard/unit0", 56 "inventoryPath": "/xyz/openbmc_project/inventory/system", 62 "xyz.openbmc_project.Inventory.Item.System": null, 81 "PrettyName": "System" 86 "inventoryPath": "/xyz/openbmc_project/inventory/system/chassis", [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/bus/ |
H A D | socionext,uniphier-system-bus.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/bus/socionext,uniphier-system-bus.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: UniPhier System Bus 10 The UniPhier System Bus is an external bus that connects on-board devices to 11 the UniPhier SoC. It is a simple (semi-)parallel bus with address, data, and 14 Before any access to the bus, the bus controller must be configured; the bus 16 within each bank to the CPU-viewed address. The needed setup includes the 18 be optimized for faster bus access. [all …]
|
/openbmc/qemu/docs/system/devices/ |
H A D | can.rst | 1 CAN Bus Emulation Support 3 The CAN bus emulation provides mechanism to connect multiple 6 can be connected to host system CAN API (at this time only Linux 22 open-source/design/hardware solution. The core designer 34 ---------------------------------------------------------- 38 (1) CAN bus Kvaser PCI CAN-S (single SJA1000 channel) board. QEMU startup options:: 40 -object can-bus,id=canbus0 41 -device kvaser_pci,canbus=canbus0 43 Add "can-host-socketcan" object to connect device to host system CAN bus:: 45 -object can-host-socketcan,id=canhost0,if=can0,canbus=canbus0 [all …]
|
/openbmc/phosphor-power/ |
H A D | compatible_system_types_finder.hpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 21 #include <sdbusplus/bus.hpp> 34 * Class that finds the compatible system types for the current system. 36 * The compatible system types are in a list ordered from most to least 40 * - com.acme.Hardware.Chassis.Model.MegaServer4CPU 41 * - com.acme.Hardware.Chassis.Model.MegaServer 42 * - com.acme.Hardware.Chassis.Model.Server 44 * When a list of compatible system types is found, the callback function 46 * multiple times if multiple lists of compatible system types are found. 51 // Specify which compiler-generated methods we want [all …]
|
/openbmc/phosphor-power/phosphor-regulators/src/ |
H A D | manager.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 53 * Default configuration file name. This is used when the system does not 54 * implement the D-Bus compatible interface. 62 const fs::path standardConfigFileDir{"/usr/share/phosphor-regulators"}; 68 const fs::path testConfigFileDir{"/etc/phosphor-regulators"}; 70 Manager::Manager(sdbusplus::bus_t& bus, const sdeventplus::Event& event) : in Manager() argument 71 ManagerObject{bus, managerObjPath}, bus{bus}, eventLoop{event}, in Manager() 72 services{bus}, 76 // Create object to find compatible system types for current system. 79 bus, std::bind_front(&Manager::compatibleSystemTypesFound, this)); [all …]
|
H A D | manager.hpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 20 #include "system.hpp" 23 #include <sdbusplus/bus.hpp> 56 * @param bus the D-Bus bus 59 Manager(sdbusplus::bus_t& bus, const sdeventplus::Event& event); 62 * Implements the D-Bus "configure" method. 64 * Configures all the voltage regulators in the system. 66 * This method should be called when the system is being powered on. It 72 * Implements the D-Bus "monitor" method. 77 * - regulator sensors will be read and published on D-Bus [all …]
|
H A D | error_logging.hpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 24 #include <sdbusplus/bus.hpp> 49 // Specify which compiler-generated methods we want 64 * @param journal system journal 70 * Log a D-Bus error. 72 * This error is logged when D-Bus communication fails. 75 * @param journal system journal 83 * @param journal system journal 84 * @param bus I2C bus in the form "/dev/i2c-X", where X is the 0-based bus 90 const std::string& bus, uint8_t addr, [all …]
|
/openbmc/docs/designs/ |
H A D | boot-progress.md | 1 # System Boot Progress on OpenBMC 11 The boot progress of an OpenBMC managed system is complex. There are a mix of 12 phosphor D-Bus properties, IPMI sensors, PLDM sensors, and Redfish properties to 14 entities and provide a base for system implementors on what to implement. 18 [phosphor-state-manager][1] implements D-Bus properties which track the state of 28 phosphor-state-manager implements some other D-Bus properties that represent the 31 - [xyz.openbmc_project.State.Boot.Progress][3] 32 - [xyz.openbmc_project.State.OperatingSystem.Status][4] 34 These two D-Bus properties are very IPMI-centric. They were defined based on two 35 IPMI sensors which are set by the host firmware as it boots the system. [all …]
|
/openbmc/phosphor-host-ipmid/libipmid/ |
H A D | utils.cpp | 4 #include <linux/i2c-dev.h> 12 #include <phosphor-logging/elog-errors.hpp> 13 #include <phosphor-logging/lg2.hpp> 30 * @param[in] ipaddress - IPAddress. 43 getDbusObject(sdbusplus::bus_t& bus, const std::string& interface, in getDbusObject() argument 49 ObjectTree objectTree = getSubTree(bus, interfaces, serviceRoot); in getDbusObject() 63 objectTree.begin()->first, in getDbusObject() 64 std::move(objectTree.begin()->second.begin()->first)); in getDbusObject() 82 return make_pair(found->first, std::move(found->second.begin()->first)); in getDbusObject() 85 Value getDbusProperty(sdbusplus::bus_t& bus, const std::string& service, in getDbusProperty() argument [all …]
|
/openbmc/linux/drivers/eisa/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 13 The Extended Industry Standard Architecture (EISA) bus was 14 developed as an open alternative to the IBM MicroChannel bus. 16 The EISA bus provided some of the features of the IBM MicroChannel 17 bus while maintaining backward compatibility with cards made for 18 the older ISA bus. The EISA bus saw limited use between 1988 and 19 1995 when it was made obsolete by the PCI bus. 21 Say Y here if you are building a kernel for an EISA-based machine. 26 bool "Vesa Local Bus priming" 30 Activate this option if your system contains a Vesa Local [all …]
|
H A D | eisa.ids | 6 # Marc Zyngier <maz@wild-wind.fr.eu.org> 10 ABP0510 "Advansys ABP-510 ISA SCSI Host Adapter" 11 ABP0540 "Advansys ABP-540/542 ISA SCSI Host Adapter" 12 ABP7401 "AdvanSys ABP-740/742 EISA Single Channel SCSI Host Adapter" 13 ABP7501 "AdvanSys ABP-750/752 EISA Dual Channel SCSI Host Adapter" 14 ACC1200 "ACCTON EtherCombo-32 Ethernet Adapter" 15 ACC120A "ACCTON EtherCombo-32 Ethernet Adapter" 18 ACE1010 "ACME Super Fast System Board" 25 ACE7010 "ACME Multi-Function Board" 26 ACR1201 "Acer 1200 486/25 EISA System Board" [all …]
|
/openbmc/phosphor-power/phosphor-regulators/config_files/ |
H A D | Rainier.json | 3 "phosphor-regulators configuration file for IBM Rainier systems" 106 "asserts at the roll-over bug identified in the", 128 "Set VOUT_MODE to exponent of -9 for VDD regulator", 475 "exponent": -8 488 "exponent": -8 624 "Rule to determine if the current system is a 2S4U/2S2U.", 625 "2S systems have more regulators on the Nisqually system", 626 "planar than 1S systems. Must return true if system is a", 627 "2S4U/2S2U and false if system is a 1S4U." 634 "system planar has the value for 2S4U or 2S2U" [all …]
|
H A D | BlueRidge.json | 3 "phosphor-regulators configuration file for IBM BlueRidge systems" 106 "asserts at the roll-over bug identified in the", 128 "Set VOUT_MODE to exponent of -9 for VDD regulator", 475 "exponent": -8 488 "exponent": -8 624 "Rule to determine if the current system is a 2S4U/2S2U.", 625 "2S systems have more regulators on the Nisqually system", 626 "planar than 1S systems. Must return true if system is a", 627 "2S4U/2S2U and false if system is a 1S4U." 634 "system planar has the value for 2S4U or 2S2U" [all …]
|
/openbmc/linux/Documentation/driver-api/gpio/ |
H A D | drivers-on-gpio.rst | 6 the right in-kernel and userspace APIs/ABIs for the job, and that these 10 - leds-gpio: drivers/leds/leds-gpio.c will handle LEDs connected to GPIO 13 - ledtrig-gpio: drivers/leds/trigger/ledtrig-gpio.c will provide a LED trigger, 15 (and that LED may in turn use the leds-gpio as per above). 17 - gpio-keys: drivers/input/keyboard/gpio_keys.c is used when your GPIO line 20 - gpio-keys-polled: drivers/input/keyboard/gpio_keys_polled.c is used when your 24 - gpio_mouse: drivers/input/mouse/gpio_mouse.c is used to provide a mouse with 29 - gpio-beeper: drivers/input/misc/gpio-beeper.c is used to provide a beep from 32 - extcon-gpio: drivers/extcon/extcon-gpio.c is used when you need to read an 36 - restart-gpio: drivers/power/reset/gpio-restart.c is used to restart/reboot [all …]
|
/openbmc/phosphor-host-ipmid/include/ipmid/ |
H A D | utils.hpp | 3 #include <boost/system/error_code.hpp> 4 #include <ipmid/api-types.hpp> 32 * than the default 25s D-Bus timeout. */ 49 * @param[in] intf - The interface used for each lookup 50 * @param[in] path - The path used for each lookup 58 * @param[in] bus - The bus associated with and used for looking 61 const std::string& getService(sdbusplus::bus_t& bus); 66 /** @brief A wrapper around sdbusplus bus.new_method_call 68 * @param[in] bus - The bus used for calling the method 69 * @param[in] intf - The interface containing the method [all …]
|
/openbmc/skeleton/pysystemmgr/ |
H A D | system_manager.py | 14 import obmc_system_config as System namespace 16 import obmc.system 18 DBUS_NAME = "org.openbmc.managers.System" 19 OBJ_NAME = "/org/openbmc/managers/System" 24 def __init__(self, bus, obj_name): argument 25 super(SystemManager, self).__init__(conn=bus, object_path=obj_name) 26 self.bus = bus 29 for category in System.ID_LOOKUP: 30 for key in System.ID_LOOKUP[category]: 31 val = System.ID_LOOKUP[category][key] [all …]
|
/openbmc/linux/arch/sparc/include/asm/ |
H A D | chafsr.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 * ch --> cheetah 10 * ch+ --> cheetah plus 11 * jp --> jalapeno 15 * read, write 1 to clear. M_SYNDROME and E_SYNDROME are read-only. 23 /* Unmapped error from system bus for prefetch queue or 28 /* Bus error from system bus for prefetch queue or store queue 33 /* Hardware corrected E-cache Tag ECC error */ 35 /* System interface protocol error, hw timeout caused */ 38 /* SW handled correctable E-cache Tag ECC error */ [all …]
|
/openbmc/witherspoon-pfault-analysis/power-sequencer/example/ |
H A D | ucd90160.yaml | 1 - Device: 3 # Linux sysfs path for this power sequencer (0xC8 8-bit address) 4 path: /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a400.i2c-bus/i2c-11/11-0064 6 - "5.0VCS" 7 - "12.0V" 8 - "3.3V" 9 - "1.8V" 10 - "1.1V" 11 - "1.0V" 12 - "0.9V" [all …]
|
/openbmc/linux/Documentation/driver-api/pm/ |
H A D | devices.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 :Copyright: |copy| 2010-2011 Rafael J. Wysocki <rjw@sisk.pl>, Novell Inc. 18 management (PM) code is also driver-specific. Most drivers will do very 22 This writeup gives an overview of how drivers interact with system-wide 25 background for the domain-specific work you'd do with any specific driver. 31 Drivers will use one or both of these models to put devices into low-power 34 System Sleep model: 36 Drivers can enter low-power states as part of entering system-wide 37 low-power states like "suspend" (also known as "suspend-to-RAM"), or 39 "suspend-to-disk"). [all …]
|