| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/regulator/ |
| D | samsung,s5m8767.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: Samsung S5M8767 Power Management IC regulators 10 - Krzysztof Kozlowski <krzk@kernel.org> 13 This is a part of device tree bindings for S2M and S5M family of Power 23 "^LDO([1-9]|1[0-9]|2[0-8])$": 36 Describes the different operating modes of the LDO's with power mode 38 0 - always off mode 39 1 - on in normal mode [all …]
|
| D | maxim,max77802.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: Maxim MAX77802 Power Management IC regulators 10 - Javier Martinez Canillas <javier@dowhile0.org> 11 - Krzysztof Kozlowski <krzk@kernel.org> 14 This is a part of device tree bindings for Maxim MAX77802 Power Management 17 The Maxim MAX77686 provides 10 high-efficiency Buck and 32 Low-DropOut (LDO) 23 Certain regulators support "regulator-initial-mode" and "regulator-mode". 24 The valid modes list is defined in the dt-bindings/regulator/maxim,max77802.h [all …]
|
| /kernel/linux/linux-5.10/tools/power/x86/x86_energy_perf_policy/ |
| D | x86_energy_perf_policy.8 | 1 .\" This page Copyright (C) 2010 - 2015 Len Brown <len.brown@intel.com> 5 x86_energy_perf_policy \- Manage Energy vs. Performance Policy via x86 Model Specific Registers 10 .RB "scope: \-\-cpu\ cpu-list | \-\-pkg\ pkg-list" 12 .RB "cpu-list, pkg-list: # | #,# | #-# | all" 14 .RB "field: \-\-all | \-\-epb | \-\-hwp-epp | \-\-hwp-min | \-\-hwp-max | \-\-hwp-desired" 16 .RB "other: (\-\-force | \-\-hwp-enable | \-\-turbo-enable) value)" 18 .RB "value: # | default | performance | balance-performance | balance-power | power" 21 displays and updates energy-performance policy settings specific to 23 updates, no matter if the Linux cpufreq sub-system is enabled or not. 27 such as how aggressively the hardware enters and exits CPU idle states (C-states) [all …]
|
| /kernel/linux/linux-6.6/tools/power/x86/x86_energy_perf_policy/ |
| D | x86_energy_perf_policy.8 | 1 .\" This page Copyright (C) 2010 - 2015 Len Brown <len.brown@intel.com> 5 x86_energy_perf_policy \- Manage Energy vs. Performance Policy via x86 Model Specific Registers 10 .RB "scope: \-\-cpu\ cpu-list | \-\-pkg\ pkg-list" 12 .RB "cpu-list, pkg-list: # | #,# | #-# | all" 14 .RB "field: \-\-all | \-\-epb | \-\-hwp-epp | \-\-hwp-min | \-\-hwp-max | \-\-hwp-desired" 16 .RB "other: (\-\-force | \-\-hwp-enable | \-\-turbo-enable) value)" 18 .RB "value: # | default | performance | balance-performance | balance-power | power" 21 displays and updates energy-performance policy settings specific to 23 updates, no matter if the Linux cpufreq sub-system is enabled or not. 27 such as how aggressively the hardware enters and exits CPU idle states (C-states) [all …]
|
| /kernel/liteos_a/kernel/include/ |
| D | los_pm.h | 2 * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved. 3 * Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved. 55 …UINT32 (*suspend)(UINT32 mode); /* The device enters low power consumption, Unlocked task scheduli… 56 …VOID (*resume)(UINT32 mode); /* The device exits from low power consumption, Unlocked task sche… 60 /* Preparations before the CPU enters low power consumption. 61 * All modes except normal mode are invoked. 65 /* The system performs low-power recovery. 66 * All modes except normal mode are invoked. 70 /* The system enters the Normal sleep mode. 71 * In normal mode, the value cannot be NULL. [all …]
|
| /kernel/linux/linux-5.10/drivers/rtc/ |
| D | rtc-sc27xx.c | 4 * SPDX-License-Identifier: GPL-2.0 92 /* power control/status definition */ 113 * The Spreadtrum RTC controller has 3 groups registers, including time, normal 115 * the normal alarm registers are used to set normal alarm, and the auxiliary 118 * event can power up system from power down status. 128 return regmap_write(rtc->regmap, rtc->base + SPRD_RTC_INT_CLR, in sprd_rtc_clear_alarm_ints() 137 ret = regmap_read(rtc->regmap, rtc->base + SPRD_RTC_SPG_VALUE, &val); in sprd_rtc_lock_alarm() 147 ret = regmap_write(rtc->regmap, rtc->base + SPRD_RTC_SPG_UPD, val); in sprd_rtc_lock_alarm() 152 ret = regmap_read_poll_timeout(rtc->regmap, in sprd_rtc_lock_alarm() 153 rtc->base + SPRD_RTC_INT_RAW_STS, val, in sprd_rtc_lock_alarm() [all …]
|
| /kernel/linux/linux-6.6/drivers/rtc/ |
| D | rtc-sc27xx.c | 1 // SPDX-License-Identifier: GPL-2.0 92 /* power control/status definition */ 113 * The Spreadtrum RTC controller has 3 groups registers, including time, normal 115 * the normal alarm registers are used to set normal alarm, and the auxiliary 118 * event can power up system from power down status. 128 return regmap_write(rtc->regmap, rtc->base + SPRD_RTC_INT_CLR, in sprd_rtc_clear_alarm_ints() 137 ret = regmap_read(rtc->regmap, rtc->base + SPRD_RTC_SPG_VALUE, &val); in sprd_rtc_lock_alarm() 147 ret = regmap_write(rtc->regmap, rtc->base + SPRD_RTC_SPG_UPD, val); in sprd_rtc_lock_alarm() 152 ret = regmap_read_poll_timeout(rtc->regmap, in sprd_rtc_lock_alarm() 153 rtc->base + SPRD_RTC_INT_RAW_STS, val, in sprd_rtc_lock_alarm() [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/mfd/ |
| D | samsung,s5m8767.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: Samsung S5M8767 Power Management IC 10 - Krzysztof Kozlowski <krzk@kernel.org> 13 This is a part of device tree bindings for S2M and S5M family of Power 16 The Samsung S5M8767 is a Power Management IC which includes voltage 17 and current regulators, RTC, clock outputs and other sub-blocks. 21 const: samsung,s5m8767-pmic 39 s5m8767,pmic-buck2-dvs-voltage: [all …]
|
| /kernel/linux/linux-6.6/Documentation/ABI/obsolete/ |
| D | sysfs-bus-usb | 1 What: /sys/bus/usb/devices/.../power/level 7 power/level. This file holds a power-level setting for 11 although normal suspends for system sleep will still 16 During normal use, devices should be left in the "auto" 20 write "0" to power/autosuspend. 26 initializes all non-hub devices in the "on" level. Some 30 Use the power/control file instead; it does exactly the
|
| /kernel/linux/linux-5.10/Documentation/ABI/obsolete/ |
| D | sysfs-bus-usb | 1 What: /sys/bus/usb/devices/.../power/level 7 power/level. This file holds a power-level setting for 11 although normal suspends for system sleep will still 16 During normal use, devices should be left in the "auto" 20 write "0" to power/autosuspend. 26 initializes all non-hub devices in the "on" level. Some 30 Use the power/control file instead; it does exactly the
|
| /kernel/liteos_m/components/power/ |
| D | los_pm.h | 2 * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved. 3 * Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved. 42 * Pm error code: Invalid low-power mode. 144 …UINT32 (*suspend)(UINT32 mode); /* The device enters low-power consumption, Unlocked task scheduli… 145 …VOID (*resume)(UINT32 mode); /* The device exits from low-power consumption, Unlocked task sche… 149 /* Low-power timer related implementation functions. 150 * The function is not NULL, the low-power timer is enabled. 152 UINT32 freq; /* The frequency of the low-power timer */ 153 VOID (*timerStart)(UINT64); /* Start the low-power timer and set the response period */ 154 VOID (*timerStop)(VOID); /* Turn off the low-power timer */ [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/regulator/ |
| D | max77802.txt | 3 This is a part of device tree bindings of MAX77802 multi-function device. 6 The MAX77802 PMIC has 10 high-efficiency Buck and 32 Low-dropout (LDO) 12 - inb1-supply: The input supply for BUCK1 13 - inb2-supply: The input supply for BUCK2 14 - inb3-supply: The input supply for BUCK3 15 - inb4-supply: The input supply for BUCK4 16 - inb5-supply: The input supply for BUCK5 17 - inb6-supply: The input supply for BUCK6 18 - inb7-supply: The input supply for BUCK7 19 - inb8-supply: The input supply for BUCK8 [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/ |
| D | st,sta32x.txt | 7 - compatible: "st,sta32x" 8 - reg: the I2C address of the device for I2C 9 - reset-gpios: a GPIO spec for the reset pin. If specified, it will be 12 - power-down-gpios: a GPIO spec for the power down pin. If specified, 16 - Vdda-supply: regulator spec, providing 3.3V 17 - Vdd3-supply: regulator spec, providing 3.3V 18 - Vcc-supply: regulator spec, providing 5V - 26V 22 - clocks, clock-names: Clock specifier for XTI input clock. 24 and disabled when it is removed. The 'clock-names' must be set to 'xti'. 26 - st,output-conf: number, Selects the output configuration: [all …]
|
| D | st,sta350.txt | 7 - compatible: "st,sta350" 8 - reg: the I2C address of the device for I2C 9 - reset-gpios: a GPIO spec for the reset pin. If specified, it will be 12 - power-down-gpios: a GPIO spec for the power down pin. If specified, 16 - vdd-dig-supply: regulator spec, providing 3.3V 17 - vdd-pll-supply: regulator spec, providing 3.3V 18 - vcc-supply: regulator spec, providing 5V - 26V 22 - st,output-conf: number, Selects the output configuration: 23 0: 2-channel (full-bridge) power, 2-channel data-out 24 1: 2 (half-bridge). 1 (full-bridge) on-board power [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/ |
| D | st,sta32x.txt | 7 - compatible: "st,sta32x" 8 - reg: the I2C address of the device for I2C 9 - reset-gpios: a GPIO spec for the reset pin. If specified, it will be 12 - power-down-gpios: a GPIO spec for the power down pin. If specified, 16 - Vdda-supply: regulator spec, providing 3.3V 17 - Vdd3-supply: regulator spec, providing 3.3V 18 - Vcc-supply: regulator spec, providing 5V - 26V 22 - clocks, clock-names: Clock specifier for XTI input clock. 24 and disabled when it is removed. The 'clock-names' must be set to 'xti'. 26 - st,output-conf: number, Selects the output configuration: [all …]
|
| D | st,sta350.txt | 7 - compatible: "st,sta350" 8 - reg: the I2C address of the device for I2C 9 - reset-gpios: a GPIO spec for the reset pin. If specified, it will be 12 - power-down-gpios: a GPIO spec for the power down pin. If specified, 16 - vdd-dig-supply: regulator spec, providing 3.3V 17 - vdd-pll-supply: regulator spec, providing 3.3V 18 - vcc-supply: regulator spec, providing 5V - 26V 22 - st,output-conf: number, Selects the output configuration: 23 0: 2-channel (full-bridge) power, 2-channel data-out 24 1: 2 (half-bridge). 1 (full-bridge) on-board power [all …]
|
| /kernel/linux/linux-5.10/drivers/nvmem/ |
| D | sprd-efuse.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include <linux/nvmem-provider.h> 39 * The Spreadtrum AP efuse contains 2 parts: normal efuse and secure efuse, 40 * and we can only access the normal efuse in kernel. So define the normal 41 * block offset index and normal block numbers. 50 * Since different Spreadtrum SoC chip can have different normal block numbers 79 * On Spreadtrum platform, we have multi-subsystems will access the unique 87 mutex_lock(&efuse->mutex); in sprd_efuse_lock() 89 ret = hwspin_lock_timeout_raw(efuse->hwlock, in sprd_efuse_lock() 92 dev_err(efuse->dev, "timeout get the hwspinlock\n"); in sprd_efuse_lock() [all …]
|
| /kernel/linux/linux-6.6/drivers/nvmem/ |
| D | sprd-efuse.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include <linux/nvmem-provider.h> 39 * The Spreadtrum AP efuse contains 2 parts: normal efuse and secure efuse, 40 * and we can only access the normal efuse in kernel. So define the normal 41 * block offset index and normal block numbers. 50 * Since different Spreadtrum SoC chip can have different normal block numbers 79 * On Spreadtrum platform, we have multi-subsystems will access the unique 87 mutex_lock(&efuse->mutex); in sprd_efuse_lock() 89 ret = hwspin_lock_timeout_raw(efuse->hwlock, in sprd_efuse_lock() 92 dev_err(efuse->dev, "timeout get the hwspinlock\n"); in sprd_efuse_lock() [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/input/ |
| D | iqs269a.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 13 The Azoteq IQS269A is an 8-channel capacitive touch controller that features 14 additional Hall-effect and inductive sensing capabilities. 28 "#address-cells": 31 "#size-cells": 34 azoteq,hall-enable: 37 Enables Hall-effect sensing on channels 6 and 7. In this case, keycodes [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/ |
| D | iqs269a.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 13 The Azoteq IQS269A is an 8-channel capacitive touch controller that features 14 additional Hall-effect and inductive sensing capabilities. 28 "#address-cells": 31 "#size-cells": 34 azoteq,hall-enable: 37 Enables Hall-effect sensing on channels 6 and 7. In this case, keycodes [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/mmc/ |
| D | renesas,mmcif.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Wolfram Sang <wsa+renesas@sang-engineering.com> 13 - $ref: mmc-controller.yaml 18 - enum: 19 - renesas,mmcif-r7s72100 # RZ/A1H 20 - renesas,mmcif-r8a73a4 # R-Mobile APE6 21 - renesas,mmcif-r8a7740 # R-Mobile A1 22 - renesas,mmcif-r8a7742 # RZ/G1H [all …]
|
| /kernel/linux/linux-5.10/arch/x86/kernel/cpu/ |
| D | intel_epb.c | 1 // SPDX-License-Identifier: GPL-2.0 26 * preference with respect to the power-performance tradeoffs present in the 32 * system-wide transitions from sleep states back into the working state 35 * system-wide transitions to sleep states and restore them on the way back to 41 * a system-wide PM transition is started are not taken offline again, but their 51 * it on CPU bring-up and if the initial EPB value for a given CPU is 0, the 52 * kernel changes it to 6 ('normal'). 89 * ('normal'). in intel_epb_restore() 94 pr_warn_once("ENERGY_PERF_BIAS: Set to 'normal', was 'performance'\n"); in intel_epb_restore() 107 "balance-performance", [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/pinctrl/ |
| D | nvidia,tegra-pinmux-common.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/nvidia,tegra-pinmux-common.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jonathan Hunter <jonathanh@nvidia.com> 14 Please refer to pinctrl-bindings.txt in this directory for details of the 22 pin configuration parameters, such as pull-up, tristate, drive strength, 46 $ref: /schemas/types.yaml#/definitions/string-array 57 description: Pull-down/up setting to apply to the pin. [all …]
|
| /kernel/liteos_a/fs/proc/os_adapt/ |
| D | power_proc.c | 2 * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved. 3 * Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved. 44 return -LOS_PmLockRequest(buf); in PowerLockWrite() 65 return -LOS_PmLockRelease(buf); in PowerUnlockWrite() 85 if (strcmp(buf, "normal") == 0) { in PowerModeWrite() 95 return -EINVAL; in PowerModeWrite() 98 return -LOS_PmModeSet(mode); in PowerModeWrite() 105 LosBufPrintf(m, "normal light deep shutdown\n"); in PowerModeRead() 136 return -LOS_PmSuspend(weakCount); in PowerCountWrite() 149 …struct ProcDirEntry *power = CreateProcEntry("power", S_IFDIR | S_IRWXU | S_IRWXG | S_IROTH, NULL); in ProcPmInit() local [all …]
|
| /kernel/linux/linux-6.6/arch/x86/kernel/cpu/ |
| D | intel_epb.c | 1 // SPDX-License-Identifier: GPL-2.0 27 * preference with respect to the power-performance tradeoffs present in the 33 * system-wide transitions from sleep states back into the working state 36 * system-wide transitions to sleep states and restore them on the way back to 42 * a system-wide PM transition is started are not taken offline again, but their 52 * it on CPU bring-up and if the initial EPB value for a given CPU is 0, the 53 * kernel changes it to 6 ('normal'). 106 * ('normal'). in intel_epb_restore() 111 pr_warn_once("ENERGY_PERF_BIAS: Set to 'normal', was 'performance'\n"); in intel_epb_restore() 124 [EPB_INDEX_BALANCE_PERFORMANCE] = "balance-performance", [all …]
|