/Linux-v5.4/Documentation/devicetree/bindings/soc/rockchip/ |
D | power_domain.txt | 1 * Rockchip Power Domains 3 Rockchip processors include support for multiple power domains which can be 4 powered up/down by software based on different application scenes to save power. 6 Required properties for power domain controller: 8 "rockchip,px30-power-controller" - for PX30 SoCs. 9 "rockchip,rk3036-power-controller" - for RK3036 SoCs. 10 "rockchip,rk3066-power-controller" - for RK3066 SoCs. 11 "rockchip,rk3128-power-controller" - for RK3128 SoCs. 12 "rockchip,rk3188-power-controller" - for RK3188 SoCs. 13 "rockchip,rk3228-power-controller" - for RK3228 SoCs. [all …]
|
/Linux-v5.4/drivers/base/power/ |
D | runtime.c | 3 * drivers/base/power/runtime.c - Helper functions for device runtime PM 17 #include "power.h" 55 * update_pm_runtime_accounting - Update the time accounting of power states 58 * In order to be able to have time accounting of the various power states 69 if (dev->power.disable_depth > 0) in update_pm_runtime_accounting() 72 last = dev->power.accounting_timestamp; in update_pm_runtime_accounting() 75 dev->power.accounting_timestamp = now; in update_pm_runtime_accounting() 87 if (dev->power.runtime_status == RPM_SUSPENDED) in update_pm_runtime_accounting() 88 dev->power.suspended_time += delta; in update_pm_runtime_accounting() 90 dev->power.active_time += delta; in update_pm_runtime_accounting() [all …]
|
D | sysfs.c | 11 #include "power.h" 16 * Runtime power management of a device can be blocked with the help of 18 * the power/control file: 20 * + "auto\n" to allow the device to be power managed at run time; 21 * + "on\n" to prevent the device from being power managed at run time; 24 * subject to automatic power management, depending on their drivers. 25 * Changing this attribute to "on" prevents the driver from power managing 32 * used to activate devices from suspended or low power states. Such 33 * devices have one of three values for the sysfs power/wakeup file: 42 * keyboards and mice (both PS2 and USB styles), power buttons, modems, [all …]
|
/Linux-v5.4/Documentation/devicetree/bindings/power/ |
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. 17 - #power-domain-cells : Number of cells in a PM domain specifier; 19 providing multiple PM domains (e.g. power controllers), but can be any value 23 - power-domains : A phandle and PM domain specifier as defined by bindings of 24 the power controller specified by phandle. 25 Some power domains might be powered from another power domain (or have 29 specified by this binding. More details about power domain specifier are 33 generic domain power state. The idle state definitions are 43 - operating-points-v2 : Phandles to the OPP tables of power domains provided by [all …]
|
D | fsl,imx-gpcv2.txt | 1 Freescale i.MX General Power Controller v2 4 The i.MX7S/D General Power Control (GPC) block contains Power Gating 5 Control (PGC) for various power domains. 18 Power domains contained within GPC node are generic power domain 20 Documentation/devicetree/bindings/power/power_domain.txt, which are 21 described as subnodes of the power gating controller 'pgc' node, 26 - reg: Power domain index. Valid values are defined in 27 include/dt-bindings/power/imx7-power.h for fsl,imx7d-gpc and 28 include/dt-bindings/power/imx8m-power.h for fsl,imx8mq-gpc 30 - #power-domain-cells: Should be 0 [all …]
|
D | fsl,imx-gpc.txt | 1 Freescale i.MX General Power Controller 4 The i.MX6 General Power Control (GPC) block contains DVFS load tracking 5 counters and Power Gating Control (PGC). 21 The power domains are generic power domain providers as documented in 22 Documentation/devicetree/bindings/power/power_domain.txt. They are described as 23 subnodes of the power gating controller 'pgc' node of the GPC and should 27 - reg: Must contain the DOMAIN_INDEX of this power domain 36 - #power-domain-cells: Should be 0 40 power-up sequencing to ensure reset propagation into devices located inside 41 this power domain [all …]
|
D | pd-samsung.txt | 1 * Samsung Exynos Power Domains 3 Exynos processors include support for multiple power domains which are used 4 to gate power to one or more peripherals on the processor. 8 * samsung,exynos4210-pd - for exynos4210 type power domain. 9 * samsung,exynos5433-pd - for exynos5433 type power domain. 12 - #power-domain-cells: number of cells in power domain specifier; 18 - power-domains: phandle pointing to the parent power domain, for more details 19 see Documentation/devicetree/bindings/power/power_domain.txt 25 Node of a device using power domains must have a power-domains property 26 defined with a phandle to respective power domain. [all …]
|
D | qcom,rpmpd.txt | 1 Qualcomm RPM/RPMh Power domains 3 For RPM/RPMh Power domains, we communicate a performance state to RPM/RPMh 8 * qcom,msm8996-rpmpd: RPM Power domain for the msm8996 family of SoC 9 * qcom,msm8998-rpmpd: RPM Power domain for the msm8998 family of SoC 10 * qcom,qcs404-rpmpd: RPM Power domain for the qcs404 family of SoC 11 * qcom,sdm845-rpmhpd: RPMh Power domain for the sdm845 family of SoC 12 - #power-domain-cells: number of cells in Power domain specifier 14 - operating-points-v2: Phandle to the OPP table for the Power domain. 15 Refer to Documentation/devicetree/bindings/power/power_domain.txt 18 Refer to <dt-bindings/power/qcom-rpmpd.h> for the level values for [all …]
|
/Linux-v5.4/Documentation/devicetree/bindings/soc/mediatek/ |
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.txt. 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/mt2701-power.h 15 - include/dt-bindings/power/mt2712-power.h 16 - include/dt-bindings/power/mt7622-power.h 28 - #power-domain-cells: Must be 1 33 enabled before enabling certain power domains. [all …]
|
/Linux-v5.4/drivers/staging/nvec/ |
D | nvec_power.c | 3 * nvec_power: power supply driver for a NVIDIA compliant embedded controller 87 struct nvec_power *power = in nvec_power_notifier() local 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 134 if (power->bat_present == 0) { in nvec_power_bat_notifier() 136 get_bat_mfg_data(power); in nvec_power_bat_notifier() 139 power->bat_present = 1; in nvec_power_bat_notifier() [all …]
|
/Linux-v5.4/drivers/power/supply/ |
D | axp20x_usb_power.c | 3 * AXP20x PMIC USB power supply status driver 25 #define DRVNAME "axp20x-usb-power-supply" 70 struct axp20x_usb_power *power = devid; in axp20x_usb_power_irq() local 72 power_supply_changed(power->supply); in axp20x_usb_power_irq() 79 struct axp20x_usb_power *power = in axp20x_usb_power_poll_vbus() local 84 ret = regmap_read(power->regmap, AXP20X_PWR_INPUT_STATUS, &val); in axp20x_usb_power_poll_vbus() 89 if (val != power->old_status) in axp20x_usb_power_poll_vbus() 90 power_supply_changed(power->supply); in axp20x_usb_power_poll_vbus() 92 power->old_status = val; in axp20x_usb_power_poll_vbus() 95 mod_delayed_work(system_wq, &power->vbus_detect, DEBOUNCE_TIME); in axp20x_usb_power_poll_vbus() [all …]
|
D | axp20x_ac_power.c | 3 * AXP20X and AXP22X PMICs' ACIN power supply driver 36 #define DRVNAME "axp20x-ac-power-supply" 47 struct axp20x_ac_power *power = devid; in axp20x_ac_power_irq() local 49 power_supply_changed(power->supply); in axp20x_ac_power_irq() 58 struct axp20x_ac_power *power = power_supply_get_drvdata(psy); in axp20x_ac_power_get_property() local 63 ret = regmap_read(power->regmap, AXP20X_PWR_INPUT_STATUS, ®); in axp20x_ac_power_get_property() 76 ret = regmap_read(power->regmap, AXP20X_PWR_INPUT_STATUS, ®); in axp20x_ac_power_get_property() 84 ret = regmap_read(power->regmap, AXP20X_PWR_INPUT_STATUS, ®); in axp20x_ac_power_get_property() 92 ret = iio_read_channel_processed(power->acin_v, &val->intval); in axp20x_ac_power_get_property() 96 /* IIO framework gives mV but Power Supply framework gives uV */ in axp20x_ac_power_get_property() [all …]
|
D | wm831x_power.c | 67 * WALL Power 98 * USB Power 510 * posterity, we're probably about to run out of power. */ in wm831x_syslo_irq() 521 dev_dbg(wm831x->dev, "Power source changed\n"); in wm831x_pwr_src_irq() 536 struct wm831x_power *power; in wm831x_power_probe() local 539 power = devm_kzalloc(&pdev->dev, sizeof(struct wm831x_power), in wm831x_power_probe() 541 if (power == NULL) in wm831x_power_probe() 544 power->wm831x = wm831x; in wm831x_power_probe() 545 platform_set_drvdata(pdev, power); in wm831x_power_probe() 548 snprintf(power->wall_name, sizeof(power->wall_name), in wm831x_power_probe() [all …]
|
/Linux-v5.4/Documentation/hwmon/ |
D | occ.rst | 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. 77 power[1-n]_input 78 Latest measured power reading of the component in 80 power[1-n]_average 81 Average power of the component in microwatts. 82 power[1-n]_average_interval 83 The amount of time over which the power average 86 [with power sensor version < 2] 88 power[1-n]_label [all …]
|
/Linux-v5.4/Documentation/power/powercap/ |
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 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 21 given zone belongs to. They each contain attributes for monitoring power, as [all …]
|
/Linux-v5.4/Documentation/ABI/testing/ |
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 24 What: /sys/power/mem_sleep 28 The /sys/power/mem_sleep file controls the operating mode of 32 to suspend the system (by writing "mem" to the /sys/power/state 42 What: /sys/power/disk [all …]
|
D | sysfs-class-powercap | 6 The powercap/ class sub directory belongs to the power cap 8 Documentation/power/powercap/powercap.rst for details. 16 Here <control type> determines how the power is going to be 17 controlled. A <control type> can contain multiple power zones. 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> 32 A power zone is a single or a collection of devices, which can 33 be independently monitored and controlled. A power zone sysfs 37 What: /sys/class/powercap/<control type>/<power zone>/<child power zone> [all …]
|
/Linux-v5.4/drivers/soc/bcm/ |
D | bcm2835-power.c | 3 * Power domain driver for Broadcom BCM2835 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)) 129 #define ASB_READ(reg) readl(power->asb + (reg)) 130 #define ASB_WRITE(reg, val) writel(PM_PASSWORD | (val), power->asb + (reg)) 134 struct bcm2835_power *power; member 151 static int bcm2835_asb_enable(struct bcm2835_power *power, u32 reg) in bcm2835_asb_enable() argument 171 static int bcm2835_asb_disable(struct bcm2835_power *power, u32 reg) in bcm2835_asb_disable() argument 193 struct bcm2835_power *power = pd->power; in bcm2835_power_power_off() local [all …]
|
/Linux-v5.4/arch/powerpc/boot/dts/fsl/ |
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 …]
|
D | e5500_power_isa.dtsi | 2 * e5500 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 …]
|
D | e500mc_power_isa.dtsi | 2 * e500mc 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-v5.4/drivers/acpi/ |
D | device_pm.c | 3 * drivers/acpi/device_pm.c - ACPI device power management routines. 27 * acpi_power_state_string - String representation of ACPI device power state. 28 * @state: ACPI device power state to return the string representation of. 62 * acpi_device_get_power - Get power state of an ACPI device. 63 * @device: Device to get the power state of. 64 * @state: Place to store the power state of the device. 66 * This function does not update the device's power.state field, but it may 67 * update its parent's power.state field (when the parent's power state is 68 * unknown and the device's power state turns out to be D0). 70 * Also, it does not update power resource reference counters to ensure that [all …]
|
/Linux-v5.4/Documentation/devicetree/bindings/arm/tegra/ |
D | nvidia,tegra20-pmc.txt | 1 NVIDIA Tegra Power Management Controller (PMC) 3 == Power Management Controller Node == 5 The PMC block interacts with an external Power Management Unit. The PMC 7 modes. It provides power-gating controllers for SoC and CPU power-islands. 27 The PMU is an external Power Management Unit, whose interrupt output 36 - nvidia,core-power-req-active-high : Boolean, core power request active-high 38 - nvidia,combined-power-req : Boolean, combined power request for CPU & Core 39 - nvidia,cpu-pwr-good-en : Boolean, CPU power good signal (from PMIC to PMC) 43 - nvidia,cpu-pwr-good-time : CPU power good time in uS. 44 - nvidia,cpu-pwr-off-time : CPU power off time in uS. [all …]
|
/Linux-v5.4/Documentation/driver-api/thermal/ |
D | power_allocator.rst | 2 Power allocator governor tunables 22 The power allocator governor implements a 24 temperature as the control input and power as the controlled output: 48 | S |-----+----->| sum e |----->| X |--->| S |-->| S |-->|power | 60 Sustainable power 63 An estimate of the sustainable dissipatable power (in mW) should be 65 sustained power that can be dissipated at the desired control 66 temperature. This is the maximum sustained power for allocation at 67 the desired maximum temperature. The actual sustained power can vary 72 the thermal ramp. For reference, the sustainable power of a 4" phone [all …]
|
/Linux-v5.4/drivers/power/reset/ |
D | Kconfig | 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" 16 This driver supports turning off board via a ams AS3722 power-off. 72 bool "Cortina Gemini power-off driver" 81 bool "GPIO power-off driver" 85 If your board needs a GPIO high/low to power down, say Y and 97 bool "Hisilicon power-off driver" 103 bool "Qualcomm MSM power-off driver" [all …]
|