Home
last modified time | relevance | path

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

12

/Linux-v5.15/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; 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
12 standard binding for regulators; see regulator.txt.
15 1) VDD_IO - Buck (1.2 - 3.7 V)
16 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 …]
Dmt6359-regulator.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/regulator/mt6359-regulator.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: MT6359 Regulator from MediaTek Integrated
10 - Hsin-Hsiung Wang <hsin-hsiung.wang@mediatek.com>
14 according to its regulator type, buck_<name> and ldo_<name>.
20 $ref: "regulator.yaml#"
23 regulator-name:
30 $ref: "regulator.yaml#"
[all …]
Dmt6315-regulator.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/regulator/mt6315-regulator.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Mediatek MT6315 Regulator
10 - Hsin-Hsiung Wang <hsin-hsiung.wang@mediatek.com>
19 const: mediatek,mt6315-regulator
29 "^vbuck[1-4]$":
31 $ref: "regulator.yaml#"
34 regulator-name:
[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.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/regulator/qcom,rpmh-regulator.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - David Collins <collinsd@codeaurora.org>
13 rpmh-regulator devices support PMIC regulator management via the Voltage
14 Regulator Manager (VRM) and Oscillator Buffer (XOB) RPMh accelerators.
17 changing three parameters for a given regulator, enable state, output
19 parameter for a given regulator, its enable state. Despite its name,
21 It is used for clock buffers, low-voltage switches, and LDO/SMPS regulators
[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 …]
/Linux-v5.15/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>
25 compatible = "pwm-backlight";
27 power-supply = <&bl_fixed_reg>;
28 enable-gpios = <&pio 95 GPIO_ACTIVE_HIGH>;
30 pinctrl-names = "default";
31 pinctrl-0 = <&disp_pwm0_pins>;
[all …]
/Linux-v5.15/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.
/Linux-v5.15/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-sama7g5ek.dts1 // 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>
18 model = "Microchip SAMA7G5-EK";
23 stdout-path = "serial0:115200n8";
38 clock-frequency = <32768>;
42 clock-frequency = <24000000>;
[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 …]
/Linux-v5.15/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",
41 "regulator-oc-%s-microamp", in of_get_regulator_prot_limits()
42 "regulator-ov-%s-microvolt", in of_get_regulator_prot_limits()
[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>
56 struct regulator_dev *regulator; member
85 static int _regulator_disable(struct regulator *regulator);
[all …]
/Linux-v5.15/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 …]
Dti-ads8688.c1 // SPDX-License-Identifier: GPL-2.0-only
11 #include <linux/regulator/consumer.h>
44 * enum ads8688_range - ADS8688 reference voltage range
48 * @ADS8688_PLUS25VREF: Device is configured for input range 0 - 2.5 * VREF
49 * @ADS8688_PLUS125VREF: Device is configured for input range 0 - 1.25 * VREF
68 struct regulator *reg;
93 .offset = -(1 << (ADS8688_REALBITS - 1)),
98 .offset = -(1 << (ADS8688_REALBITS - 1)),
103 .offset = -(1 << (ADS8688_REALBITS - 1)),
124 ads8688_range_def[0].scale * st->vref_mv, in ads8688_show_scales()
[all …]
/Linux-v5.15/drivers/iio/gyro/
Dfxas21002c_core.c1 // SPDX-License-Identifier: GPL-2.0
3 * Driver for NXP FXAS21002C Gyroscope - Core
14 #include <linux/regulator/consumer.h>
116 * These values are taken from the low-pass filter cutoff frequency calculated
125 * These values are taken from the high-pass filter cutoff frequency calculated
149 struct regulator *vdd;
150 struct regulator *vddio;
168 int odr_value_max = ARRAY_SIZE(fxas21002c_odr_values) - 1; in fxas21002c_odr_hz_from_value()
185 return -EINVAL; in fxas21002c_odr_value_from_hz()
190 int lpf_value_max = ARRAY_SIZE(fxas21002c_lpf_values) - 1; in fxas21002c_lpf_bw_from_value()
[all …]

12