/openbmc/openbmc/meta-ibm/recipes-phosphor/packagegroups/ |
H A D | packagegroup-obmc-apps.bbappend | 2 phosphor-power-monitor \ 3 phosphor-power-systemd-links-monitor \ 4 phosphor-power-sequencer \ 5 phosphor-power-systemd-links-sequencer \ 6 phosphor-power-utils \ 7 phosphor-power \ 12 phosphor-power-control \ 13 phosphor-power-utils \ 14 phosphor-power \ 15 phosphor-power-regulators \ [all …]
|
/openbmc/linux/Documentation/power/ |
H A D | charger-manager.rst | 2 Charger Manager 7 Charger Manager provides in-kernel battery charger management that 8 requires temperature monitoring during suspend-to-RAM state 12 Charger Manager is a platform_driver with power-supply-class entries. 13 An instance of Charger Manager (a platform-device created with Charger-Manager) 16 the system may need multiple instances of Charger Manager. 21 Charger Manager supports the following: 24 A system may have multiple chargers (or power sources) and some of 26 own power-supply-class and each power-supply-class can provide 28 aggregates charger-related information from multiple sources and [all …]
|
/openbmc/linux/arch/arm/mach-pxa/ |
H A D | pxa2xx-regs.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * arch/arm/mach-pxa/include/mach/pxa2xx-regs.h 5 * Taken from pxa-regs.h by Russell King 14 #include "pxa-regs.h" 17 * Power Manager 20 #define PMCR __REG(0x40F00000) /* Power Manager Control Register */ 21 #define PSSR __REG(0x40F00004) /* Power Manager Sleep Status Register */ 22 #define PSPR __REG(0x40F00008) /* Power Manager Scratch Pad Register */ 23 #define PWER __REG(0x40F0000C) /* Power Manager Wake-up Enable Register */ 24 #define PRER __REG(0x40F00010) /* Power Manager GPIO Rising-Edge Detect Enable Register */ [all …]
|
H A D | pxa3xx-regs.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * arch/arm/mach-pxa/include/mach/pxa3xx-regs.h 13 #include "pxa-regs.h" 24 * Service Power Management Unit (MPMU) 26 #define PMCR __REG(0x40F50000) /* Power Manager Control Register */ 27 #define PSR __REG(0x40F50004) /* Power Manager S2 Status Register */ 28 #define PSPR __REG(0x40F50008) /* Power Manager Scratch Pad Register */ 29 #define PCFR __REG(0x40F5000C) /* Power Manager General Configuration Register */ 30 #define PWER __REG(0x40F50010) /* Power Manager Wake-up Enable Register */ 31 #define PWSR __REG(0x40F50014) /* Power Manager Wake-up Status Register */ [all …]
|
/openbmc/docs/designs/ |
H A D | power-recovery.md | 1 # OpenBMC Server Power Recovery 11 Modern computer systems have a feature, automated power-on recovery, which in 13 power to the system. If the system had a black out (i.e. power was completely 14 cut to the system), should it automatically power the system on? Should it leave 16 at before the power loss. 18 There are also instances where the user may not want automatic power recovery to 19 occur. For example, some systems have op-panels, and on these op-panels there 22 situations, the user may wish for the system to not automatically power on the 26 run once the power is restored. For example, IBM requires all LED's be toggled 30 A brownout is another scenario that commonly utilizes automated power-on [all …]
|
H A D | physical-topology.md | 11 Complex systems may contain many inventory objects (such as chassis, power 14 power supplies, connect to cables, and be cooled by fans. OpenBMC does not 27 Changes to phosphor-dbus-interfaces documenting new Associations have been 28 [proposed](https://gerrit.openbmc.org/c/openbmc/phosphor-dbus-interfaces/+/46806) 37 - Must represent one-to-many relationships from chassis inventory objects which: 38 - Connect to cables 39 - Contain other chassis and/or are contained by a chassis 40 - Contain storage drives 41 - Are cooled by fans 42 - Are powered by power supplies [all …]
|
/openbmc/phosphor-state-manager/ |
H A D | discover_system_state.cpp | 7 #include "xyz/openbmc_project/Control/Power/RestorePolicy/server.hpp" 10 #include <systemd/sd-bus.h> 12 #include <phosphor-logging/elog-errors.hpp> 13 #include <phosphor-logging/lg2.hpp> 29 namespace manager namespace 36 using namespace sdbusplus::server::xyz::openbmc_project::control::power; 40 } // namespace manager 55 while ((arg = getopt_long(argc, argv, "h:", longOpts, &optIndex)) != -1) in main() 77 using namespace phosphor::state::manager; in main() 80 // This application is only run if chassis power is off in main() [all …]
|
H A D | README.md | 1 # Phosphor State Manager Documentation 6 phosphor-state-manager (PSM) software is its support for requests to power on 9 This software also enforces any restore policy (i.e. auto power on system after 10 a system power event or bmc reset) and ensures its states are updated correctly 15 basic command line support to query and control phosphor-state-manager 17 OpenBMC system and utilizes D-Bus APIs. These D-Bus APIs are used for 21 phosphor-state-manager are D-Bus interfaces. These interfaces are then used by 27 phosphor-state-manager makes extensive use of systemd. There is a writeup 30 phosphor-state-manager monitors for systemd targets to complete as a trigger to 31 updating the its corresponding D-Bus property. When using PSM, a user must [all …]
|
/openbmc/docs/ |
H A D | features.md | 5 - [BMCWeb][] HTTP/Web server 6 - [WebUI Vue][] web application 7 - REST Management: [BMCWeb Redfish][], [Phosphor REST APIs][] includes [Host 9 - [D-Bus interfaces][] describes internal interfaces 10 - [D-Bus Object Mapper][] 11 - [Remote KVM][] 12 - [IPMI in band][] and [IPMI out of band][] 13 - Full IPMI 2.0 Compliance with DCMI 14 - SSH based SOL: [How to use][sol how to use] 15 - Power and Cooling Management: [Phosphor Fan Control][] [all …]
|
/openbmc/linux/drivers/usb/typec/tcpm/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 4 tristate "USB Type-C Port Controller Manager" 9 The Type-C Port Controller Manager provides a USB PD and USB Type-C 10 state machine for use with Type-C Port Controllers. 15 tristate "Type-C Port Controller Interface driver" 19 Type-C Port Controller driver for TCPCI-compliant controller. 24 tristate "Richtek RT1711H Type-C chip driver" 26 Richtek RT1711H Type-C chip driver that works with 27 Type-C Port Controller Manager to provide USB PD and USB 28 Type-C functionalities. [all …]
|
/openbmc/phosphor-host-ipmid/ |
H A D | host-cmd-manager.hpp | 3 #include <ipmid-host/cmd-utils.hpp> 21 class Manager class 24 Manager() = delete; 25 ~Manager() = default; 26 Manager(const Manager&) = delete; 27 Manager& operator=(const Manager&) = delete; 28 Manager(Manager&&) = delete; 29 Manager& operator=(Manager&&) = delete; 31 /** @brief Constructs Manager object 33 * @param[in] bus - dbus handler [all …]
|
/openbmc/phosphor-power/phosphor-regulators/src/ |
H A D | manager.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 17 #include "manager.hpp" 37 namespace phosphor::power::regulators namespace 42 constexpr auto busName = "xyz.openbmc_project.Power.Regulators"; 43 constexpr auto managerObjPath = "/xyz/openbmc_project/power/regulators/manager"; 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() function in phosphor::power::regulators::Manager 73 phaseFaultTimer{event, std::bind(&Manager::phaseFaultTimerExpired, this)}, [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/soc/qcom/ |
H A D | qcom,spm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm Subsystem Power Manager 10 - Andy Gross <agross@kernel.org> 11 - Bjorn Andersson <bjorn.andersson@linaro.org> 14 This binding describes the Qualcomm Subsystem Power Manager, used to control 20 - enum: 21 - qcom,sdm660-gold-saw2-v4.1-l2 22 - qcom,sdm660-silver-saw2-v4.1-l2 [all …]
|
/openbmc/linux/drivers/soc/ti/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 12 tristate "Keystone Queue Manager Sub System" 16 Manager support. The Queue Manager is a hardware module that 18 Packets are queued/de-queued by writing/reading descriptor address 19 to a particular memory mapped location in the Queue Manager module. 29 Queue Manager Sub System. 34 tristate "AMx3 Power Management" 38 Enable power management on AM335x and AM437x. Required for suspend to mem 40 c-states on AM335x. Also required for rtc and ddr in self-refresh low 41 power mode on AM437x platforms. [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-fpga-manager | 5 Description: Name of low level fpga manager driver. 11 Description: Read fpga manager state as a string. 18 This is a superset of FPGA states and fpga manager driver 19 states. The fpga manager driver is walking through these steps 25 * power off = FPGA power is off 26 * power up = FPGA reports power is up 42 Description: Read fpga manager status as a string. 49 * reconfig operation error - invalid operations detected by 53 * reconfig CRC error - CRC error detected by 55 * reconfig incompatible image - reconfiguration image is [all …]
|
/openbmc/linux/drivers/soc/qcom/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 15 the low-power state for resources related to the remoteproc 26 resource on a RPM-hardened platform must use this database to get 30 tristate "QCOM Core Power Reduction (CPR) support" 43 be called qcom-cpr 87 allocate memory from OCMEM based on performance, latency and power 110 Say yes here to support USB-C and battery status on modern Qualcomm 133 purpose of exchanging sector-data between the remote filesystem 142 The RPM Master sleep stats driver provides detailed per-subsystem 144 assess whether all the low-power modes available are entered as [all …]
|
/openbmc/phosphor-power/phosphor-power-supply/ |
H A D | psu_manager.hpp | 7 #include <phosphor-logging/log.hpp> 9 #include <sdbusplus/server/manager.hpp> 22 using namespace phosphor::power::psu; 25 namespace phosphor::power::manager namespace 33 // Validation timeout. Allow 30s to detect if new EM interfaces show up in D-Bus 54 * This class will create an object used to manage and monitor a list of power 68 * Constructor to read configuration from D-Bus. 70 * @param[in] bus - D-Bus bus object 71 * @param[in] e - event object 76 * Get PSU properties from D-Bus, use that to build a power supply [all …]
|
/openbmc/openbmc/meta-asrock/conf/machine/include/ |
H A D | asrock.inc | 2 obmc-host-ipmi \ 5 VIRTUAL-RUNTIME_obmc-inventory-manager = "entity-manager" 6 PREFERRED_PROVIDER_virtual/obmc-inventory-data = "entity-manager" 8 VIRTUAL-RUNTIME_obmc-sensors-hwmon ?= "dbus-sensors" 10 VIRTUAL-RUNTIME_obmc-host-state-manager ?= "x86-power-control" 11 VIRTUAL-RUNTIME_obmc-chassis-state-manager ?= "x86-power-control" 13 PREFERRED_PROVIDER_virtual/obmc-chassis-mgmt = "packagegroup-asrock-apps" 14 PREFERRED_PROVIDER_virtual/obmc-fan-mgmt = "packagegroup-asrock-apps" 15 PREFERRED_PROVIDER_virtual/obmc-flash-mgmt = "packagegroup-asrock-apps" 16 PREFERRED_PROVIDER_virtual/obmc-system-mgmt = "packagegroup-asrock-apps" [all …]
|
/openbmc/openbmc/meta-tyan/conf/machine/include/ |
H A D | tyan.inc | 2 obmc-bmc-state-mgmt \ 3 obmc-chassis-state-mgmt \ 4 obmc-host-ipmi \ 5 obmc-host-state-mgmt \ 6 obmc-phosphor-chassis-mgmt \ 7 obmc-phosphor-fan-mgmt \ 8 obmc-phosphor-flash-mgmt \ 11 VIRTUAL-RUNTIME_obmc-inventory-manager = "entity-manager" 12 PREFERRED_PROVIDER_virtual/obmc-inventory-data = "entity-manager" 14 VIRTUAL-RUNTIME_obmc-host-state-manager ?= "x86-power-control" [all …]
|
/openbmc/linux/Documentation/driver-api/ |
H A D | slimbus.rst | 9 ---------------- 10 SLIMbus (Serial Low Power Interchip Media Bus) is a specification developed by 12 configuration, and is a 2-wire multi-drop implementation (clock, and data). 15 (System-on-Chip) and peripheral components (typically codec). SLIMbus uses 16 Time-Division-Multiplexing to accommodate multiple data channels, and 24 A data channel is used for data-transfer between 2 SLIMbus devices. Data 28 --------------------- 31 A manager device is responsible for enumeration, configuration, and dynamic 32 channel allocation. Every bus has 1 active manager. 36 Framer device is responsible for clocking the bus, and transmitting frame-sync [all …]
|
/openbmc/openbmc/meta-facebook/meta-yosemite4/recipes-phosphor/state/phosphor-state-manager/ |
H A D | host-poweron-failure | 4 # shellcheck source=meta-facebook/meta-yosemite4/recipes-phosphor/state/phosphor-state-manager/powe… 5 source /usr/libexec/phosphor-state-manager/power-cmd 7 # Handle host power state for chassis poweron failure. 10 IO_EXP_SLOT_PWR_STATUS=$((CHASSIS_ID - 1)) 12 GPIOCHIP_IO_EXP_HOST_POWER_STATUS=$(basename "/sys/bus/i2c/devices/$IO_EXP_SLOT_PWR_STATUS-0023/"*g… 17 # Stop obmc-host-startmin@{}.target to avoid chassis-state-manager to set power state to On. 18 /bin/systemctl stop obmc-host-startmin@"${CHASSIS_ID}".target 20 # Set host power state to Off. 21 …/bin/sh -c "busctl set-property $(mapper get-service /xyz/openbmc_project/state/host"${CHASSIS_ID}…
|
H A D | chassis-poweron-failure | 4 # shellcheck source=meta-facebook/meta-yosemite4/recipes-phosphor/state/phosphor-state-manager/powe… 5 source /usr/libexec/phosphor-state-manager/power-cmd 6 # shellcheck source=meta-facebook/meta-yosemite4/recipes-yosemite4/plat-tool/files/yosemite4-common… 7 source /usr/libexec/yosemite4-common-functions 9 # Handle chassis and host power state for chassis poweron failure. 12 IO_EXP_SLOT_PWR_STATUS=$((CHASSIS_ID - 1)) 14 GPIOCHIP_IO_EXP_SLOT_PWR_CTRL=$(basename "/sys/bus/i2c/devices/$SPIDER_BOARD_IO_EXP_BUS_NUM-00$IO_E… 19 # Stop obmc-chassis-poweron.target to avoid chassis-state-manager to set power state to On. 20 /bin/systemctl stop obmc-chassis-poweron@"${CHASSIS_ID}".target 22 # Set chassis power state to Off. [all …]
|
/openbmc/linux/include/linux/power/ |
H A D | charger-manager.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 6 * Charger Manager. 8 * monitor charging even in the context of suspend-to-RAM with 54 * @cm: the Charger Manager representing the battery. 62 /* The charger-manager use Extcon framework */ 72 * Set min/max current of regulator to protect over-current issue 86 * Set if the charger-manager cannot control charger, 126 * @psy_name: the name of power-supply-class for charger manager 141 * charger manager will monitor battery health 144 * @psy_charger_stat: the names of power-supply for chargers [all …]
|
/openbmc/openbmc/meta-phosphor/recipes-phosphor/state/ |
H A D | phosphor-state-manager_git.bb | 2 DESCRIPTION = "Phosphor State Manager provides a set of system state \ 5 HOMEPAGE = "https://github.com/openbmc/phosphor-state-manager" 8 LICENSE = "Apache-2.0" 11 include phosphor-state-manager-systemd-links.inc 14 ${PN}-host \ 15 ${PN}-chassis \ 16 ${PN}-bmc \ 17 ${PN}-hypervisor \ 18 ${PN}-discover \ 19 ${PN}-host-check \ [all …]
|
/openbmc/openbmc/meta-quanta/meta-s6q/conf/machine/ |
H A D | s6q.conf | 2 KERNEL_DEVICETREE = "aspeed/${KMACHINE}-bmc-quanta-${MACHINE}.dtb" 5 UBOOT_DEVICETREE = "ast2600a1-evb" 8 require conf/machine/include/obmc-bsp-common.inc 13 obmc-bmc-state-mgmt \ 14 obmc-chassis-state-mgmt \ 15 obmc-host-ipmi \ 16 obmc-host-state-mgmt \ 17 obmc-phosphor-chassis-mgmt \ 18 obmc-phosphor-fan-mgmt \ 19 obmc-phosphor-flash-mgmt \ [all …]
|