| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/soc/rockchip/ |
| H A 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,rv1126-power-controller" - for RV1126 SoCs 10 "rockchip,rk1808-power-controller" - for RK1808 SoCs 11 "rockchip,rk3036-power-controller" - for RK3036 SoCs. 12 "rockchip,rk3066-power-controller" - for RK3066 SoCs. 13 "rockchip,rk3128-power-controller" - for RK3128 SoCs. [all …]
|
| /OK3568_Linux_fs/kernel/drivers/base/power/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/power/supply/ |
| H A D | axp20x_usb_power.c | 3 * AXP20x PMIC USB power supply status driver 26 #define DRVNAME "axp20x-usb-power-supply" 76 static bool axp20x_usb_vbus_needs_polling(struct axp20x_usb_power *power) in axp20x_usb_vbus_needs_polling() argument 83 if (power->axp20x_id >= AXP221_ID && !power->online) in axp20x_usb_vbus_needs_polling() 91 struct axp20x_usb_power *power = devid; in axp20x_usb_power_irq() local 93 power_supply_changed(power->supply); in axp20x_usb_power_irq() 95 mod_delayed_work(system_wq, &power->vbus_detect, DEBOUNCE_TIME); in axp20x_usb_power_irq() 102 struct axp20x_usb_power *power = in axp20x_usb_power_poll_vbus() local 107 ret = regmap_read(power->regmap, AXP20X_PWR_INPUT_STATUS, &val); in axp20x_usb_power_poll_vbus() 112 if (val != power->old_status) in axp20x_usb_power_poll_vbus() [all …]
|
| H A D | axp20x_ac_power.c | 3 * AXP20X and AXP22X PMICs' ACIN power supply driver 40 #define DRVNAME "axp20x-ac-power-supply" 54 struct axp20x_ac_power *power = devid; in axp20x_ac_power_irq() local 56 power_supply_changed(power->supply); in axp20x_ac_power_irq() 65 struct axp20x_ac_power *power = power_supply_get_drvdata(psy); in axp20x_ac_power_get_property() local 70 ret = regmap_read(power->regmap, AXP20X_PWR_INPUT_STATUS, ®); in axp20x_ac_power_get_property() 83 ret = regmap_read(power->regmap, AXP20X_PWR_INPUT_STATUS, ®); in axp20x_ac_power_get_property() 91 ret = regmap_read(power->regmap, AXP20X_PWR_INPUT_STATUS, ®); in axp20x_ac_power_get_property() 98 if (val->intval && power->has_acin_path_sel) { in axp20x_ac_power_get_property() 99 ret = regmap_read(power->regmap, AXP813_ACIN_PATH_CTRL, in axp20x_ac_power_get_property() [all …]
|
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/nvec/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/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 30 - #power-domain-cells: Must be 1 [all …]
|
| /OK3568_Linux_fs/u-boot/include/ |
| H A D | power-domain.h | 11 * A power domain is a portion of an SoC or chip that is powered by a 12 * switchable source of power. In many cases, software has control over the 13 * power domain, and can turn the power source on or off. This is typically 14 * done to save power by powering off unused devices, or to enable software 16 * drivers to turn power domains on and off. 18 * A driver that implements UCLASS_POWER_DOMAIN is a power domain controller or 19 * provider. A controller will often implement multiple separate power domains, 21 * power-domain-uclass.h describes the interface which power domain controllers 24 * Depending on the power domain controller hardware, changing the state of a 25 * power domain may require performing related operations on other resources. [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/power/regulator/ |
| H A D | rk8xx.su | |
| H A D | regulator-uclass.su | |
| /OK3568_Linux_fs/u-boot/drivers/power/fuel_gauge/ |
| H A D | fg_rk817.su | |
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/power/ |
| H A D | power-domain.yaml | 4 $id: http://devicetree.org/schemas/power/power-domain.yaml# 16 used for power gating of selected IP blocks for power saving by reduced leakage 24 \#power-domain-cells property in the PM domain provider node. 28 pattern: "^(power-controller|power-domain)([@-].*)?$" 34 power-domain provider. The idle state definitions are compatible with the 46 Phandles to the OPP tables of power domains provided by a power domain 47 provider. If the provider provides a single power domain only or all 48 the power domains provided by the provider have identical OPP tables, 52 "#power-domain-cells": 56 domains (e.g. power controllers), but can be any value as specified [all …]
|
| H A D | fsl,imx-gpcv2.yaml | 4 $id: http://devicetree.org/schemas/power/fsl,imx-gpcv2.yaml# 7 title: Freescale i.MX General Power Controller v2 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 19 described as subnodes of the power gating controller 'pgc' node. 21 IP cores belonging to a power domain should contain a 'power-domains' 42 description: list of power domains provided by this controller. 45 "power-domain@[0-9]$": [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 35 power-domains = <&power 0>; 36 power-domain-names = "io"; [all …]
|
| /OK3568_Linux_fs/kernel/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 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 …]
|
| H A D | dtpm.rst | 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. 36 The DTPM is a tree representation describing the power constraints [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/dp/ |
| H A D | dp_power.c | 25 static void dp_power_regulator_disable(struct dp_power_private *power) in dp_power_regulator_disable() argument 27 struct regulator_bulk_data *s = power->supplies; in dp_power_regulator_disable() 28 const struct dp_reg_entry *regs = power->parser->regulator_cfg->regs; in dp_power_regulator_disable() 29 int num = power->parser->regulator_cfg->num; in dp_power_regulator_disable() 41 static int dp_power_regulator_enable(struct dp_power_private *power) in dp_power_regulator_enable() argument 43 struct regulator_bulk_data *s = power->supplies; in dp_power_regulator_enable() 44 const struct dp_reg_entry *regs = power->parser->regulator_cfg->regs; in dp_power_regulator_enable() 45 int num = power->parser->regulator_cfg->num; in dp_power_regulator_enable() 75 static int dp_power_regulator_init(struct dp_power_private *power) in dp_power_regulator_init() argument 77 struct regulator_bulk_data *s = power->supplies; in dp_power_regulator_init() [all …]
|
| H A D | dp_power.h | 12 * sruct dp_power - DisplayPort's power related data 26 * dp_power_init() - enable power supplies for display controller 28 * @power: instance of power module 35 int dp_power_init(struct dp_power *power, bool flip); 40 * @power: instance of power module 43 * This API turns off power and regulators. 45 int dp_power_deinit(struct dp_power *power); 50 * @power: instance of power module 52 * return: status of power clocks 62 * @power: instance of power module [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/hwmon/ |
| H A 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 …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-exynos/ |
| H A D | power.c | 10 #include <asm/arch/power.h> 42 struct exynos5_power *power = in exynos5_set_usbhost_phy_ctrl() local 47 setbits_le32(&power->usbhost_phy_control, in exynos5_set_usbhost_phy_ctrl() 51 clrbits_le32(&power->usbhost_phy_control, in exynos5_set_usbhost_phy_ctrl() 58 struct exynos4412_power *power = in exynos4412_set_usbhost_phy_ctrl() local 63 setbits_le32(&power->usbhost_phy_control, in exynos4412_set_usbhost_phy_ctrl() 65 setbits_le32(&power->hsic1_phy_control, in exynos4412_set_usbhost_phy_ctrl() 67 setbits_le32(&power->hsic2_phy_control, in exynos4412_set_usbhost_phy_ctrl() 71 clrbits_le32(&power->usbhost_phy_control, in exynos4412_set_usbhost_phy_ctrl() 73 clrbits_le32(&power->hsic1_phy_control, in exynos4412_set_usbhost_phy_ctrl() [all …]
|
| /OK3568_Linux_fs/kernel/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 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 …]
|
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/soc/bcm/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/acpi/ |
| H A D | device_pm.c | 3 * drivers/acpi/device_pm.c - ACPI device power management routines. 28 * acpi_power_state_string - String representation of ACPI device power state. 29 * @state: ACPI device power state to return the string representation of. 63 * acpi_device_get_power - Get power state of an ACPI device. 64 * @device: Device to get the power state of. 65 * @state: Place to store the power state of the device. 67 * This function does not update the device's power.state field, but it may 68 * update its parent's power.state field (when the parent's power state is 69 * unknown and the device's power state turns out to be D0). 71 * Also, it does not update power resource reference counters to ensure that [all …]
|
| /OK3568_Linux_fs/kernel/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 …]
|