Home
last modified time | relevance | path

Searched +full:regulator +full:- +full:allowed +full:- +full:modes (Results 1 – 25 of 52) sorted by relevance

123

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/regulator/
Dmt6360-regulator.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/regulator/mt6360-regulator.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: MT6360 Regulator from MediaTek Integrated
10 - Gene Chen <gene_chen@richtek.com>
18 const: mediatek,mt6360-regulator
20 LDO_VIN1-supply:
22 LDO_VIN2-supply:
24 LDO_VIN3-supply:
[all …]
Dmcp16502-regulator.txt4 - 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.
8 - regulators: A node that houses a sub-node for each regulator within
9 the device. Each sub-node is identified using the node's
10 name. The content of each sub-node is defined by the
11 standard binding for regulators; see regulator.txt.
14 1) VDD_IO - Buck (1.2 - 3.7 V)
15 2) VDD_DDR - Buck (0.6 - 1.85 V)
[all …]
Dact8945a-regulator.txt1 Device-Tree bindings for regulators of Active-semi ACT8945A Multi-Function Device
4 - compatible: "active-semi,act8945a", please refer to ../mfd/act8945a.txt.
7 - active-semi,vsel-high: Indicates if the VSEL pin is set to logic-high.
8 If this property is missing, assume the VSEL pin is set to logic-low.
11 - vp1-supply: The input supply for REG_DCDC1
12 - vp2-supply: The input supply for REG_DCDC2
13 - vp3-supply: The input supply for REG_DCDC3
14 - inl45-supply: The input supply for REG_LDO1 and REG_LDO2
15 - inl67-supply: The input supply for REG_LDO3 and REG_LDO4
17 Any standard regulator properties can be used to configure the single regulator.
[all …]
Dact8865-regulator.txt2 -------------------
5 - compatible: "active-semi,act8846" or "active-semi,act8865" or "active-semi,act8600"
6 - reg: I2C slave address
9 - system-power-controller: Telling whether or not this pmic is controlling
10 the system power. See Documentation/devicetree/bindings/power/power-controller.txt .
11 - active-semi,vsel-high: Indicates the VSEL pin is high.
15 - for act8600:
16 - vp1-supply: The input supply for DCDC_REG1
17 - vp2-supply: The input supply for DCDC_REG2
18 - vp3-supply: The input supply for DCDC_REG3
[all …]
Dregulator.yaml1 # 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 …]
Dqcom,rpmh-regulator.txt3 rpmh-regulator devices support PMIC regulator management via the Voltage
4 Regulator Manager (VRM) and Oscillator Buffer (XOB) RPMh accelerators. The APPS
7 parameters for a given regulator: enable state, output voltage, and operating
8 mode. The XOB allows changing only a single parameter for a given regulator:
10 enable state of any PMIC peripheral. It is used for clock buffers, low-voltage
19 RPMh device node. The second level describes each regulator within the PMIC
23 The names used for regulator nodes must match those supported by a given PMIC.
24 Supported regulator node names:
25 PM8005: smps1 - smps4
26 PM8009: smps1 - smps2, ldo1 - ldo7
[all …]
Dda9211.txt2 Voltage Regulator
5 - compatible: "dlg,da9211" or "dlg,da9212" or "dlg,da9213" or "dlg,da9223"
7 - reg: I2C slave address, usually 0x68.
8 - interrupts: the interrupt outputs of the controller
9 - regulators: A node that houses a sub-node for each regulator within the
10 device. Each sub-node is identified using the node's name, with valid
11 values listed below. The content of each sub-node is defined by the
12 standard binding for regulators; see regulator.txt.
16 - enable-gpios: platform gpio for control of BUCKA/BUCKB.
17 - Any optional property defined in regulator.txt
[all …]
Dmt6397-regulator.txt1 Mediatek MT6397 Regulator
4 - compatible: "mediatek,mt6397-regulator"
5 - mt6397regulator: List of regulators provided by this controller. It is named
6 according to its regulator type, buck_<name> and ldo_<name>.
8 for regulators at Documentation/devicetree/bindings/regulator/regulator.txt.
19 BUCK regulators can set regulator-initial-mode and regulator-allowed-modes to
20 values specified in dt-bindings/regulator/mediatek,mt6397-regulator.h
27 compatible = "mediatek,mt6397-regulator";
30 regulator-compatible = "buck_vpca15";
31 regulator-name = "vpca15";
[all …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/mediatek/
Dmt6358.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
9 interrupt-controller;
10 interrupt-parent = <&pio>;
12 #interrupt-cells = <2>;
15 compatible = "mediatek,mt6358-sound";
19 compatible = "mediatek,mt6358-regulator";
22 regulator-name = "vdram1";
23 regulator-min-microvolt = <500000>;
24 regulator-max-microvolt = <2087500>;
25 regulator-ramp-delay = <12500>;
[all …]
Dmt8173-elm.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/input/linux-event-codes.h>
8 #include <dt-bindings/regulator/dlg,da9211-regulator.h>
9 #include <dt-bindings/gpio/gpio.h>
19 compatible = "pwm-backlight";
21 power-supply = <&bl_fixed_reg>;
22 enable-gpios = <&pio 95 GPIO_ACTIVE_HIGH>;
24 pinctrl-names = "default";
25 pinctrl-0 = <&disp_pwm0_pins>;
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dat91-sama5d27_wlsom1.dtsi1 // 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>;
36 atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_USART>;
[all …]
Dat91-sama5d2_xplained.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * at91-sama5d2_xplained.dts - Device Tree file for SAMA5D2 Xplained board
8 /dts-v1/;
10 #include "sama5d2-pinfunc.h"
11 #include <dt-bindings/mfd/atmel-flexcom.h>
12 #include <dt-bindings/gpio/gpio.h>
13 #include <dt-bindings/input/input.h>
14 #include <dt-bindings/regulator/active-semi,8945a-regulator.h>
18 compatible = "atmel,sama5d2-xplained", "atmel,sama5d2", "atmel,sama5";
28 stdout-path = "serial0:115200n8";
[all …]
Dat91-sama5d2_icp.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * at91-sama5d2_icp.dts - Device Tree file for SAMA5D2-ICP board
11 /dts-v1/;
13 #include "sama5d2-pinfunc.h"
14 #include <dt-bindings/gpio/gpio.h>
15 #include <dt-bindings/input/input.h>
16 #include <dt-bindings/mfd/atmel-flexcom.h>
19 model = "Microchip SAMA5D2-ICP";
20 compatible = "microchip,sama5d2-icp", "atmel,sama5d27", "atmel,sama5d2", "atmel,sama5";
32 stdout-path = "serial0:115200n8";
[all …]
/kernel/linux/linux-5.10/include/dt-bindings/regulator/
Dqcom,rpmh-regulator.h1 /* SPDX-License-Identifier: GPL-2.0 */
8 * These mode constants may be used to specify modes for various RPMh regulator
9 * device tree properties (e.g. regulator-initial-mode). Each type of regulator
10 * supports a subset of the possible modes.
13 * load current is allowed. This mode is supported
16 * allowed. This mode corresponds to PFM for SMPS
20 * %RPMH_REGULATOR_MODE_AUTO: Auto mode in which the regulator hardware
22 * upon the real-time load current. This mode is
26 * of the regulator is allowed. This mode
Dmediatek,mt6397-regulator.h1 /* SPDX-License-Identifier: GPL-2.0 */
8 * regulator-initial-mode, regulator-allowed-modes).
9 * See the manufacturer's datasheet for more information on these modes.
Ddlg,da9211-regulator.h1 /* SPDX-License-Identifier: GPL-2.0 */
8 * properties (e.g. regulator-initial-mode, regulator-allowed-modes).
9 * A description of the following modes is in the manufacturers datasheet.
Dmediatek,mt6360-regulator.h1 /* SPDX-License-Identifier: GPL-2.0 */
8 * (eg. regulator-allowed-modes).
9 * See the manufacturer's datasheet for more information on these modes.
/kernel/linux/linux-4.19/include/dt-bindings/regulator/
Dqcom,rpmh-regulator.h1 /* SPDX-License-Identifier: GPL-2.0 */
8 * These mode constants may be used to specify modes for various RPMh regulator
9 * device tree properties (e.g. regulator-initial-mode). Each type of regulator
10 * supports a subset of the possible modes.
13 * load current is allowed. This mode is supported
16 * allowed. This mode corresponds to PFM for SMPS
20 * %RPMH_REGULATOR_MODE_AUTO: Auto mode in which the regulator hardware
22 * upon the real-time load current. This mode is
26 * of the regulator is allowed. This mode
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/regulator/
Dregulator.txt4 - regulator-name: A string used as a descriptive name for regulator outputs
5 - regulator-min-microvolt: smallest voltage consumers may set
6 - regulator-max-microvolt: largest voltage consumers may set
7 - regulator-microvolt-offset: Offset applied to voltages to compensate for voltage drops
8 - regulator-min-microamp: smallest current consumers may set
9 - regulator-max-microamp: largest current consumers may set
10 - regulator-input-current-limit-microamp: maximum input current regulator allows
11 - regulator-always-on: boolean, regulator should never be disabled
12 - regulator-boot-on: bootloader/firmware enabled regulator
13 - regulator-allow-bypass: allow the regulator to go into bypass mode
[all …]
Dqcom,rpmh-regulator.txt3 rpmh-regulator devices support PMIC regulator management via the Voltage
4 Regulator Manager (VRM) and Oscillator Buffer (XOB) RPMh accelerators. The APPS
7 parameters for a given regulator: enable state, output voltage, and operating
8 mode. The XOB allows changing only a single parameter for a given regulator:
10 enable state of any PMIC peripheral. It is used for clock buffers, low-voltage
19 RPMh device node. The second level describes each regulator within the PMIC
23 The names used for regulator nodes must match those supported by a given PMIC.
24 Supported regulator node names:
25 PM8998: smps1 - smps13, ldo1 - ldo28, lvs1 - lvs2
27 PM8005: smps1 - smps4
[all …]
/kernel/linux/linux-4.19/drivers/regulator/
Dof_regulator.c2 * OF helpers for regulator framework
16 #include <linux/regulator/machine.h>
17 #include <linux/regulator/driver.h>
18 #include <linux/regulator/of_regulator.h>
23 [PM_SUSPEND_MEM] = "regulator-state-mem",
24 [PM_SUSPEND_MAX] = "regulator-state-disk",
31 struct regulation_constraints *constraints = &(*init_data)->constraints; in of_get_regulation_constraints()
38 constraints->name = of_get_property(np, "regulator-name", NULL); in of_get_regulation_constraints()
40 if (!of_property_read_u32(np, "regulator-min-microvolt", &pval)) in of_get_regulation_constraints()
41 constraints->min_uV = pval; in of_get_regulation_constraints()
[all …]
Dcore.c2 * core.c -- Voltage/Current Regulator framework.
30 #include <linux/regulator/of_regulator.h>
31 #include <linux/regulator/consumer.h>
32 #include <linux/regulator/driver.h>
33 #include <linux/regulator/machine.h>
37 #include <trace/events/regulator.h>
70 struct regulator_dev *regulator; member
108 static struct regulator *create_regulator(struct regulator_dev *rdev,
111 static void _regulator_put(struct regulator *regulator);
115 if (rdev->constraints && rdev->constraints->name) in rdev_get_name()
[all …]
/kernel/linux/linux-5.10/drivers/regulator/
Dof_regulator.c1 // 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 …]
Dcore.c1 // 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 …]
/kernel/linux/linux-5.10/drivers/iio/adc/
Dmcp320x.c1 // SPDX-License-Identifier: GPL-2.0-only
14 * ------------
20 * ------------
23 * ------------
46 #include <linux/regulator/consumer.h>
72 * struct mcp320x - Microchip SPI ADC instance
78 * @reg: regulator generating Vref
81 * @tx_buf: buffer for @transfer[0] (not used on single-channel converters)
91 struct regulator *reg;
116 return -EINVAL; in mcp320x_channel_to_tx_data()
[all …]

123