Searched +full:regulator +full:- +full:system +full:- +full:load (Results 1 – 25 of 61) sorted by relevance
123
/Linux-v5.10/Documentation/devicetree/bindings/regulator/ |
D | regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/regulator/regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Liam Girdwood <lgirdwood@gmail.com> 11 - Mark Brown <broonie@kernel.org> 14 regulator-name: 15 description: A string used as a descriptive name for regulator outputs 18 regulator-min-microvolt: 21 regulator-max-microvolt: [all …]
|
/Linux-v5.10/arch/arm64/boot/dts/qcom/ |
D | msm8992-bullhead-rev-101.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 6 /dts-v1/; 14 qcom,msm-id = <251 0>, <252 0>; 15 qcom,board-id = <0xb64 0>; 16 qcom,pmic-id = <0x10009 0x1000A 0x0 0x0>; 23 stdout-path = "serial0:115200n8"; 26 reserved-memory { 27 #address-cells = <2>; 28 #size-cells = <2>; 34 console-size = <0x10000>; [all …]
|
D | msm8992-xiaomi-libra.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/input/gpio-keys.h> 18 qcom,msm-id = <251 0 252 0>; 19 qcom,pmic-id = <65545 65546 0 0>; 20 qcom,board-id = <12 0>; 22 /* This enables graphical output via bootloader-enabled display */ 26 #address-cells = <2>; 27 #size-cells = <2>; [all …]
|
D | msm8998-clamshell.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 18 vph_pwr: vph-pwr-regulator { 19 compatible = "regulator-fixed"; 20 regulator-name = "vph_pwr"; 21 regulator-always-on; 22 regulator-boot-on; 30 compatible = "qcom,wcn3990-bt"; 32 vddio-supply = <&vreg_s4a_1p8>; 33 vddxo-supply = <&vreg_l7a_1p8>; 34 vddrf-supply = <&vreg_l17a_1p3>; [all …]
|
D | msm8998-mtp.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 16 stdout-path = "serial0:115200n8"; 19 vph_pwr: vph-pwr-regulator { 20 compatible = "regulator-fixed"; 21 regulator-name = "vph_pwr"; 22 regulator-always-on; 23 regulator-boot-on; 31 compatible = "qcom,wcn3990-bt"; 33 vddio-supply = <&vreg_s4a_1p8>; 34 vddxo-supply = <&vreg_l7a_1p8>; [all …]
|
D | msm8916-longcheer-l8150.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8916-pm8916.dtsi" 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/input.h> 11 compatible = "longcheer,l8150", "qcom,msm8916-v1-qrd/9-v1", "qcom,msm8916"; 18 stdout-path = "serial0"; 21 reserved-memory { 23 /delete-node/ wcnss@89300000; 27 no-map; [all …]
|
D | msm8916-samsung-a2015-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 #include "msm8916-pm8916.dtsi" 4 #include <dt-bindings/gpio/gpio.h> 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/interrupt-controller/irq.h> 14 stdout-path = "serial0"; 17 reserved-memory { 19 tz-apps@85500000 { 21 no-map; 25 gpio-keys { [all …]
|
D | sdm845-cheza-r1.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include "sdm845-cheza.dtsi" 14 compatible = "google,cheza-rev1", "qcom,sdm845"; 17 * FIXED REGULATORS (not in sdm845-cheza.dtsi) - parents above children 22 * pp3500_a_vbob (there's a load switch between them and the EC can 27 pp3500_a_vbob: pp3500-a-vbob-regulator { 28 compatible = "regulator-fixed"; 29 regulator-name = "vreg_bob"; 35 regulator-always-on; [all …]
|
D | sdm845-cheza-r2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include "sdm845-cheza.dtsi" 14 compatible = "google,cheza-rev2", "qcom,sdm845"; 17 * FIXED REGULATORS (not in sdm845-cheza.dtsi) - parents above children 22 * pp3500_a_vbob (there's a load switch between them and the EC can 27 pp3500_a_vbob: pp3500-a-vbob-regulator { 28 compatible = "regulator-fixed"; 29 regulator-name = "vreg_bob"; 35 regulator-always-on; [all …]
|
D | apq8096-db820c.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2014-2016, The Linux Foundation. All rights reserved. 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 12 #include <dt-bindings/sound/qcom,q6afe.h> 13 #include <dt-bindings/sound/qcom,q6asm.h> 27 * drawing no: LM25-P2751-1 38 * the GPIO named lines "GPIO-A" thru "GPIO-L" are the only 55 stdout-path = "serial0:115200n8"; [all …]
|
/Linux-v5.10/Documentation/power/regulator/ |
D | consumer.rst | 2 Regulator Consumer Driver Interface 5 This text describes the regulator interface for consumer device drivers. 9 1. Consumer Regulator Access (static & dynamic drivers) 12 A consumer driver can get access to its supply regulator by calling :: 14 regulator = regulator_get(dev, "Vcc"); 17 then finds the correct regulator by consulting a machine specific lookup table. 19 regulator that supplies this consumer. 21 To release the regulator the consumer driver should call :: 23 regulator_put(regulator); 25 Consumers can be supplied by more than one regulator e.g. codec consumer with [all …]
|
/Linux-v5.10/Documentation/ABI/testing/ |
D | sysfs-class-regulator | 1 What: /sys/class/regulator/.../state 6 Some regulator directories will contain a field called 7 state. This reports the regulator enable control, for 16 'enabled' means the regulator output is ON and is supplying 17 power to the system (assuming no error prevents it). 19 'disabled' means the regulator output is OFF and is not 20 supplying power to the system (unless some non-Linux 27 or microamps to determine configured regulator output levels. 30 What: /sys/class/regulator/.../status 32 Some regulator directories will contain a field called [all …]
|
/Linux-v5.10/include/linux/regulator/ |
D | driver.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * driver.h -- SoC Regulator driver support. 9 * Regulator Driver Interface. 18 #include <linux/regulator/consumer.h> 37 /* The regulator is enabled but not regulating */ 53 * struct regulator_ops - regulator operations. 55 * @enable: Configure the regulator as enabled. 56 * @disable: Configure the regulator as disabled. 57 * @is_enabled: Return 1 if the regulator is enabled, 0 if not. 60 * @set_voltage: Set the voltage for the regulator within the range specified. [all …]
|
D | machine.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * machine.h -- SoC Regulator support, machine/board driver API. 9 * Regulator Machine/Board Interface. 15 #include <linux/regulator/consumer.h> 18 struct regulator; 21 * Regulator operation constraint flags. These flags are used to enable 22 * certain regulator operations and can be OR'ed together. 24 * VOLTAGE: Regulator output voltage can be changed by software on this 26 * CURRENT: Regulator output current can be changed by software on this 28 * MODE: Regulator operating mode can be changed by software on this [all …]
|
D | consumer.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * consumer.h -- SoC Regulator consumer support. 9 * Regulator Consumer Interface. 11 * A Power Management Regulator framework for SoC based devices. 12 * Features:- 15 * o Regulator status. 19 * Dynamic Regulator operating Mode Switching (DRMS) - allows regulators 20 * to use most efficient operating mode depending upon voltage and load and 23 * e.g. Devices x,y,z share regulator r. Device x and y draw 20mA each during 24 * IO and 1mA at idle. Device z draws 100mA when under load and 5mA when [all …]
|
/Linux-v5.10/arch/arm/boot/dts/ |
D | qcom-msm8974-sony-xperia-castor.dts | 1 #include "qcom-msm8974pro.dtsi" 2 #include "qcom-pm8841.dtsi" 3 #include "qcom-pm8941.dtsi" 4 #include <dt-bindings/gpio/gpio.h> 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 10 compatible = "sony,xperia-castor", "qcom,msm8974"; 17 stdout-path = "serial0:115200n8"; 20 gpio-keys { 21 compatible = "gpio-keys"; [all …]
|
D | qcom-apq8074-dragonboard.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "qcom-msm8974.dtsi" 3 #include "qcom-pm8841.dtsi" 4 #include "qcom-pm8941.dtsi" 8 compatible = "qcom,apq8074-dragonboard", "qcom,apq8074"; 17 stdout-path = "serial0:115200n8"; 26 bus-width = <8>; 27 non-removable; 30 vmmc-supply = <&pm8941_l20>; 31 vqmmc-supply = <&pm8941_s3>; [all …]
|
D | qcom-msm8974-fairphone-fp2.dts | 1 #include "qcom-msm8974.dtsi" 2 #include "qcom-pm8841.dtsi" 3 #include "qcom-pm8941.dtsi" 4 #include <dt-bindings/gpio/gpio.h> 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 18 stdout-path = "serial0:115200n8"; 21 gpio-keys { 22 compatible = "gpio-keys"; 23 input-name = "gpio-keys"; [all …]
|
D | qcom-msm8974-samsung-klte.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "qcom-msm8974pro.dtsi" 3 #include "qcom-pma8084.dtsi" 4 #include <dt-bindings/gpio/gpio.h> 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 17 stdout-path = "serial0:115200n8"; 23 pma8084-regulators { 24 compatible = "qcom,rpm-pma8084-regulators"; 28 regulator-min-microvolt = <675000>; [all …]
|
D | qcom-msm8974-sony-xperia-honami.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "qcom-msm8974.dtsi" 3 #include "qcom-pm8841.dtsi" 4 #include "qcom-pm8941.dtsi" 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/input/input.h> 7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 11 compatible = "sony,xperia-honami", "qcom,msm8974"; 18 stdout-path = "serial0:115200n8"; 21 gpio-keys { [all …]
|
D | qcom-msm8974-sony-xperia-amami.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "qcom-msm8974.dtsi" 3 #include "qcom-pm8841.dtsi" 4 #include "qcom-pm8941.dtsi" 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/input/input.h> 7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 11 compatible = "sony,xperia-amami", "qcom,msm8974"; 18 stdout-path = "serial0:115200n8"; 21 gpio-keys { [all …]
|
D | qcom-msm8974-lge-nexus5-hammerhead.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "qcom-msm8974.dtsi" 3 #include "qcom-pm8841.dtsi" 4 #include "qcom-pm8941.dtsi" 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/input/input.h> 7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 19 stdout-path = "serial0:115200n8"; 25 pm8841-regulators { 27 regulator-min-microvolt = <675000>; [all …]
|
/Linux-v5.10/drivers/regulator/ |
D | core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 // core.c -- Voltage/Current Regulator framework. 23 #include <linux/regulator/of_regulator.h> 24 #include <linux/regulator/consumer.h> 25 #include <linux/regulator/coupler.h> 26 #include <linux/regulator/driver.h> 27 #include <linux/regulator/machine.h> 31 #include <trace/events/regulator.h> 67 struct regulator_dev *regulator; member 96 static int _regulator_disable(struct regulator *regulator); [all …]
|
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 2 menuconfig REGULATOR config 3 bool "Voltage and Current Regulator Support" 6 Generic Voltage and Current Regulator support. 14 The intention is to allow systems to dynamically control regulator 26 if REGULATOR 29 bool "Regulator debug support" 34 tristate "Fixed voltage regulator support" 38 managed regulators and simple non-configurable regulators. 41 tristate "Virtual regulator consumer support" [all …]
|
D | of_regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * OF helpers for regulator framework 12 #include <linux/regulator/machine.h> 13 #include <linux/regulator/driver.h> 14 #include <linux/regulator/of_regulator.h> 19 [PM_SUSPEND_STANDBY] = "regulator-state-standby", 20 [PM_SUSPEND_MEM] = "regulator-state-mem", 21 [PM_SUSPEND_MAX] = "regulator-state-disk", 29 struct regulation_constraints *constraints = &(*init_data)->constraints; in of_get_regulation_constraints() 37 n_phandles = of_count_phandle_with_args(np, "regulator-coupled-with", in of_get_regulation_constraints() [all …]
|
123