Home
last modified time | relevance | path

Searched +full:no +full:- +full:regulator +full:- +full:enable +full:- +full:control (Results 1 – 25 of 375) sorted by relevance

12345678910>>...15

/linux-6.12.1/drivers/regulator/
DKconfig1 # 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.
10 provide voltage and current control to client or consumer drivers and
14 The intention is to allow systems to dynamically control regulator
20 drivers can still be used in systems with no software controllable
23 If unsure, say no.
26 if REGULATOR
29 bool "Regulator debug support"
[all …]
Dtps65090-regulator.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Regulator driver for tps65090 power management chip.
17 #include <linux/regulator/driver.h>
18 #include <linux/regulator/machine.h>
19 #include <linux/regulator/of_regulator.h>
25 #define CTRL_EN_BIT 0 /* Regulator enable bit, active high */
26 #define CTRL_WT_BIT 2 /* Regulator wait time 0 bit */
27 #define CTRL_PG_BIT 4 /* Regulator power good bit, 1=good */
28 #define CTRL_TO_BIT 7 /* Regulator timeout bit, 1=wait */
33 * struct tps65090_regulator - Per-regulator data for a tps65090 regulator
[all …]
Dmax77802-regulator.c1 // SPDX-License-Identifier: GPL-2.0+
3 // max77802.c - Regulator driver for the Maxim 77802
5 // Copyright (C) 2013-2014 Google, Inc
20 #include <linux/regulator/driver.h>
21 #include <linux/regulator/machine.h>
22 #include <linux/regulator/of_regulator.h>
24 #include <linux/mfd/max77686-private.h>
25 #include <dt-bindings/regulator/maxim,max77802.h>
61 /* Array indexed by regulator id */
83 return -EINVAL; in max77802_get_opmode_shift()
[all …]
Dbd9576-regulator.c1 // SPDX-License-Identifier: GPL-2.0
3 // ROHM BD9576MUF/BD9573MUF regulator driver
10 #include <linux/mfd/rohm-bd957x.h>
11 #include <linux/mfd/rohm-generic.h>
16 #include <linux/regulator/driver.h>
17 #include <linux/regulator/machine.h>
18 #include <linux/regulator/of_regulator.h>
137 const struct regulator_desc *desc = rdev->desc; in bd957x_vout34_list_voltage()
138 int multiplier = selector & desc->vsel_mask & 0x7f; in bd957x_vout34_list_voltage()
145 return desc->fixed_uV - tune; in bd957x_vout34_list_voltage()
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/mfd/
Das3722.txt4 -------------------
5 - compatible: Must be "ams,as3722".
6 - reg: I2C device address.
7 - interrupt-controller: AS3722 has internal interrupt controller which takes the
8 interrupt request from internal sub-blocks like RTC, regulators, GPIOs as well
10 - #interrupt-cells: Should be set to 2 for IRQ number and flags.
12 of AS3722 are defined at dt-bindings/mfd/as3722.h
14 interrupts.txt, using dt-bindings/irq.
17 --------------------
18 - ams,enable-internal-int-pullup: Boolean property, to enable internal pullup on
[all …]
/linux-6.12.1/Documentation/power/regulator/
Dconsumer.rst2 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 …]
Doverview.rst2 Linux voltage and current regulator framework
8 This framework is designed to provide a standard kernel interface to control
11 The intention is to allow systems to dynamically control regulator power output
26 - Regulator
27 - Electronic device that supplies power to other devices.
28 Most regulators can enable and disable their output while
29 some can control their output voltage and or current.
31 Input Voltage -> Regulator -> Output Voltage
34 - PMIC
35 - Power Management IC. An IC that contains numerous
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/regulator/
Dlp872x.txt4 - compatible: "ti,lp8720" or "ti,lp8725"
5 - reg: I2C slave address. 0x7d = LP8720, 0x7a = LP8725
8 - ti,general-config: the value of LP872X_GENERAL_CFG register (u8)
10 bit[2]: BUCK output voltage control by external DVS pin or register
12 bit[1]: sleep control by external DVS pin or register
18 bit[4]: BUCK2 enable control. 1 = enable, 0 = disable
20 bit[2]: BUCK1 output voltage control by external DVS pin or register
22 bit[1]: LDO sleep control. 1 = sleep mode, 0 = normal
23 bit[0]: BUCK1 enable control, 1 = enable, 0 = disable
27 - ti,update-config: define it when LP872X_GENERAL_CFG register should be set
[all …]
Dtps65090.txt4 - compatible: "ti,tps65090"
5 - reg: I2C slave address
6 - interrupts: the interrupt outputs of the controller
7 - regulators: A node that houses a sub-node for each regulator within the
8 device. Each sub-node is identified using the node's name, with valid
9 values listed below. The content of each sub-node is defined by the
10 standard binding for regulators; see regulator.txt.
11 dcdc[1-3], fet[1-7] and ldo[1-2] respectively.
12 - vsys[1-3]-supply: The input supply for DCDC[1-3] respectively.
13 - infet[1-7]-supply: The input supply for FET[1-7] respectively.
[all …]
Dti,tps62360.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/regulator/ti,tps62360.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Laxman Dewangan <ldewangan@nvidia.com>
13 The TPS6236x are a family of step down dc-dc converter with
22 - $ref: regulator.yaml#
27 - ti,tps62360
28 - ti,tps62361
29 - ti,tps62362
[all …]
Das3722-regulator.txt1 Regulator of AMS AS3722 PMIC.
2 Name of the regulator subnode must be "regulators".
5 --------------------
7 regulator node. The AS3722 is having 7 DCDC step-down regulators as
8 sd[0-6], 10 LDOs as ldo[0-7], ldo[9-11]. The input supply of these
10 vsup-sd2-supply: Input supply for SD2.
11 vsup-sd3-supply: Input supply for SD3.
12 vsup-sd4-supply: Input supply for SD4.
13 vsup-sd5-supply: Input supply for SD5.
14 vin-ldo0-supply: Input supply for LDO0.
[all …]
Dti-abb-regulator.txt1 Adaptive Body Bias(ABB) SoC internal LDO regulator for Texas Instruments SoCs
4 - compatible: Should be one of:
5 - "ti,abb-v1" for older SoCs like OMAP3
6 - "ti,abb-v2" for newer SoCs like OMAP4, OMAP5
7 - "ti,abb-v3" for a generic definition where setup and control registers are
9 - reg: Address and length of the register set for the device. It contains
10 the information of registers in the same order as described by reg-names
11 - reg-names: Should contain the reg names
12 - "base-address" - contains base address of ABB module (ti,abb-v1,ti,abb-v2)
13 - "control-address" - contains control register address of ABB module (ti,abb-v3)
[all …]
Dpwm-regulator.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/regulator/pwm-regulator.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Generic PWM Regulator
10 - Brian Norris <briannorris@chromium.org>
11 - Lee Jones <lee@kernel.org>
12 - Alexandre Courbot <acourbot@nvidia.com>
19 duty-cycle values must be provided via DT. Limitations are that the
20 regulator can only operate at the voltages supplied in the table.
[all …]
Drohm,bd71847-regulator.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/regulator/rohm,bd71847-regulator.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Matti Vaittinen <mazziesaccount@gmail.com>
15 Documentation/devicetree/bindings/mfd/rohm,bd71847-pmic.yaml
16 Regulator nodes should be named to BUCK_<number> and LDO_<number>. The
19 Documentation/devicetree/bindings/regulator/regulator.txt.
21 regulator-boot-on at least for BUCK5. LDO6 is supplied by it and it must
25 # The valid names for BD71847 regulator nodes are:
[all …]
Drohm,bd71837-regulator.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/regulator/rohm,bd71837-regulator.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Matti Vaittinen <mazziesaccount@gmail.com>
15 Documentation/devicetree/bindings/mfd/rohm,bd71837-pmic.yaml
16 Regulator nodes should be named to BUCK_<number> and LDO_<number>. The
19 Documentation/devicetree/bindings/regulator/regulator.txt.
21 regulator-boot-on at least for BUCK6 and BUCK7 so that those are not
26 # The valid names for BD71837 regulator nodes are:
[all …]
/linux-6.12.1/include/linux/regulator/
Ddriver.h1 /* 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 */
57 * struct regulator_ops - regulator operations.
59 * @enable: Configure the regulator as enabled.
60 * @disable: Configure the regulator as disabled.
61 * @is_enabled: Return 1 if the regulator is enabled, 0 if not.
64 * @set_voltage: Set the voltage for the regulator within the range specified.
[all …]
/linux-6.12.1/arch/arm64/boot/dts/freescale/
Dimx93-14x14-evk.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include <dt-bindings/usb/pd.h>
13 compatible = "fsl,imx93-14x14-evk", "fsl,imx93";
16 stdout-path = &lpuart1;
19 reserved-memory {
20 #address-cells = <2>;
21 #size-cells = <2>;
25 compatible = "shared-dma-pool";
27 alloc-ranges = <0 0x80000000 0 0x40000000>;
[all …]
Dimx93-tqma9352-mba93xxca.dts1 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
3 * Copyright (c) 2022-2023 TQ-Systems GmbH <linux@ew.tq-group.com>,
4 * D-82229 Seefeld, Germany.
8 /dts-v1/;
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/leds/common.h>
12 #include <dt-bindings/net/ti-dp83867.h>
13 #include <dt-bindings/pwm/pwm.h>
15 #include "imx93-tqma9352.dtsi"
18 model = "TQ-Systems i.MX93 TQMa93xxLA/TQMa93xxCA on MBa93xxCA starter kit";
[all …]
Dimx93-tqma9352-mba93xxla.dts1 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
3 * Copyright (c) 2022-2023 TQ-Systems GmbH <linux@ew.tq-group.com>,
4 * D-82229 Seefeld, Germany.
8 /dts-v1/;
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/leds/common.h>
12 #include <dt-bindings/net/ti-dp83867.h>
13 #include <dt-bindings/pwm/pwm.h>
14 #include <dt-bindings/usb/pd.h>
15 #include "imx93-tqma9352.dtsi"
[all …]
/linux-6.12.1/Documentation/driver-api/
Dregulator.rst1 .. Copyright 2007-2008 Wolfson Microelectronics
8 Voltage and current regulator API
18 control voltage and current regulators.
20 The intention is to allow systems to dynamically control regulator power
27 ``Documentation/power/regulator``.
30 --------
32 The regulator API uses a number of terms which may not be familiar:
34 Regulator
37 can enable and disable their output and some can also control their
42 Electronic device which consumes power provided by a regulator. These
[all …]
/linux-6.12.1/Documentation/ABI/testing/
Dsysfs-class-regulator1 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
21 control has enabled it).
27 or microamps to determine configured regulator output levels.
30 What: /sys/class/regulator/.../status
[all …]
/linux-6.12.1/arch/arm/boot/dts/nvidia/
Dtegra124-nyan.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 #include <dt-bindings/input/input.h>
3 #include <dt-bindings/thermal/thermal.h>
14 stdout-path = "serial0:115200n8";
20 * missing a unit-address. However, the bootloader on these Chromebook
22 * Adding the unit-address causes the bootloader to create a /memory
34 /delete-node/ memory@80000000;
40 vdd-supply = <&vdd_3v3_hdmi>;
41 pll-supply = <&vdd_hdmi_pll>;
42 hdmi-supply = <&vdd_5v0_hdmi>;
[all …]
/linux-6.12.1/arch/arm/boot/dts/qcom/
Dqcom-apq8026-samsung-milletwifi.dts1 // SPDX-License-Identifier: BSD-3-Clause
7 /dts-v1/;
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/power/summit,smb347-charger.h>
11 #include "qcom-msm8226.dtsi"
14 /delete-node/ &adsp_region;
15 /delete-node/ &smem_region;
18 model = "Samsung Galaxy Tab 4 8.0 Wi-Fi";
20 chassis-type = "tablet";
29 #address-cells = <1>;
[all …]
/linux-6.12.1/drivers/staging/greybus/
Darche-apb-ctrl.c1 // SPDX-License-Identifier: GPL-2.0
3 * Arche Platform driver to control APB.
5 * Copyright 2014-2015 Google Inc.
6 * Copyright 2014-2015 Linaro Ltd.
18 #include <linux/regulator/consumer.h>
25 /* Control GPIO signals to and from AP <=> AP Bridges */
36 struct regulator *vcore;
37 struct regulator *vio;
45 /* V2: SPI Bus control */
68 struct device *dev = &pdev->dev; in coldboot_seq()
[all …]
/linux-6.12.1/arch/arm64/boot/dts/qcom/
Dsc7280-herobrine.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
16 #include <dt-bindings/input/gpio-keys.h>
17 #include <dt-bindings/input/input.h>
18 #include <dt-bindings/leds/common.h>
20 #include "sc7280-qcard.dtsi"
21 #include "sc7280-chrome-common.dtsi"
25 stdout-path = "serial0:115200n8";
38 ppvar_sys: ppvar-sys-regulator {
39 compatible = "regulator-fixed";
40 regulator-name = "ppvar_sys";
[all …]

12345678910>>...15