/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/linux/drivers/power/reset/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 bool "Board level reset or power off" 5 Provides a number of drivers which either reset a complete board 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 27 tristate "Atmel AT91 reset driver" [all …]
|
/openbmc/openbmc-test-automation/docs/ |
H A D | boot_test.md | 3 The boot plugins are used in the test and as well can be use a stand-alone 9 robot -v OPENBMC_HOST:xx.xx.xx.xx -v OPENBMC_PASSWORD:xxx -v 'boot_stack:<boot1>:<boot2>:<bootn>:' … 13 [data/boot_lists/All](https://github.com/openbmc/openbmc-test-automation/blob/master/data/boot_list… 18 robot -v OPENBMC_HOST:xx.xx.xx.xx -v OPENBMC_PASSWORD:xxx -v 'boot_stack:Redfish Power On:Redfish … 21 and it will give the following on the console the boot test report: 25 ---------------------------------------- ----- ---- ---- 26 Redfish Power On 1 1 0 27 Redfish Power On (mfg) 0 0 0 28 IPMI Power On 0 0 0 29 IPMI Power On (mfg) 0 0 0 [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 20 can be a pin hole reset. This is a manual mechanism for the user to force a hard 21 reset to the BMC in situations where it is hung or not responding. In these 22 situations, the user may wish for the system to not automatically power on the [all …]
|
H A D | multihost-phosphor-buttons.md | 1 # Multi-host front panel phosphor buttons interface 12 Phosphor buttons module has currently option to monitor gpio events of power and 13 reset buttons and trigger power event handlers. 15 phosphor-buttons currently only support push type buttons.support for different 20 Currently handler events are only based on monitoring gpio events as input 21 (power and reset).There may be cases where we need to create button interface 23 based on dbus property changes. 29 available in the front panel apart from existing power and reset button 34 The front panel of bmc has buttons like power button, reset button in general 38 +----------------------------------------------+ [all …]
|
H A D | device-tree-gpio-naming.md | 12 subsystem. The replacement is a "descriptor-based" character device interface. 25 specific field used to name the GPIOs in the DTS is `gpio-line-names`. This 29 scheme in the face of a universe of potential use-cases. 37 - Ensure common function GPIOs within OpenBMC use the same naming convention 43 (when available on an OpenBMC system). This naming convention must be followed 52 Pattern: `*-button` 55 BMC-less machines use a button to trigger system behavior and in a BMC-managed 59 #### power-button 64 depends on the index of Host and the active state is high or low. 68 - `host*-ready`: Host ready, active high [all …]
|
H A D | state-management-and-external-interfaces.md | 16 Please note that the focus of this document is on the following `ResetType` 17 instance: `redfish/v1/Systems/system/Actions/ComputerSystem.Reset` 23 [phoshor-state-manager][2] implements the xyz.openbmc_project.State.\* 28 the appropriate xyz.openbmc_project.State.\* D-Bus interface. 32 looking to support the capability to reboot an operating system on a system 33 without cycling power to the chassis. 35 Currently phosphor-state-manager supports the following: 37 - Chassis: On/Off 38 - Host: On/Off/Reboot 40 The `Reboot` to the host currently causes a power cycle to the chassis. [all …]
|
/openbmc/openbmc/meta-phosphor/recipes-phosphor/state/ |
H A D | phosphor-state-manager_git.bb | 3 management daemons. It is suitable for use on a wide variety of OpenBMC \ 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-test-automation/data/ |
H A D | boot_table_x86.json | 2 "Redfish Power On": { 10 "chassis": "^On$", 18 "method": "Redfish Power Operation On", 21 "IPMI Power On": { 29 "chassis": "^On$", 37 "method": "Run External IPMI Standard Command power on -N 10 -R 1", 41 "Redfish Power Off": { 44 "chassis": "^On$" 56 "method": "Redfish Power Operation GracefulShutdown", 59 "Redfish Hard Power Off": { [all …]
|
H A D | boot_table_redfish.json | 2 "Redfish Power On": { 11 "chassis": "^On$", 20 "method": "Redfish Power Operation On", 23 "IPMI Power On": { 32 "chassis": "^On$", 41 "method": "Run External IPMI Standard Command power on -N 10 -R 1", 44 "Istep Power On": { 53 "chassis": "^On$", 64 "Redfish Power Off": { 67 "chassis": "^On$" [all …]
|
H A D | boot_table_osrunning_redfish.json | 2 "Redfish Power On": { 11 "chassis": "^On$", 20 "method": "Redfish Power Operation On", 23 "IPMI Power On": { 32 "chassis": "^On$", 41 "method": "Run External IPMI Standard Command power on -N 10 -R 1", 44 "Istep Power On": { 53 "chassis": "^On$", 64 "Redfish Power Off": { 67 "chassis": "^On$" [all …]
|
H A D | boot_table.json | 2 "REST Power On": { 12 "chassis": "^On$", 25 "Redfish Power On": { 35 "chassis": "^On$", 45 "method": "Redfish Power Operation On", 48 "IPMI Power On": { 58 "chassis": "^On$", 68 "method": "Run External IPMI Standard Command power on -N 10 -R 1", 72 "REST Power Off": { 75 "chassis": "^On$" [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/clock/ti/davinci/ |
H A D | psc.txt | 1 Binding for TI DaVinci Power Sleep Controller (PSC) 3 The PSC provides power management, clock gating and reset functionality. It is 7 - compatible: shall be one of: 8 - "ti,da850-psc0" for PSC0 on DA850/OMAP-L138/AM18XX 9 - "ti,da850-psc1" for PSC1 on DA850/OMAP-L138/AM18XX 10 - reg: physical base address and size of the controller's register area 11 - #clock-cells: from common clock binding; shall be set to 1 12 - #power-domain-cells: from generic power domain binding; shall be set to 1. 13 - clocks: phandles to clocks corresponding to the clock-names property 14 - clock-names: list of parent clock names - depends on compatible value [all …]
|
/openbmc/linux/Documentation/ABI/stable/ |
H A D | sysfs-driver-mlxreg-io | 1 What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/asic_health 6 0 - health failed, 2 - health OK, 3 - ASIC in booting state. 10 What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld1_version 11 What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld2_version 16 on carrier and switch boards. 20 What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/fan_dir 25 forward direction - relevant bit is set 0; 26 reversed direction - relevant bit is set 1. 30 What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld3_version 35 on LED or Gearbox board. [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | twl4030-power.txt | 1 Texas Instruments TWL family (twl4030) reset and power management module 3 The power management module inside the TWL family provides several facilities 4 to control the power resources, including power scripts. For now, the 8 - compatible : must be one of the following 9 "ti,twl4030-power" 10 "ti,twl4030-power-reset" 11 "ti,twl4030-power-idle" 12 "ti,twl4030-power-idle-osc-off" 14 The use of ti,twl4030-power-reset is recommended at least on 15 3530 that needs a special configuration for warm reset to work. [all …]
|
H A D | rohm,bd71847-pmic.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mfd/rohm,bd71847-pmic.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: ROHM BD71847 and BD71850 Power Management Integrated Circuit 10 - Matti Vaittinen <mazziesaccount@gmail.com> 13 BD71847AMWV and BD71850MWV are programmable Power Management ICs for powering 14 single-core, dual-core, and quad-core SoCs such as NXP-i.MX 8M. It is 18 …s://www.rohm.com/products/power-management/power-management-ic-for-system/industrial-consumer-appl… 19 …s://www.rohm.com/products/power-management/power-management-ic-for-system/industrial-consumer-appl… [all …]
|
H A D | rohm,bd71837-pmic.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mfd/rohm,bd71837-pmic.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: ROHM BD71837 Power Management Integrated Circuit 10 - Matti Vaittinen <mazziesaccount@gmail.com> 13 BD71837MWV is programmable Power Management ICs for powering single-core, 14 dual-core, and quad-core SoCs such as NXP-i.MX 8M. It is optimized for low 18 …s://www.rohm.com/products/power-management/power-management-ic-for-system/industrial-consumer-appl… 35 clock-names: [all …]
|
/openbmc/openbmc-test-automation/pldm/ |
H A D | test_firmware_boot_side.robot | 6 # 1. Power off the host or post firmware is updated. 9 # pldmtool bios GetBIOSAttributeCurrentValueByHandle -a fw_boot_side 14 # pldmtool bios SetBIOSAttributeCurrentValue -a fw_boot_side -d Temp 16 # 4. Power on 17 # 5. BMC take reset during power on ( expected ) 27 Test Teardown FFDC On Test Case Fail 36 # This dictionary is for Temp -> Perm or vice versa in the test code. 42 [Documentation] Power off the host , set the firmware boot side via pldmtool, 43 ... power on the host and confirm the fw_boot_side attribute is 46 [Template] Firmware Side Switch Power On Loop [all …]
|
/openbmc/openpower-host-ipmi-oem/ |
H A D | README.md | 3 https://github.com/open-power/op-build 19 - Partial Add 20 - Prepare for host update 21 - BMC Factory Reset 25 ### BMC Factory Reset 29 This command will call to reset the BMC to its factory default. See [here][0] 30 for the factory reset implementation details. 34 1. Power the chassis off. The host needs to be powered off because the factory 35 reset deletes the inventory items, which are needed for the BMC during the 36 power on path, causing the power on to fail. The inventory items are [all …]
|
/openbmc/u-boot/arch/arm/mach-keystone/ |
H A D | psc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * (C) Copyright 2012-2014 16 * psc_delay() - delay for psc 27 * psc_wait() - Wait for end of transitional state 34 * Return: 0 when the domain is free. Returns -1 if a timeout occurred waiting 43 * Do nothing if the power domain is in transition. This should never in psc_wait() 59 return -1; in psc_wait() 65 * psc_get_domain_num() - Get the domain number 72 /* Get the power domain associated with the module number */ in psc_get_domain_num() 80 * psc_set_state() - powers up/down a module [all …]
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Control/Power/ |
H A D | RestorePolicy.interface.yaml | 2 Implement to specify power transition behavior on a BMC reset. The 3 implementation may choose to only enforce the policy on a power loss or on 4 both a power loss and BMC reboot. 7 - name: PowerRestorePolicy 11 The policy to adopt after the BMC reset. 12 - name: PowerRestoreDelay 16 The delay in microseconds before invoke power restore policy after 17 power applied. 0 - disable delay. 20 - name: Policy 22 Possible power restoration policies. [all …]
|
/openbmc/linux/arch/sparc/include/asm/ |
H A D | fhc.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 14 #define CLOCK_PWRSTAT 0x30UL /* Power status */ 15 #define CLOCK_PWRPRES 0x40UL /* Power presence */ 18 #define CLOCK_PWRSTAT2 0x70UL /* Power status two */ 20 #define CLOCK_CTRL_LLED 0x04 /* Left LED, 0 == on */ 21 #define CLOCK_CTRL_MLED 0x02 /* Mid LED, 1 == on */ 22 #define CLOCK_CTRL_RLED 0x01 /* RIght LED, 1 == on */ 30 #define FHC_PREGS_RCS 0x10UL /* FHC Reset Control/Status Register */ 31 #define FHC_RCS_POR 0x80000000 /* Last reset was a power cycle */ 32 #define FHC_RCS_SPOR 0x40000000 /* Last reset was sw power on reset */ [all …]
|
/openbmc/openbmc-test-automation/ipmi/ |
H A D | test_ipmi_watchdog.robot | 60 Test IPMI Watchdog Timer Pre-Timeout Interrupt Bits 61 [Documentation] Execute out of band set/get pre-timeout interrupt bits for watchdog timer. 62 [Tags] Test_IPMI_Watchdog_Timer_Pre-Timeout_Interrupt_Bits 109 # set action command power state SEL event 110 ${IPMI_RAW_CMD['Watchdog']['Set'][60]} ['off'] Power down 111 ${IPMI_RAW_CMD['Watchdog']['Set'][63]} ['on'] Hard reset 112 ${IPMI_RAW_CMD['Watchdog']['Set'][66]} ['on'] Power cycle 113 ${IPMI_RAW_CMD['Watchdog']['Set'][69]} ['on'] Timer expired 116 Verify Reset Timer 117 [Documentation] Set Watchdog via IPMI raw command and verify Reset Timer functions as expected. [all …]
|