/openbmc/linux/drivers/power/reset/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 bool "Board level reset or power off" 6 or shut it down, by manipulating the main power supply on the board. 8 Say Y here to enable board reset and power off 13 bool "ams AS3722 power-off driver" 14 depends on MFD_AS3722 16 This driver supports turning off board via a ams AS3722 power-off. 20 depends on ARCH_AT91 28 depends on ARCH_AT91 35 tristate "Atmel AT91 SAMA5D2-Compatible shutdown controller driver" [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 …]
|
/openbmc/openbmc-test-automation/redfish/extended/ |
H A D | test_power_capping.robot | 2 Documentation Energy scale power capping tests. 6 # PL Power Limit 7 # OCC On Chip Controller 34 Escale System On And PL Enabled 35 [Documentation] Change active power limit with system power on and 36 ... Power limit active. 39 Set DCMI Power Limit And Verify ${max_power} 41 Redfish Power On stack_mode=skip 43 Tool Exist opal-prd 47 ${cmd}= Set Variable /tmp/occtoolp9 -p | grep -e State: -e Sensor: [all …]
|
/openbmc/phosphor-power/phosphor-power-sequencer/docs/ |
H A D | README.md | 1 # phosphor-power-sequencer 5 The phosphor-power-sequencer application powers the chassis on/off and monitors 6 the power sequencer device. 8 If the chassis power good (pgood) status changes to false unexpectedly, the 9 application uses information from the power sequencer device to determine the 14 The application is a single-threaded C++ executable. It is a 'daemon' process 16 reaches the Ready state and before the chassis is powered on. 18 The application is driven by an optional, system-specific JSON configuration 20 creates a collection of C++ objects. These objects represent the power sequencer 23 ## Power sequencer device [all …]
|
/openbmc/linux/arch/arm64/boot/dts/apple/ |
H A D | t600x-pmgr.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 3 * PMGR Power domains for the Apple T6001 "M1 Max" SoC 9 DIE_NODE(ps_pms_bridge): power-controller@100 { 10 compatible = "apple,t6000-pmgr-pwrstate", "apple,pmgr-pwrstate"; 12 #power-domain-cells = <0>; 13 #reset-cells = <0>; 15 apple,always-on; /* Core device */ 18 DIE_NODE(ps_aic): power-controller@108 { 19 compatible = "apple,t6000-pmgr-pwrstate", "apple,pmgr-pwrstate"; 21 #power-domain-cells = <0>; [all …]
|
H A D | t8112-pmgr.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 3 * PMGR Power domains for the Apple T8112 "M2" SoC 10 ps_sbr: power-controller@100 { 11 compatible = "apple,t8112-pmgr-pwrstate", "apple,pmgr-pwrstate"; 13 #power-domain-cells = <0>; 14 #reset-cells = <0>; 16 apple,always-on; /* Core device */ 19 ps_aic: power-controller@108 { 20 compatible = "apple,t8112-pmgr-pwrstate", "apple,pmgr-pwrstate"; 22 #power-domain-cells = <0>; [all …]
|
H A D | t8103-pmgr.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 3 * PMGR Power domains for the Apple T8103 "M1" SoC 10 ps_sbr: power-controller@100 { 11 compatible = "apple,t8103-pmgr-pwrstate", "apple,pmgr-pwrstate"; 13 #power-domain-cells = <0>; 14 #reset-cells = <0>; 16 apple,always-on; /* Core device */ 19 ps_aic: power-controller@108 { 20 compatible = "apple,t8103-pmgr-pwrstate", "apple,pmgr-pwrstate"; 22 #power-domain-cells = <0>; [all …]
|
/openbmc/u-boot/drivers/power/domain/ |
H A D | Kconfig | 1 menu "Power Domain Support" 4 bool "Enable power domain support using Driver Model" 5 depends on DM && OF_CONTROL 7 Enable support for the power domain driver class. Many SoCs allow 8 power to be applied to or removed from portions of the SoC (power 9 domains). This may be used to save power. This API provides the 10 means to control such power management hardware. 13 bool "Enable the BCM6328 power domain driver" 14 depends on POWER_DOMAIN && ARCH_BMIPS 16 Enable support for manipulating BCM6345 power domains via MMIO [all …]
|
/openbmc/linux/drivers/powercap/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # Generic power capping sysfs interface configuration 9 The power capping sysfs interface allows kernel subsystems to expose power 12 power zones representing parts of the system that can be subject to power 21 depends on PCI 26 depends on X86 && PCI 29 This enables support for the Intel Running Average Power Limit (RAPL) 30 technology via MSR interface, which allows power limits to be enforced 31 and monitored on modern Intel processors (Sandy Bridge and later). 35 controller, CPU core (Power Plane 0), graphics uncore (Power Plane [all …]
|
/openbmc/openbmc-test-automation/ipmi/ |
H A D | test_ipmi_chassis.robot | 27 IPMI Chassis Status On 28 [Documentation] This test case verifies system power on status 32 Redfish Power On stack_mode=skip quiet=1 34 ${power_status}= Get Lines Containing String ${resp} System Power 35 Should Contain ${power_status} on 38 [Documentation] This test case verifies system power off status 42 Redfish Power Off stack_mode=skip quiet=1 44 ${power_status}= Get Lines Containing String ${resp} System Power 48 [Documentation] Verify host power off operation using external IPMI command. 51 IPMI Power Off [all …]
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/State/ |
H A D | Chassis.interface.yaml | 1 description: Implement to provide the chassis power management 4 - name: RequestedPowerTransition 8 The desired power transition to start on this chassis. This will be 9 preserved across AC power cycles of the BMC. 11 - xyz.openbmc_project.State.Chassis.Error.BMCNotReady 12 - xyz.openbmc_project.Common.Error.Unavailable 14 - name: CurrentPowerState 17 A read-only property describing the current chassis power state. A 21 - name: CurrentPowerStatus 24 A read-only property describing the current chassis power status. This [all …]
|
/openbmc/openbmc-test-automation/openpower/ |
H A D | test_timed_power_on.robot | 2 Documentation This suite tests Timed Power On(TPO) feature via busctl command 3 ... and verify the power status of the system. 5 ... System can be scheduled to Power ON at a specified time by using this feature. 21 ${CMD_ENABLE_TPO} busctl set-property xyz.openbmc_project.State.ScheduledHostTransition 23 ... ScheduledTransition s "xyz.openbmc_project.State.Host.Transition.On" 25 ${CMD_SET_TPO_TIME} busctl set-property xyz.openbmc_project.State.ScheduledHostTransition 28 ${CMD_GET_TPO_TIME} busctl get-property xyz.openbmc_project.State.ScheduledHostTransition 35 # - Red Hat Enterprise Linux 36 # - SUSE Linux Enterprise Server 37 # Tested on RHEL 8.4. [all …]
|
/openbmc/openbmc-test-automation/gui/gui_test/operations_menu/ |
H A D | test_server_power_operations_sub_menu.robot | 3 Documentation Test OpenBMC GUI "Server power operations" sub-menu of "Operations". 8 Test Setup Run Keywords Launch Browser And Login GUI AND Navigate to Server Power Operation… 15 ${xpath_server_power_heading} //h1[text()="Server power operations"] 16 ${xpath_enable_onetime_boot_checkbox} //*[contains(@class,'custom-checkbox')] 17 ${xpath_boot_option_select} //*[@id='boot-option'] 18 ${xpath_shutdown_button} //*[@data-test-id='serverPowerOperations-button-shutDown… 19 ${xpath_reboot_button} //*[@data-test-id='serverPowerOperations-button-reboot'] 20 ${xpath_poweron_button} //*[@data-test-id='serverPowerOperations-button-powerOn'] 22 ${xpath_shutdown_orderly_radio} //*[@data-test-id='serverPowerOperations-radio-shutdownO… 23 ${xpath_shutdown_immediate_radio} //*[@data-test-id='serverPowerOperations-radio-shutdownI… [all …]
|
/openbmc/linux/drivers/mfd/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 17 depends on PCI && (X86_32 || (X86 && COMPILE_TEST)) 18 depends on !UML 25 depends on ARCH_INTEL_SOCFPGA && SPI_MASTER=y && OF 32 power supply alarms (hwmon). 36 depends on ARCH_INTEL_SOCFPGA && OF 45 tristate "Active-semi ACT8945A" 48 depends on I2C && OF 50 Support for the ACT8945A PMIC from Active-semi. This device 51 features three step-down DC/DC converters and four low-dropout [all …]
|
/openbmc/linux/drivers/pinctrl/qcom/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 6 depends on GPIOLIB 8 depends on OF 21 depends on OF && SPMI 37 depends on OF 56 depends on GPIOLIB 59 Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI 60 (Low Power Island) found on the Qualcomm Technologies Inc SoCs. 64 depends on ARM64 || COMPILE_TEST 65 depends on PINCTRL_LPASS_LPI [all …]
|
/openbmc/linux/drivers/regulator/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 15 output in order to save power and prolong battery life. This applies 38 managed regulators and simple non-configurable regulators. 55 control power supplies for such devices. 61 depends on I2C 65 They provide two I2C-controlled DC/DC step-down converters with 69 tristate "Marvell 88PM800 Power regulators" 70 depends on MFD_88PM800 79 tristate "Marvell 88PM8607 Power regulators" 80 depends on MFD_88PM860X=y [all …]
|
/openbmc/docs/architecture/ |
H A D | openbmc-systemd.md | 5 which processes are started. There is a lot of documentation on systemd and to 9 [Unit](https://www.freedesktop.org/software/systemd/man/systemd.unit.html#) - 11 [Service](https://www.freedesktop.org/software/systemd/man/systemd.service.html) - 13 [Target](https://www.freedesktop.org/software/systemd/man/systemd.target.html) - 19 On an OpenBMC system, you can go to /lib/systemd/system/ and see all of the 20 systemd units on the system. You can easily cat these files to start looking at 27 --- 29 ## Initial Power 31 When an OpenBMC system first has power applied, it starts the "default.target" 32 unless an alternate target is specified on the kernel command line. In Phosphor [all …]
|
/openbmc/openbmc-test-automation/gui/test/server_control/ |
H A D | test_obmc_gui_server_power_operations.robot | 3 Documentation Test OpenBMC GUI "Server power operation" sub-menu of 13 ${xpath_power_indicator_bar} //*[@id='power-indicator-bar'] 16 ${xpath_power_on_button} //button[contains(text(), "Power on")] 17 ${xpath_tpm_toggle_switch} //label[@for="toggle__switch-round"] 18 ${xpath_select_boot_override} //select[@id="boot-selected"] 19 ${xpath_select_one_time_boot} //label[@id="one-time-label"] 23 Verify System State At Power Off 24 [Documentation] Verify system state at power off. 31 Verify BMC IP In Server Power Operation Page 32 [Documentation] Verify BMC IP in server power operation page. [all …]
|
/openbmc/linux/Documentation/driver-api/thermal/ |
H A D | power_allocator.rst | 2 Power allocator governor tunables 6 ----------- 10 1. "switch on" trip point: temperature above which the governor 15 "switch on" trip point. This the target temperature the governor 20 -------------- 22 The power allocator governor implements a 23 Proportional-Integral-Derivative controller (PID controller) with 24 temperature as the control input and power as the controlled output: 29 - e = desired_temperature - current_temperature 30 - err_integral is the sum of previous errors [all …]
|
/openbmc/openbmc/meta-facebook/meta-yosemite4/recipes-phosphor/state/phosphor-state-manager/ |
H A D | chassis-poweron | 6 # shellcheck source=meta-facebook/meta-yosemite4/recipes-phosphor/state/phosphor-state-manager/powe… 7 source /usr/libexec/phosphor-state-manager/power-cmd 8 # shellcheck source=meta-facebook/meta-yosemite4/recipes-yosemite4/plat-tool/files/yosemite4-common… 9 source /usr/libexec/yosemite4-common-functions 11 #IO 0:7 input port for showing slot 1:8 power status 12 #IO 8:16 output port for controlling slot 1:8 power status 15 IO_EXP_SLOT_PWR_STATUS=$((CHASSIS_ID - 1)) 19 GPIOCHIP_IO_EXP_SLOT_PWR_CTRL=$(basename "/sys/bus/i2c/devices/$SPIDER_BOARD_IO_EXP_BUS_NUM-00$IO_E… 20 …TATUS_CTRL=$(basename "/sys/bus/i2c/devices/$MANAGEMENT_BOARD_IO_EXP_BUS_NUM-00$IO_EXP_SLED_PWR_CT… 21 GPIOCHIP_IO_EXP_HOST_POWER_STATUS=$(basename "/sys/bus/i2c/devices/$IO_EXP_SLOT_PWR_STATUS-0023/"*g… [all …]
|
H A D | host-poweron | 4 # shellcheck source=meta-facebook/meta-yosemite4/recipes-phosphor/state/phosphor-state-manager/powe… 5 source /usr/libexec/phosphor-state-manager/power-cmd 7 CHASSIS_BUS=$(($1 - 1)) 9 GPIOCHIP_IO_EXP_HOST_POWER_STATUS=$(basename "/sys/bus/i2c/devices/$CHASSIS_BUS-0023/"*gpiochip*) 24 echo "Already host$1 power on." 28 # Check if PRSNT_SB_SLOT{1~8}_N is exist, if not exist, continues power-on process 29 if [ ! -f "/tmp/gpio/PRSNT_SB_SLOT${1}_N" ]; then 30 echo "PRSNT_SB_SLOT${1}_N is not exist, continue power-on process" 33 if [ "$slot_presence" -ne 0 ]; then 34 echo "Host$1 is not present, skip power-on process" [all …]
|
/openbmc/linux/drivers/input/misc/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 18 depends on MFD_88PM860X 21 reporting power button status. 28 depends on MFD_88PM800 31 reporting power button status. 38 depends on AB8500_CORE 40 Say Y here to use the PowerOn Key for ST-Ericsson's AB8500 41 Mix-Sig PMIC. 44 will be called ab8500-ponkey. 58 depends on INPUT_AD714X && I2C [all …]
|
/openbmc/openbmc/meta-ibm/recipes-phosphor/dbus/power-supply-policy/ |
H A D | power-supply-policy.yaml | 1 # Machine power supply policy for PDM. 3 # Create an error if a power supply is removed while the system is powered on 5 - name: power supply0 9 - meta: POWER SUPPLY 12 - name: power supply1 16 - meta: POWER SUPPLY 19 - name: power supplies 21 'The machine has two power supplies to monitor.' 25 - meta: POWER SUPPLY 27 - meta: POWER SUPPLY [all …]
|
/openbmc/linux/drivers/soc/qcom/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 9 depends on ARCH_QCOM || COMPILE_TEST 10 depends on MAILBOX 11 depends on COMMON_CLK && PM 15 the low-power state for resources related to the remoteproc 16 subsystems as well as controlling the debug clocks exposed by the Always On 21 depends on ARCH_QCOM || COMPILE_TEST 22 depends on OF_RESERVED_MEM 26 resource on a RPM-hardened platform must use this database to get 30 tristate "QCOM Core Power Reduction (CPR) support" [all …]
|
/openbmc/openbmc-test-automation/xcat/ |
H A D | test_power_operation.robot | 17 Verify Power On Via XCAT 18 [Documentation] Power on system via XCAT and verify using REST. 21 Execute Command On XCAT rpower on 25 Verify Power Off Via XCAT 26 [Documentation] Power off system via XCAT and verify using REST. 29 Execute Command On XCAT rpower off 37 ${xcat_resp}= Execute Command On XCAT rpower bmcstate 42 Verify Soft Power Off Followed With Power On 43 [Documentation] Verify soft power off system followed with power on. 47 Execute Command On XCAT rpower softoff [all …]
|