/openbmc/linux/Documentation/devicetree/bindings/regulator/ |
H A D | mcp16502-regulator.txt | 4 - compatible: "microchip,mcp16502" 5 - reg: I2C slave address 6 - lpm-gpios: GPIO for LPM pin. Note that this GPIO *must* remain high during 7 suspend-to-ram, keeping the PMIC into HIBERNATE mode; this 9 - regulators: A node that houses a sub-node for each regulator within 10 the device. Each sub-node is identified using the node's 11 name. The content of each sub-node is defined by the 15 1) VDD_IO - Buck (1.2 - 3.7 V) 16 2) VDD_DDR - Buck (0.6 - 1.85 V) 17 3) VDD_CORE - Buck (0.6 - 1.85 V) [all …]
|
H A D | richtek,rtq2208.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Alina Yu <alina_yu@richtek.com> 14 multi-configurable synchronous buck converters and two LDOs. 16 Bucks support "regulator-allowed-modes" and "regulator-mode". The former defines the permitted 17 switching operation in normal mode; the latter defines the operation in suspend to RAM mode. 19 No matter the RTQ2208 is configured to normal or suspend to RAM mode, there are two switching 20 operation modes for all buck rails, automatic power saving mode (Auto mode) and forced continuous 21 conduction mode (FCCM). [all …]
|
H A 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# 10 - Javier Martinez Canillas <javier@dowhile0.org> 11 - Krzysztof Kozlowski <krzk@kernel.org> 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 26 1 - Normal regulator voltage output mode. 27 3 - Low Power which reduces the quiescent current down to only 1uA [all …]
|
H A D | active-semi,act8945a.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/regulator/active-semi,act8945a.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Active-semi ACT8945a regulator 10 - Paul Cercueil <paul@crapouillou.net> 14 const: active-semi,act8945a 19 system-power-controller: 25 active-semi,vsel-high: 42 vp1-supply: [all …]
|
H A D | regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Liam Girdwood <lgirdwood@gmail.com> 11 - Mark Brown <broonie@kernel.org> 14 regulator-name: 18 regulator-min-microvolt: 21 regulator-max-microvolt: 24 regulator-microvolt-offset: 28 regulator-min-microamp: [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | stm32mp157c-ed1.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright (C) STMicroelectronics 2017 - All Rights Reserved 6 /dts-v1/; 9 #include "stm32mp157-pinctrl.dtsi" 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/mfd/st,stpmu1.h> 15 compatible = "st,stm32mp157c-ed1", "st,stm32mp157"; 18 stdout-path = "serial3:115200n8"; 25 sd_switch: regulator-sd_switch { 26 compatible = "regulator-gpio"; [all …]
|
/openbmc/linux/tools/power/pm-graph/ |
H A D | sleepgraph.8 | 3 sleepgraph \- Suspend/Resume timing analysis 11 in optimizing their linux stack's suspend/resume time. Using a kernel 13 suspend and capture dmesg and ftrace data until resume is complete. 16 taking the most time in suspend/resume. 19 a suspend/resume. 21 Generates output files in subdirectory: suspend-yymmdd-HHMMSS 22 html timeline : <hostname>_<mode>.html 23 raw dmesg file : <hostname>_<mode>_dmesg.txt 24 raw ftrace file : <hostname>_<mode>_ftrace.txt 27 \fB-h\fR [all …]
|
H A D | README | 8 pm-graph: suspend/resume/boot timing analysis tools 11 …Home Page: https://www.intel.com/content/www/us/en/developer/topic-technology/open/pm-graph/overvi… 13 Report bugs/issues at bugzilla.kernel.org Tools/pm-graph 14 - https://bugzilla.kernel.org/buglist.cgi?component=pm-graph&product=Tools 17 - Getting Started: 20 - Feature Summary: 21 https://www.intel.com/content/www/us/en/developer/topic-technology/open/pm-graph/features.html 23 - upstream version in git: 24 git clone https://github.com/intel/pm-graph/ 27 - Overview [all …]
|
/openbmc/linux/arch/arm/mach-lpc32xx/ |
H A D | pm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * arch/arm/mach-lpc32xx/pm.c 15 * direct-run, and halt modes. When switching between halt and run modes, 16 * the CPU transistions through direct-run mode. For Linux, direct-run 17 * mode is not used in normal operation. Halt mode is used when the 20 * Run mode: 23 * the HCLK_PLL rate. Linux runs in this mode. 25 * Direct-run mode: 28 * source or the frequency of the main oscillator. In this mode, the 31 * Halt mode: [all …]
|
/openbmc/linux/arch/arm/boot/dts/microchip/ |
H A D | at91-sama5d27_wlsom1.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * at91-sama5d27_wlsom1.dtsi - Device Tree file for SAMA5D27 WLSOM1 11 #include "sama5d2-pinfunc.h" 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/mfd/atmel-flexcom.h> 14 #include <dt-bindings/pinctrl/at91.h> 18 compatible = "microchip,sama5d27-wlsom1", "atmel,sama5d27", "atmel,sama5d2", "atmel,sama5"; 26 clock-frequency = <32768>; 30 clock-frequency = <24000000>; 35 compatible = "mmc-pwrseq-wilc1000"; [all …]
|
H A D | at91-sama7g5ek.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * at91-sama7g5ek.dts - Device Tree file for SAMA7G5-EK board 11 /dts-v1/; 12 #include "sama7g5-pinfunc.h" 14 #include <dt-bindings/mfd/atmel-flexcom.h> 15 #include <dt-bindings/input/input.h> 16 #include <dt-bindings/pinctrl/at91.h> 17 #include <dt-bindings/sound/microchip,pdmc.h> 20 model = "Microchip SAMA7G5-EK"; 25 stdout-path = "serial0:115200n8"; [all …]
|
/openbmc/linux/Documentation/power/ |
H A D | basic-pm-debugging.rst | 2 Debugging hibernation and suspend 7 1. Testing hibernation (aka suspend to disk or STD) 10 To check if hibernation works, you can try to hibernate in the "reboot" mode:: 21 modes causes the PM core to skip some platform-related callbacks which on ACPI 23 fails to hibernate or resume in the "reboot" mode, you should try the 24 "platform" mode:: 29 which is the default and recommended mode of hibernation. 31 Unfortunately, the "platform" mode of hibernation does not work on some systems 32 with broken BIOSes. In such cases the "shutdown" mode of hibernation might 38 (it is similar to the "reboot" mode, but it requires you to press the power [all …]
|
/openbmc/linux/include/linux/regulator/ |
H A D | machine.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * machine.h -- SoC Regulator support, machine/board driver API. 16 #include <linux/suspend.h> 28 * MODE: Regulator operating mode can be changed by software on this 31 * DRMS: Dynamic Regulator Mode Switching is enabled for this regulator. 32 * BYPASS: Regulator can be put into bypass mode 43 * operations in suspend mode 44 * DO_NOTHING_IN_SUSPEND - the default value 45 * DISABLE_IN_SUSPEND - turn off regulator in suspend states 46 * ENABLE_IN_SUSPEND - keep regulator on in suspend states [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
H A D | base.c | 32 if (therm->func->temp_get) in nvkm_therm_temp_get() 33 return therm->func->temp_get(therm); in nvkm_therm_temp_get() 34 return -ENODEV; in nvkm_therm_temp_get() 40 struct nvbios_therm_trip_point *trip = therm->fan->bios.trip, in nvkm_therm_update_trip() 42 *last_trip = therm->last_trip; in nvkm_therm_update_trip() 43 u8 temp = therm->func->temp_get(therm); in nvkm_therm_update_trip() 48 for (i = 0; i < therm->fan->bios.nr_fan_trip; i++) { in nvkm_therm_update_trip() 54 if (last_trip && temp <= (last_trip->temp) && in nvkm_therm_update_trip() 55 temp > (last_trip->temp - last_trip->hysteresis)) in nvkm_therm_update_trip() 59 duty = cur_trip->fan_duty; in nvkm_therm_update_trip() [all …]
|
/openbmc/linux/tools/power/pm-graph/config/ |
H A D | example.cfg | 2 # Generic S3 (Suspend to Mem) test 9 # sudo ./sleepgraph.py -config config/example.cfg 14 # ---- General Options ---- 20 # Suspend Mode 22 mode: mem 26 output-dir: suspend-{hostname}-{date}-{time} 36 # Suspend/Resume Gap 37 # insert a small visible gap between suspend and resume on the timeline (default: false) 44 # Sync filesystem before suspend 48 # Runtime suspend enable/disable [all …]
|
H A D | suspend-x2-proc.cfg | 2 # Proc S3 (Suspend to Mem) x2 test - includes user processes 9 # sudo ./sleepgraph.py -config config/suspend-proc.cfg 14 # ---- General Options ---- 20 # Suspend Mode 22 mode: mem 26 output-dir: suspend-{hostname}-{date}-{time}-x2-proc 36 # Suspend/Resume Gap 37 # insert a small visible gap between suspend and resume on the timeline (default: false) 40 # ---- Advanced Options ---- 42 # Command to execute in lieu of suspend (default: "") [all …]
|
H A D | suspend-dev.cfg | 2 # Dev S3 (Suspend to Mem) test - includes src calls / kernel threads 9 # sudo ./sleepgraph.py -config config/suspend-dev.cfg 14 # ---- General Options ---- 20 # Suspend Mode 22 mode: mem 26 output-dir: suspend-{hostname}-{date}-{time}-dev 36 # Suspend/Resume Gap 37 # insert a small visible gap between suspend and resume on the timeline (default: false) 40 # ---- Advanced Options ---- 42 # Command to execute in lieu of suspend (default: "") [all …]
|
H A D | suspend.cfg | 2 # Generic S3 (Suspend to Mem) test 9 # sudo ./sleepgraph.py -config config/suspend.cfg 14 # ---- General Options ---- 20 # Suspend Mode 22 mode: mem 26 output-dir: suspend-{hostname}-{date}-{time} 36 # Suspend/Resume Gap 37 # insert a small visible gap between suspend and resume on the timeline (default: false) 40 # ---- Advanced Options ---- 42 # Command to execute in lieu of suspend (default: "") [all …]
|
/openbmc/linux/arch/arm/mach-at91/ |
H A D | pm.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * arch/arm/mach-at91/pm.c 17 #include <linux/suspend.h> 26 #include <asm/suspend.h> 35 * struct at91_pm_bu - AT91 power management backup unit data structure 36 * @suspended: true if suspended to backup mode 38 * @canary: canary data for memory checking after exit from backup mode 52 * struct at91_pm_sfrbu_regs - registers mapping for SFRBU 65 * enum at91_pm_eth_clk - Ethernet clock indexes 77 * enum at91_pm_eth - Ethernet controller indexes [all …]
|
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
H A D | pwrseq.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright(c) 2009-2010 Realtek Corporation.*/ 36 /* disable WL suspend*/}, \ 46 /* 0xc00[7:0] = 4 turn off 3-wire */}, \ 49 /* 0xe00[7:0] = 4 turn off 3-wire */}, \ 61 /* 0x07[7:0] = 0x28 sps pwm mode 0x2a for BT coex*/}, \ 79 /* gpio11 input mode, gpio10~8 output mode */}, \ 85 /* gpio0~7 output mode */}, \ 88 /* 0x47[7:0] = 00 gpio mode */}, \ 91 /* suspend option all off */}, \ [all …]
|
/openbmc/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk3568-radxa-cm3i.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 #include <dt-bindings/gpio/gpio.h> 4 #include <dt-bindings/leds/common.h> 5 #include <dt-bindings/pinctrl/rockchip.h> 16 stdout-path = "serial2:115200n8"; 19 gpio-leds { 20 compatible = "gpio-leds"; 22 led_user: led-0 { 26 linux,default-trigger = "heartbeat"; 27 pinctrl-names = "default"; [all …]
|
H A D | rk3399pro-vmarc-som.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/pinctrl/rockchip.h> 10 #include <dt-bindings/pwm/pwm.h> 13 compatible = "vamrs,rk3399pro-vmarc-som", "rockchip,rk3399pro"; 20 vcc3v3_pcie: vcc-pcie-regulator { 21 compatible = "regulator-fixed"; 22 enable-active-high; 24 pinctrl-names = "default"; 25 pinctrl-0 = <&pcie_pwr>; [all …]
|
H A D | rk3568-fastrhino-r66s.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 3 /dts-v1/; 4 #include <dt-bindings/gpio/gpio.h> 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/leds/common.h> 7 #include <dt-bindings/pinctrl/rockchip.h> 8 #include <dt-bindings/soc/rockchip,vop2.h> 13 stdout-path = "serial2:1500000n8"; 16 gpio-keys { 17 compatible = "gpio-keys"; [all …]
|
/openbmc/linux/drivers/regulator/ |
H A D | da9062-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 // Copyright (C) 2015-2017 Dialog Semiconductor 19 #include <dt-bindings/regulator/dlg,da9063-regulator.h> 49 struct reg_field mode; member 50 struct reg_field suspend; member 65 struct regmap_field *mode; member 66 struct regmap_field *suspend; member 82 * - DA9061_ID_[BUCK1|BUCK3] 83 * - DA9062_ID_[BUCK1|BUCK2|BUCK4] 92 * - DA9061_ID_BUCK2 [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-driver-bd9571mwv-regulator | 1 What: /sys/bus/i2c/devices/.../bd9571mwv-regulator.*.auto/backup_mode 5 Description: Read/write the current state of DDR Backup Mode, which controls 6 if DDR power rails will be kept powered during system suspend. 11 Backup Mode is enabled by default when available, as the 12 PMIC will be configured only during system suspend. 16 1. Configure PMIC for backup mode, to change the role of 18 wake-up switch, 20 system suspend, which is a manual step not controlled 22 3. Suspend system, 26 DDR Backup Mode must be explicitly enabled by the user,
|