/linux/Documentation/devicetree/bindings/power/ |
H A D | rockchip,power-controller.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/rockchip,power-controller.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Rockchip Power Domains 10 - Elaine Zhang <zhangqing@rock-chips.com> 11 - Heiko Stuebner <heiko@sntech.de> 14 Rockchip processors include support for multiple power domains 16 application scenarios to save power. 18 Power domains contained within power-controller node are [all …]
|
H A D | mediatek,power-controller.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/mediatek,power-controller.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Mediatek Power Domains Controller 10 - MandyJH Liu <mandyjh.liu@mediatek.com> 11 - Matthias Brugger <mbrugger@suse.com> 14 Mediatek processors include support for multiple power domains which can be 15 powered up/down by software based on different application scenes to save power. 17 IP cores belonging to a power domain should contain a 'power-domains' [all …]
|
H A D | fsl,imx-gpcv2.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/fsl,imx-gpcv2.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Freescale i.MX General Power Controller v2 10 - Andrey Smirnov <andrew.smirnov@gmail.com> 13 The i.MX7S/D General Power Control (GPC) block contains Power Gating 14 Control (PGC) for various power domains. 16 Power domains contained within GPC node are generic power domain 18 Documentation/devicetree/bindings/power/power-domain.yaml, which are [all …]
|
H A D | power-domain.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/power-domain.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Rafael J. Wysocki <rjw@rjwysocki.net> 11 - Kevin Hilman <khilman@kernel.org> 12 - Ulf Hansson <ulf.hansson@linaro.org> 16 used for power gating of selected IP blocks for power saving by reduced 25 \#power-domain-cells property in the PM domain provider node. 29 pattern: "^(power-controller|power-domain|performance-domain)([@-].*)?$" [all …]
|
H A D | power_domain.txt | 4 used for power gating of selected IP blocks for power saving by reduced leakage 12 #power-domain-cells property in the PM domain provider node. 16 See power-domain.yaml. 21 - power-domains : A list of PM domain specifiers, as defined by bindings of 22 the power controller that is the PM domain provider. 25 - power-domain-names : A list of power domain name strings sorted in the same 26 order as the power-domains property. Consumers drivers will use 27 power-domain-names to match power domains with power-domains 32 leaky-device@12350000 { 33 compatible = "foo,i-leak-current"; [all …]
|
H A D | apple,pmgr-pwrstate.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/apple,pmgr-pwrstate.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Apple SoC PMGR Power States 10 - Hector Martin <marcan@marcan.st> 13 - $ref: power-domain.yaml# 16 Apple SoCs include PMGR blocks responsible for power management, 17 which can control various clocks, resets, power states, and 18 performance features. This binding describes the device power [all …]
|
/linux/arch/arm64/boot/dts/apple/ |
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 …]
|
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 …]
|
/linux/Documentation/devicetree/bindings/clock/ |
H A D | fsl,imx8-acm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/clock/fsl,imx8-acm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Shengjiu Wang <shengjiu.wang@nxp.com> 19 - fsl,imx8dxl-acm 20 - fsl,imx8qm-acm 21 - fsl,imx8qxp-acm 26 power-domains: 30 '#clock-cells': [all …]
|
/linux/drivers/base/power/ |
H A D | runtime.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * drivers/base/power/runtime.c - Helper functions for device runtime PM 18 #include "power.h" 27 if (dev->pm_domain) in __rpm_get_callback() 28 ops = &dev->pm_domain->ops; in __rpm_get_callback() 29 else if (dev->type && dev->type->pm) in __rpm_get_callback() 30 ops = dev->type->pm; in __rpm_get_callback() 31 else if (dev->class && dev->class->pm) in __rpm_get_callback() 32 ops = dev->class->pm; in __rpm_get_callback() 33 else if (dev->bus && dev->bus->pm) in __rpm_get_callback() [all …]
|
/linux/Documentation/devicetree/bindings/soc/mediatek/ |
H A D | scpsys.txt | 4 The System Control Processor System (SCPSYS) has several power management 7 The System Power Manager (SPM) inside the SCPSYS is for the MTCMOS power 11 power/power-domain.yaml. It provides the power domains defined in 12 - include/dt-bindings/power/mt8173-power.h 13 - include/dt-bindings/power/mt6797-power.h 14 - include/dt-bindings/power/mt6765-power.h 15 - include/dt-bindings/power/mt2701-power.h 16 - include/dt-bindings/power/mt2712-power.h 17 - include/dt-bindings/power/mt7622-power.h 20 - compatible: Should be one of: [all …]
|
/linux/drivers/power/supply/ |
H A D | axp20x_usb_power.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * AXP20x PMIC USB power supply status driver 6 * Copyright (C) 2014 Bruno Prémont <bonbons@linux-vserver.org> 11 #include <linux/devm-helpers.h> 26 #define DRVNAME "axp20x-usb-power-supply" 76 struct axp20x_usb_power *power); 77 int (*axp20x_cfg_adc_reg)(struct axp20x_usb_power *power); 101 static bool axp20x_usb_vbus_needs_polling(struct axp20x_usb_power *power) in axp20x_usb_vbus_needs_polling() argument 105 * present->absent transition implies an online->offline transition in axp20x_usb_vbus_needs_polling() 108 if (power->axp_data->vbus_needs_polling && !power->online) in axp20x_usb_vbus_needs_polling() [all …]
|
H A D | axp20x_ac_power.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * AXP20X and AXP22X PMICs' ACIN power supply driver 6 * Quentin Schulz <quentin.schulz@free-electrons.com> 30 #define AXP813_VHOLD_UV_TO_BIT(x) ((((x) / 100000) - 40) << 3) 35 #define AXP813_CURR_LIMIT_UA_TO_BIT(x) (((x) / 500000) - 3) 39 #define DRVNAME "axp20x-ac-power-supply" 53 struct axp20x_ac_power *power = devid; in axp20x_ac_power_irq() local 55 power_supply_changed(power->supply); in axp20x_ac_power_irq() 64 struct axp20x_ac_power *power = power_supply_get_drvdata(psy); in axp20x_ac_power_get_property() local 69 ret = regmap_read(power->regmap, AXP20X_PWR_INPUT_STATUS, ®); in axp20x_ac_power_get_property() [all …]
|
/linux/drivers/staging/nvec/ |
H A D | nvec_power.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * nvec_power: power supply driver for a NVIDIA compliant embedded controller 87 struct nvec_power *power = in nvec_power_notifier() local 94 if (res->sub_type == 0) { in nvec_power_notifier() 95 if (power->on != res->plu) { in nvec_power_notifier() 96 power->on = res->plu; in nvec_power_notifier() 109 static void get_bat_mfg_data(struct nvec_power *power) in get_bat_mfg_data() argument 116 nvec_write_async(power->nvec, buf, 2); in get_bat_mfg_data() 123 struct nvec_power *power = in nvec_power_bat_notifier() local 131 switch (res->sub_type) { in nvec_power_bat_notifier() [all …]
|
/linux/drivers/net/ipa/ |
H A D | ipa_power.c | 1 // SPDX-License-Identifier: GPL-2.0 3 /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved. 4 * Copyright (C) 2018-2024 Linaro Ltd. 23 * DOC: IPA Power Management 26 * interconnects (buses) it depends on are enabled. Runtime power 38 * struct ipa_power - IPA power management information 54 static int ipa_interconnect_init(struct ipa_power *power, in ipa_interconnect_init() argument 62 interconnect = &power->interconnect[0]; in ipa_interconnect_init() 63 for (i = 0; i < power->interconnect_count; i++) { in ipa_interconnect_init() 64 /* interconnect->path is filled in by of_icc_bulk_get() */ in ipa_interconnect_init() [all …]
|
/linux/Documentation/power/powercap/ |
H A D | powercap.rst | 2 Power Capping Framework 5 The power capping framework provides a consistent interface between the kernel 6 and the user space that allows power capping drivers to expose the settings to 12 The framework exposes power capping devices to user space via sysfs in the 14 'control types', which correspond to different methods of power capping. For 15 example, the intel-rapl control type represents the Intel "Running Average 16 Power Limit" (RAPL) technology, whereas the 'idle-injection' control type 17 corresponds to the use of idle injection for controlling power. 19 Power zones represent different parts of the system, which can be controlled and 20 monitored using the power capping method determined by the control type the [all …]
|
H A D | dtpm.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 Dynamic Thermal Power Management framework 12 Another aspect is to sustain the performance for a given power budget, 15 reduce the battery charging because the dissipated power is too high 16 compared with the power consumed by other devices. 19 different devices by limiting their power given an application 22 The Dynamic Thermal Power Management (DTPM) is a technique acting on 23 the device power by limiting and/or balancing a power budget among 27 device power. 34 driver to do the connection with the power manageable device. [all …]
|
/linux/Documentation/hwmon/ |
H A D | occ.rst | 1 Kernel driver occ-hwmon 12 ----------- 14 This driver supports hardware monitoring for the On-Chip Controller (OCC) 15 embedded on POWER processors. The OCC is a device that collects and aggregates 17 sensor data as well as perform thermal and power management on the system. 20 manually if an "ibm,p8-occ-hwmon" compatible device is found under the 21 appropriate I2C bus node in the device-tree. 23 The P9 version of this driver is a client driver of the FSI-based OCC driver. 24 It will be probed automatically by the FSI-based OCC driver. 27 ------------- [all …]
|
/linux/drivers/pmdomain/bcm/ |
H A D | bcm2835-power.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Power domain driver for Broadcom BCM2835 8 #include <dt-bindings/soc/bcm2835-pm.h> 12 #include <linux/mfd/bcm2835-pm.h> 16 #include <linux/reset-controller.h> 61 /* The power gates must be enabled with this bit before enabling the LDO in the 109 #define PM_READ(reg) readl(power->base + (reg)) 110 #define PM_WRITE(reg, val) writel(PM_PASSWORD | (val), power->base + (reg)) 133 struct bcm2835_power *power; member 152 static int bcm2835_asb_control(struct bcm2835_power *power, u32 reg, bool enable) in bcm2835_asb_control() argument [all …]
|
/linux/Documentation/ABI/testing/ |
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 …]
|
H A D | sysfs-class-powercap | 4 Contact: linux-pm@vger.kernel.org 6 The powercap/ class sub directory belongs to the power cap 8 Documentation/power/powercap/powercap.rst for details. 13 Contact: linux-pm@vger.kernel.org 16 Here <control type> determines how the power is going to be 17 controlled. A <control type> can contain multiple power zones. 22 Contact: linux-pm@vger.kernel.org 24 This allows to enable/disable power capping for a "control type". 25 This status affects every power zone using this "control_type. 27 What: /sys/class/powercap/<control type>/<power zone> [all …]
|
/linux/arch/arm64/boot/dts/arm/ |
H A D | juno-scmi.dtsi | 3 power-domains = <&scmi_devpd 8>; 7 power-domains = <&scmi_devpd 8>; 11 power-domains = <&scmi_devpd 8>; 15 power-domains = <&scmi_devpd 8>; 19 power-domains = <&scmi_devpd 8>; 23 power-domains = <&scmi_devpd 8>; 27 power-domains = <&scmi_devpd 8>; 31 power-domains = <&scmi_devpd 8>; 42 /delete-node/ scpi; 47 mbox-names = "tx", "rx"; [all …]
|
/linux/arch/powerpc/boot/dts/fsl/ |
H A D | e6500_power_isa.dtsi | 2 * e6500 Power ISA Device Tree Source (include) 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 44 power-isa-e.pd; // Embedded.External PID 45 power-isa-e.hv; // Embedded.Hypervisor [all …]
|
/linux/Documentation/devicetree/bindings/arm/apple/ |
H A D | apple,pmgr.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Apple SoC Power Manager (PMGR) 10 - Hector Martin <marcan@marcan.st> 13 Apple SoCs include PMGR blocks responsible for power management, 14 which can control various clocks, resets, power states, and 16 with sub-nodes representing individual features. 20 pattern: "^power-management@[0-9a-f]+$" 24 - enum: [all …]
|