Home
last modified time | relevance | path

Searched +full:power +full:- +full:source (Results 1 – 25 of 1115) sorted by relevance

12345678910>>...45

/openbmc/phosphor-dbus-interfaces/yaml/org/freedesktop/UPower/
H A DDevice.interface.yaml2 "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 Dmax77620.txt1 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 …]
/openbmc/linux/include/linux/
H A Dpm_wakeup.h1 /* 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 Dusb-connector.yaml1 # 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 Dsysfs-class-usb_power_delivery5 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 Dsysfs-class-typec1 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 …]
/openbmc/linux/Documentation/devicetree/bindings/pinctrl/
H A Dpinctrl-max77620.txt1 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/drivers/base/power/
H A Dwakeup.c1 // 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/arch/arm64/boot/dts/qcom/
H A Dmsm8996-sony-xperia-tone.dtsi1 // 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/openbmc/meta-facebook/meta-yosemite4/recipes-phosphor/state/phosphor-state-manager/
H A Dchassis-poweron5 # 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))
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…
[all …]
H A Dchassis-poweron-failure3 # 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 Dhost-powerreset5 # 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
9 # TODO: check power status before do power reset
10 # Set state effecter state: Entity ID 0x0000 for host power control, 0x4 for power reset
12 if ! pldmtool raw -d 0x80 0x02 0x39 0x00 0x00 0x01 0x00 0x04 -m "$EID"
14 msg="Failed to set host$1 power reset"
18 echo "Host$1 is power reset"
H A Dchassis-poweroff5 # 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
14 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 #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 Dqcom,gcc-sc7280.yaml1 # 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 Dqcom,videocc.yaml1 # 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 …]
/openbmc/linux/arch/arm64/boot/dts/xilinx/
H A Dzynqmp-zc1751-xm015-dc1.dts1 // 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 Dzynqmp-zc1751-xm019-dc5.dts1 // 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 Dzynqmp-zc1751-xm016-dc2.dts1 // 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/linux/drivers/platform/x86/intel/
H A DKconfig1 # 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 Dusb.txt4 - 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/openbmc/meta-facebook/meta-greatlakes/recipes-phosphor/state/phosphor-state-manager/
H A Dhost-poweroff3 # Provide source directive to shellcheck.
4 # shellcheck source=meta-facebook/meta-greatlakes/recipes-phosphor/state/phosphor-state-manager/pow…
5 source /usr/libexec/phosphor-state-manager/power-cmd
8 SLOT_ID=$(( $1-1 << 2 ))
10 # Host Power Off
11 host-power-off()
17 result=$(echo "$response" | cut -d" " -f "$IPMB_CMD_COMPLETE_CODE_INDEX")
18 if [ "$result" -ne 0 ]
29 # Check host stattus after doing host power off
30 host_status=$(host-power-status $SLOT_ID)
[all …]
H A Dhost-poweron3 # Provide source directive to shellcheck.
4 # shellcheck source=meta-facebook/meta-greatlakes/recipes-phosphor/state/phosphor-state-manager/pow…
5 source /usr/libexec/phosphor-state-manager/power-cmd
8 SLOT_ID=$(( $1-1 << 2 ))
9 # Host Power On
10 host-power-on()
16 result=$(echo "$response" | cut -d" " -f "$IPMB_CMD_COMPLETE_CODE_INDEX")
17 if [ "$result" -ne 0 ]
28 # Check host status after doing host power on
29 host_status=$(host-power-status $SLOT_ID)
[all …]
H A Dchassis-poweroff3 # Provide source directive to shellcheck.
4 # shellcheck source=meta-facebook/meta-greatlakes/recipes-phosphor/state/phosphor-state-manager/pow…
5 source /usr/libexec/phosphor-state-manager/power-cmd
8 SLOT=$(( $1-1 ))
11 # Server 12v power off
12 chassis-power-off()
14 result=$(i2cset -y "$CPLD_BUS_NUM" "$CPLD_PWR_CTRL_ADDR" "$OFFSET" "$POW_OFF_SLOT")
19 chassis_status=$(chassis-power-status $SLOT)
22 …busctl set-property "$CHASSIS_BUS_NAME""$CHASSIS_ID" "$CHASSIS_OBJ_PATH""$CHASSIS_ID" "$CHASSIS_IN…
23 echo "Chassis is power off"
[all …]
H A Dchassis-poweron3 # Provide source directive to shellcheck.
4 # shellcheck source=meta-facebook/meta-greatlakes/recipes-phosphor/state/phosphor-state-manager/pow…
5 source /usr/libexec/phosphor-state-manager/power-cmd
8 SLOT=$(( $1-1 ))
11 # Server 12v power on
12 chassis-power-on()
14 result=$(i2cset -y "$CPLD_BUS_NUM" "$CPLD_PWR_CTRL_ADDR" "$OFFSET" "$POW_ON_SLOT")
19 chassis_status=$(chassis-power-status $SLOT)
22 …busctl set-property "$CHASSIS_BUS_NAME""$CHASSIS_ID" "$CHASSIS_OBJ_PATH""$CHASSIS_ID" "$CHASSIS_IN…
23 echo "Chassis is power on"
[all …]
/openbmc/linux/Documentation/devicetree/bindings/regulator/
H A Dregulator-max77620.txt1 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 …]

12345678910>>...45