/openbmc/phosphor-dbus-interfaces/yaml/org/freedesktop/UPower/ |
H A D | Device.interface.yaml | 2 "org.freedesktop.UPower.Device -- Device interface 10 - name: Refresh 12 "Refreshes the data collected from the power source. Callers need the 13 org.freedesktop.upower.refresh-power-source authorization" 15 - name: GetHistory 17 "Gets history for the power device that is persistent across 20 - name: type 24 - name: timespan 28 - name: resolution 35 - name: data [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | max77620.txt | 1 MAX77620 Power management IC from Maxim Semiconductor. 4 ------------------- 5 - compatible: Must be one of 9 - reg: I2C device address. 12 ------------------- 13 - interrupts: The interrupt on the parent the controller is 15 - interrupt-controller: Marks the device node as an interrupt controller. 16 - #interrupt-cells: is <2> and their usage is compliant to the 2 cells 17 variant of <../interrupt-controller/interrupts.txt> 18 IRQ numbers for different interrupt source of MAX77620 [all …]
|
H A D | richtek,rt5120.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - ChiYuan Huang <cy_huang@richtek.com> 13 The RT5120 provides four high-efficiency buck converters and one LDO voltage 16 used for dynamic voltage scaling of the processor voltage, power rails on/off 22 - richtek,rt5120 30 interrupt-controller: true 32 "#interrupt-cells": 35 wakeup-source: true [all …]
|
/openbmc/linux/include/linux/ |
H A D | pm_wakeup.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * pm_wakeup.h - Power management wakeup interface 21 * struct wakeup_source - Representation of wakeup sources 23 * @name: Name of the wakeup source 24 * @id: Wakeup source id 25 * @entry: Wakeup source list entry 26 * @lock: Wakeup source lock 30 * @total_time: Total time this wakeup source has been active. 31 * @max_time: Maximum time this wakeup source has been continuously active. 32 * @last_time: Monotonic clock when the wakeup source's was touched last time. [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/connector/ |
H A D | usb-connector.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/connector/usb-connector.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Rob Herring <robh@kernel.org> 20 - enum: 21 - usb-a-connector 22 - usb-b-connector 23 - usb-c-connector 25 - items: [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-usb_power_delivery | 5 Directory for USB Power Delivery devices. 11 File showing the USB Power Delivery Specification Revision used 19 specific revision of the USB Power Delivery Specification. In 23 What: /sys/class/usb_power_delivery/.../source-capabilities 27 The source capabilities message "Source_Capabilities" contains a 28 set of Power Data Objects (PDO), each representing a type of 29 power supply. The order of the PDO objects is defined in the USB 30 Power Delivery Specification. Each PDO - power supply - will 33 power supply type name (":" as delimiter). 37 What: /sys/class/usb_power_delivery/.../sink-capabilities [all …]
|
H A D | sysfs-class-typec | 1 USB Type-C port devices (eg. /sys/class/typec/port0/) 22 The supported power roles. This attribute can be used to request 23 power role swap on the port. Swapping is supported as 29 "[source] sink" when in source mode. 31 Valid values: source, sink 45 source (The port will behave as source only DFP port) 47 dual (The port will behave as dual-role-data and 48 dual-role-power port) 55 Shows is the port VCONN Source. This attribute can be used to 56 request VCONN swap to change the VCONN Source during connection [all …]
|
H A D | sysfs-power | 1 What: /sys/power/ 5 The /sys/power directory will contain files that will 6 provide a unified interface to the power management 9 What: /sys/power/state 13 The /sys/power/state file controls system sleep states. 15 labels, which may be "mem" (suspend), "standby" (power-on 16 suspend), "freeze" (suspend-to-idle) and "disk" (hibernation). 21 See Documentation/admin-guide/pm/sleep-states.rst for more 24 What: /sys/power/mem_sleep 28 The /sys/power/mem_sleep file controls the operating mode of [all …]
|
/openbmc/linux/drivers/base/power/ |
H A D | wakeup.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * drivers/base/power/wakeup.c - System wakeup events framework 18 #include <trace/events/power.h> 20 #include "power.h" 46 #define MAX_IN_PROGRESS ((1 << IN_PROGRESS_BITS) - 1) 77 * wakeup_source_create - Create a struct wakeup_source object. 78 * @name: Name of the new wakeup source. 93 ws->name = ws_name; in wakeup_source_create() 98 ws->id = id; in wakeup_source_create() 103 kfree_const(ws->name); in wakeup_source_create() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | pinctrl-max77620.txt | 1 Pincontrol driver for MAX77620 Power management IC from Maxim Semiconductor. 6 Please refer file <devicetree/bindings/pinctrl/pinctrl-bindings.txt> 11 -------------------------- 14 - pinctrl-names: A pinctrl state named per <pinctrl-bindings.txt>. 15 - pinctrl[0...n]: Properties to contain the phandle for pinctrl states per 16 <pinctrl-bindings.txt>. 19 sub-node have following properties: 22 ------------------ 23 - pins: List of pins. Valid values of pins properties are: 27 ------------------- [all …]
|
/openbmc/linux/arch/arm64/boot/dts/qcom/ |
H A D | msm8996-sony-xperia-tone.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/gpio/gpio.h> 14 #include <dt-bindings/leds/common.h> 15 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 16 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h> 18 /delete-node/ &adsp_mem; 19 /delete-node/ &slpi_mem; 20 /delete-node/ &venus_mem; 21 /delete-node/ &gpu_mem; [all …]
|
/openbmc/linux/arch/arm64/boot/dts/xilinx/ |
H A D | zynqmp-zc1751-xm015-dc1.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * dts file for Xilinx ZynqMP zc1751-xm015-dc1 5 * (C) Copyright 2015 - 2022, Xilinx, Inc. 6 * (C) Copyright 2022 - 2023, Advanced Micro Devices, Inc. 11 /dts-v1/; 14 #include "zynqmp-clk-ccf.dtsi" 15 #include <dt-bindings/phy/phy.h> 16 #include <dt-bindings/gpio/gpio.h> 17 #include <dt-bindings/pinctrl/pinctrl-zynqmp.h> 20 model = "ZynqMP zc1751-xm015-dc1 RevA"; [all …]
|
H A D | zynqmp-zc1751-xm019-dc5.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * dts file for Xilinx ZynqMP zc1751-xm019-dc5 5 * (C) Copyright 2015 - 2021, Xilinx, Inc. 11 /dts-v1/; 14 #include "zynqmp-clk-ccf.dtsi" 15 #include <dt-bindings/gpio/gpio.h> 16 #include <dt-bindings/pinctrl/pinctrl-zynqmp.h> 19 model = "ZynqMP zc1751-xm019-dc5 RevA"; 20 compatible = "xlnx,zynqmp-zc1751", "xlnx,zynqmp"; 33 stdout-path = "serial0:115200n8"; [all …]
|
H A D | zynqmp-zc1751-xm016-dc2.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * dts file for Xilinx ZynqMP zc1751-xm016-dc2 5 * (C) Copyright 2015 - 2022, Xilinx, Inc. 6 * (C) Copyright 2022 - 2023, Advanced Micro Devices, Inc. 11 /dts-v1/; 14 #include "zynqmp-clk-ccf.dtsi" 15 #include <dt-bindings/gpio/gpio.h> 16 #include <dt-bindings/pinctrl/pinctrl-zynqmp.h> 19 model = "ZynqMP zc1751-xm016-dc2 RevA"; 20 compatible = "xlnx,zynqmp-zc1751", "xlnx,zynqmp"; [all …]
|
/openbmc/openbmc/meta-facebook/meta-yosemite4/recipes-phosphor/state/phosphor-state-manager/ |
H A D | chassis-poweron | 5 # Provide source directive to shellcheck. 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 16 IO_EXP_SLOT_PWR_STATUS=$((CHASSIS_ID - 1)) 20 GPIOCHIP_IO_EXP_SLOT_PWR_CTRL=$(basename "/sys/bus/i2c/devices/$SPIDER_BOARD_IO_EXP_BUS_NUM-00$IO_E… 21 …TATUS_CTRL=$(basename "/sys/bus/i2c/devices/$MANAGEMENT_BOARD_IO_EXP_BUS_NUM-00$IO_EXP_SLED_PWR_CT… [all …]
|
H A D | host-powerreset | 5 # Provide source directive to shellcheck. 6 # shellcheck source=meta-facebook/meta-yosemite4/recipes-phosphor/state/phosphor-state-manager/powe… 7 source /usr/libexec/phosphor-state-manager/power-cmd 11 msg="Execute host$CHASSIS_ID power reset" 16 if ! flock -n 300 ; then 17 echo "Slot $CHASSIS_ID is currently running a power control operation, skipping." 18 msg="Execute host$CHASSIS_ID power reset fail, power control is operating" 24 # TODO: check power status before do power reset 25 # Set state effecter state: Entity ID 0x0000 for host power control, 0x4 for power reset 27 if ! pldmtool raw -d 0x80 0x02 0x39 0x00 0x00 0x01 0x00 0x04 -m "$EID" [all …]
|
H A D | chassis-poweron-failure | 3 # Provide source directive to shellcheck. 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 [all …]
|
H A D | chassis-poweroff | 5 # Provide source directive to shellcheck. 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)) 20 GPIOCHIP_IO_EXP_SLOT_PWR_CTRL=$(basename "/sys/bus/i2c/devices/$SPIDER_BOARD_IO_EXP_BUS_NUM-00$IO_E… 21 #GPIOCHIP_IO_EXP_BIC_PWR_CTRL=$(basename "/sys/bus/i2c/devices/$IO_EXP_SLOT_PWR_STATUS-00$IO_EXP_BI… [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/clock/ |
H A D | qcom,gcc-sc7280.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/clock/qcom,gcc-sc7280.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Taniya Das <quic_tdas@quicinc.com> 13 Qualcomm global clock control module provides the clocks, resets and power 16 See also:: include/dt-bindings/clock/qcom,gcc-sc7280.h 20 const: qcom,gcc-sc7280 24 - description: Board XO source 25 - description: Board active XO source [all …]
|
H A D | qcom,videocc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Taniya Das <quic_tdas@quicinc.com> 13 Qualcomm video clock control module provides the clocks, resets and power 17 include/dt-bindings/clock/qcom,videocc-sc7180.h 18 include/dt-bindings/clock/qcom,videocc-sc7280.h 19 include/dt-bindings/clock/qcom,videocc-sdm845.h 20 include/dt-bindings/clock/qcom,videocc-sm8150.h 21 include/dt-bindings/clock/qcom,videocc-sm8250.h [all …]
|
H A D | qcom,sm6375-gpucc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/clock/qcom,sm6375-gpucc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Konrad Dybcio <konrad.dybcio@linaro.org> 13 Qualcomm graphics clock control module provides clocks, resets and power 16 See also:: include/dt-bindings/clock/qcom,sm6375-gpucc.h 21 - qcom,sm6375-gpucc 25 - description: Board XO source 26 - description: GPLL0 main branch source [all …]
|
/openbmc/linux/drivers/platform/x86/intel/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 6 source "drivers/platform/x86/intel/atomisp2/Kconfig" 7 source "drivers/platform/x86/intel/ifs/Kconfig" 8 source "drivers/platform/x86/intel/int1092/Kconfig" 9 source "drivers/platform/x86/intel/int3472/Kconfig" 10 source "drivers/platform/x86/intel/pmc/Kconfig" 11 source "drivers/platform/x86/intel/pmt/Kconfig" 12 source "drivers/platform/x86/intel/speed_select_if/Kconfig" 13 source "drivers/platform/x86/intel/telemetry/Kconfig" 14 source "drivers/platform/x86/intel/wmi/Kconfig" [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/soc/fsl/cpm_qe/qe/ |
H A D | usb.txt | 4 - compatible : should be "fsl,<chip>-qe-usb", "fsl,mpc8323-qe-usb". 5 - reg : the first two cells should contain usb registers location and 8 - interrupts : should contain USB interrupt. 9 - fsl,fullspeed-clock : specifies the full speed USB clock source: 10 "none": clock source is disabled 11 "brg1" through "brg16": clock source is BRG1-BRG16, respectively 12 "clk1" through "clk24": clock source is CLK1-CLK24, respectively 13 - fsl,lowspeed-clock : specifies the low speed USB clock source: 14 "none": clock source is disabled 15 "brg1" through "brg16": clock source is BRG1-BRG16, respectively [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/regulator/ |
H A D | regulator-max77620.txt | 1 Regulator DT binding for MAX77620 Power management IC from Maxim Semiconductor. 3 Device has multiple DCDC(sd[0-3] and LDOs(ldo[0-8]). The input supply 6 sub-node "regulators" which is child node of device node. 14 ------------------- 18 in-sd0-supply: Input supply for SD0, INA-SD0 or INB-SD0 pins. 19 in-sd1-supply: Input supply for SD1. 20 in-sd2-supply: Input supply for SD2. 21 in-sd3-supply: Input supply for SD3. 22 in-ldo0-1-supply: Input supply for LDO0 and LDO1. 23 in-ldo2-supply: Input supply for LDO2. [all …]
|
/openbmc/linux/arch/powerpc/boot/dts/fsl/ |
H A D | e5500_power_isa.dtsi | 2 * e5500 Power ISA Device Tree Source (include) 6 * Redistribution and use in source and binary forms, with or without 8 * * Redistributions of source code must retain the above copyright 37 power-isa-version = "2.06"; 38 power-isa-b; // Base 39 power-isa-e; // Embedded 40 power-isa-atb; // Alternate Time Base 41 power-isa-cs; // Cache Specification 42 power-isa-ds; // Decorated Storage 43 power-isa-e.ed; // Embedded.Enhanced Debug [all …]
|