Home
last modified time | relevance | path

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

12

/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-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 …]
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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/usb/dwc2/
Dcore.h1 /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */
3 * core.h - DesignWare HS OTG Controller common declarations
5 * Copyright (C) 2004-2013 Synopsys, Inc.
16 * 3. The names of the above-listed copyright holders may not be used
42 #include <linux/regulator/consumer.h>
50 * - no_printk: Disable tracing
51 * - pr_info: Print this info to the console
52 * - trace_printk: Print this info to trace buffer (good for verbose logging)
61 dev_name(hsotg->dev), ##__VA_ARGS__)
66 dev_name(hsotg->dev), ##__VA_ARGS__)
[all …]
/kernel/linux/linux-5.10/Documentation/driver-api/
Dpinctl.rst9 - Enumerating and naming controllable pins
11 - Multiplexing of pins, pads, fingers (etc) see below for details
13 - Configuration of pins, pads, fingers (etc), such as software-controlled
14 biasing and driving mode specific pins, such as pull-up/down, open drain,
17 Top-level interface
22 - A pin controller is a piece of hardware, usually a set of registers, that
28 - PINS are equal to pads, fingers, balls or whatever packaging input or
32 be sparse - i.e. there may be gaps in the space with numbers where no
98 See for example arch/arm/mach-u300/Kconfig for an example.
197 the groups is up to the driver, this is just a simple example - in practice you
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Datombios.h2 * Copyright 2006-2007 Advanced Micro Devices, Inc.
214 UCHAR uaFirmWareSignature[4]; /*Signature to distinguish between Atombios and non-atombios,
397 …ONG ulPointerReturnFlag:1; // BYTE_3[7]=1 - Return the pointer to the right Data Block; BYTE_…
403 …ONG ulPointerReturnFlag:1; // BYTE_3[7]=1 - Return the pointer to the right Data Block; BYTE_…
410 …ULONG ulClock; //When returen, it's the re-calculated clock based on given Fb_div Post_Di…
504 …UCHAR ucInputFlag; //Input Flags. ucInputFlag[0] - Strobe(1)/Performance(0)…
536 #define ATOM_PLL_INPUT_FLAG_PLL_STROBE_MODE_EN 1 // 1-StrobeMode, 0-PerformanceMode
544 …bDiv; //Output:UPPER_WORD=FB_DIV_INTEGER, LOWER_WORD=FB_DIV_FRAC shl (16-FB_FRACTION_BITS)
549 … //Input : ATOM_PLL_INPUT_FLAG_PLL_STROBE_MODE_EN: 1-StrobeMode, 0-PerformanceMode
815 // Following function ENABLE sub-function will be used by driver when TMDS/HDMI/LVDS is used, disab…
[all …]

12