Home
last modified time | relevance | path

Searched +full:buck +full:- (Results 1 – 25 of 218) sorted by relevance

123456789

/linux/drivers/regulator/
H A Dlp8788-buck.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * TI LP8788 MFD - buck regulator driver
96 /* BUCK 1 ~ 4 voltage ranges */
102 static void lp8788_buck1_set_dvs(struct lp8788_buck *buck) in lp8788_buck1_set_dvs() argument
104 struct lp8788_buck1_dvs *dvs = (struct lp8788_buck1_dvs *)buck->dvs; in lp8788_buck1_set_dvs()
110 pinstate = dvs->vsel == DVS_SEL_V0 ? DVS_LOW : DVS_HIGH; in lp8788_buck1_set_dvs()
111 gpiod_set_value(buck->gpio1, pinstate); in lp8788_buck1_set_dvs()
114 static void lp8788_buck2_set_dvs(struct lp8788_buck *buck) in lp8788_buck2_set_dvs() argument
116 struct lp8788_buck2_dvs *dvs = (struct lp8788_buck2_dvs *)buck->dvs; in lp8788_buck2_set_dvs()
122 switch (dvs->vsel) { in lp8788_buck2_set_dvs()
[all …]
H A Dlp3971.c1 // SPDX-License-Identifier: GPL-2.0-only
40 LP3971_BUCK1 -> 0
41 LP3971_BUCK2 -> 4
42 LP3971_BUCK3 -> 6
77 LP3971_LDO1 -> LP3971_LDO_VOL_CONTR_BASE + 0
78 LP3971_LDO2 -> LP3971_LDO_VOL_CONTR_BASE + 0
79 LP3971_LDO3 -> LP3971_LDO_VOL_CONTR_BASE + 1
80 LP3971_LDO4 -> LP3971_LDO_VOL_CONTR_BASE + 1
81 LP3971_LDO5 -> LP3971_LDO_VOL_CONTR_BASE + 2
86 LP3971_LDO1 -> 0, LP3971_LDO2 -> 4
[all …]
H A Dlp3972.c1 // SPDX-License-Identifier: GPL-2.0-only
147 LP3972_LDO1 -> 0, LP3972_LDO2 -> 4
148 LP3972_LDO3 -> 0, LP3972_LDO4 -> 4
149 LP3972_LDO5 -> 0
169 return -EIO; in lp3972_i2c_read()
182 return -EIO; in lp3972_i2c_write()
190 mutex_lock(&lp3972->io_lock); in lp3972_reg_read()
192 lp3972_i2c_read(lp3972->i2c, reg, 1, &val); in lp3972_reg_read()
194 dev_dbg(lp3972->dev, "reg read 0x%02x -> 0x%02x\n", (int)reg, in lp3972_reg_read()
197 mutex_unlock(&lp3972->io_lock); in lp3972_reg_read()
[all …]
H A Drtq2208-regulator.c1 // SPDX-License-Identifier: GPL-2.0+
110 (const struct rtq2208_regulator_desc *)rdev->desc; in rtq2208_set_mode()
121 return -EINVAL; in rtq2208_set_mode()
124 shift = ffs(rdesc->mode_mask) - 1; in rtq2208_set_mode()
125 return regmap_update_bits(rdev->regmap, rdesc->mode_reg, in rtq2208_set_mode()
126 rdesc->mode_mask, val << shift); in rtq2208_set_mode()
132 (const struct rtq2208_regulator_desc *)rdev->desc; in rtq2208_get_mode()
136 ret = regmap_read(rdev->regmap, rdesc->mode_reg, &mode_val); in rtq2208_get_mode()
140 return (mode_val & rdesc->mode_mask) ? REGULATOR_MODE_FAST : REGULATOR_MODE_NORMAL; in rtq2208_get_mode()
145 const struct regulator_desc *desc = rdev->desc; in rtq2208_set_ramp_delay()
[all …]
H A Dda9121-regulator.h1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * DA9121 Single-channel dual-phase 10A buck converter
4 * DA9130 Single-channel dual-phase 10A buck converter (Automotive)
5 * DA9217 Single-channel dual-phase 6A buck converter
6 * DA9122 Dual-channel single-phase 5A buck converter
7 * DA9131 Dual-channel single-phase 5A buck converter (Automotive)
8 * DA9220 Dual-channel single-phase 3A buck converter
9 * DA9132 Dual-channel single-phase 3A buck converter (Automotive)
23 #include <dt-bindings/regulator/dlg,da9121-regulator.h>
H A Dmt6332-regulator.c1 // SPDX-License-Identifier: GPL-2.0
6 // Based on mt6323-regulator.c,
18 #include <linux/regulator/mt6332-regulator.h>
30 * @vselctrl_reg: Register for controlling the buck control mode.
31 * @vselctrl_mask: Mask for query buck's voltage control mode.
57 .n_voltages = (max - min)/step + 1, \
83 .n_voltages = (max - min)/step + 1, \
188 if (info->qi > 0) { in mt6332_get_status()
189 reg = info->desc.enable_reg; in mt6332_get_status()
190 en_mask = info->qi; in mt6332_get_status()
[all …]
H A Dlp872x.c1 // SPDX-License-Identifier: GPL-2.0-only
92 /* dump registers in regmap-debugfs */
133 /* LP8720 BUCK voltage table */
142 /* LP8725 BUCK voltage table */
150 /* LP8725 BUCK current limit */
160 ret = regmap_read(lp->regmap, addr, &val); in lp872x_read_byte()
162 dev_err(lp->dev, "failed to read 0x%.2x\n", addr); in lp872x_read_byte()
172 return regmap_write(lp->regmap, addr, data); in lp872x_write_byte()
178 return regmap_update_bits(lp->regmap, addr, mask, data); in lp872x_update_bits()
183 enum lp872x_id chip = lp->chipid; in lp872x_get_timestep_usec()
[all …]
H A Dmax77686-regulator.c1 // SPDX-License-Identifier: GPL-2.0+
3 // max77686.c - Regulator driver for the Maxim 77686
21 #include <linux/mfd/max77686-private.h>
37 * Value for configuring buck[89] and LDO{20,21,22} as GPIO control.
43 * Forcing low power mode: LDO1, 3-5, 9, 13, 17-26
48 * - LDO2, 6-8, 10-12, 14-16
49 * - buck[1234]
54 /* Forcing low power mode: buck[234] */
105 if (test_bit(id, max77686->gpio_enabled)) in max77686_map_normal_mode()
122 ret = regmap_update_bits(rdev->regmap, rdev->desc->enable_reg, in max77686_set_suspend_disable()
[all …]
/linux/Documentation/devicetree/bindings/regulator/
H A Dmps,mpq7920.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Saravanan Sekar <sravanhome@gmail.com>
14 pattern: "pmic@[0-9a-f]{1,2}"
17 - mps,mpq7920
27 after their hardware counterparts BUCK[1-4], one LDORTC, and LDO[2-5]
30 mps,switch-freq:
44 "^ldo[1-4]$":
49 "^buck[1-4]$":
[all …]
H A Dmt6380-regulator.txt5 to its regulator type, buck-<name> and ldo-<name>. The definition for each
10 BUCK:
11 buck-core1, buck-vcore, buck-vrf
13 ldo-vm ,ldo-va , ldo-vphy, ldo-vddr, ldo-vt
18 compatible = "mediatek,mt6380-regulator";
20 mt6380_vcpu_reg: buck-vcore1 {
21 regulator-name = "vcore1";
22 regulator-min-microvolt = < 600000>;
23 regulator-max-microvolt = <1393750>;
24 regulator-ramp-delay = <6250>;
[all …]
H A Dsamsung,s2mpa01.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Krzysztof Kozlowski <krzk@kernel.org>
16 The S2MPA01 provides buck and LDO regulators.
23 "^LDO([1-9]|1[0-9]|2[0-6])$":
31 - regulator-name
34 "^BUCK([1-9]|10)$":
39 Properties for single BUCK regulator.
42 regulator-ramp-delay:
[all …]
H A Dmediatek,mt6358-regulator.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/regulator/mediatek,mt6358-regulator.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Zhiyong Tao <zhiyong.tao@mediatek.com>
14 All voltage regulators provided by the PMIC are described as sub-nodes of
20 - const: mediatek,mt6358-regulator
21 - items:
22 - const: mediatek,mt6366-regulator
23 - const: mediatek,mt6358-regulator
[all …]
H A Ddlg,da9121.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Adam Ward <Adam.Ward.opensource@diasemi.com>
13 Dialog Semiconductor DA9121 Single-channel 10A double-phase buck converter
14 Dialog Semiconductor DA9122 Double-channel 5A single-phase buck converter
15 Dialog Semiconductor DA9220 Double-channel 3A single-phase buck converter
16 Dialog Semiconductor DA9217 Single-channel 6A double-phase buck converter
17 Dialog Semiconductor DA9130 Single-channel 10A double-phase buck converter
18 Dialog Semiconductor DA9131 Double-channel 5A single-phase buck converter
[all …]
H A Dmaxim,max77686.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Chanwoo Choi <cw00.choi@samsung.com>
11 - Krzysztof Kozlowski <krzk@kernel.org>
17 The Maxim MAX77686 provides high-efficiency Buck and 26 Low-DropOut (LDO)
25 "^LDO([1-9]|1[0-9]|2[3-6])$":
32 LDO2, LDO6-8, LDO10-12, LDO14-16
35 - regulator-name
37 # LDO20-LDO22 with maxim,ena-gpios
[all …]
H A Dadi,max77541-regulator.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/regulator/adi,max77541-regulator.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Buck Converter for MAX77540/MAX77541
10 - Okan Sahin <okan.sahin@analog.com>
15 The buck converter is represented as a sub-node of the PMIC node on the device tree.
17 The device has two buck regulators.
22 "^buck[12]$":
27 Buck regulator.
[all …]
H A Drichtek,rt5739.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Richtek RT5739 Step-Down Buck Converter
10 - ChiYuan Huang <cy_huang@richtek.com>
13 The RT5739 is a step-down switching buck converter that can deliver the
19 - $ref: regulator.yaml#
24 - richtek,rt5733
25 - richtek,rt5739
30 enable-gpios:
[all …]
H A Donnn,fan53880.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Christoph Fritz <chf.fritz@googlemail.com>
14 that contains a BUCK (step-down converter), four low dropouts (LDO)
15 and one BOOST (step-up converter) output. It is designed for mobile
20 pattern: "pmic@[0-9a-f]{1,2}"
23 - onnn,fan53880
28 VIN12-supply:
31 VIN3-supply:
[all …]
H A Dsamsung,s5m8767.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Krzysztof Kozlowski <krzk@kernel.org>
16 The S5M8767 provides buck and LDO regulators.
23 "^LDO([1-9]|1[0-9]|2[0-8])$":
38 0 - always off mode
39 1 - on in normal mode
40 2 - low power mode
41 3 - suspend mode
[all …]
H A Dmediatek,mt6357-regulator.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/regulator/mediatek,mt6357-regulator.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Chen Zhong <chen.zhong@mediatek.com>
11 - Fabien Parent <fabien.parent@linaro.org>
12 - Alexandre Mergnat <amergnat@baylibre.com>
15 The MT6357 PMIC provides 5 BUCK and 29 LDO.
17 - buck-<name>
18 - ldo-<name>.
[all …]
H A Dmaxim,max8997.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Krzysztof Kozlowski <krzk@kernel.org>
15 motor driver, flash LED driver and Micro-USB Interface Controller.
22 const: maxim,max8997-pmic
24 charger-supply:
30 - description: irq1 interrupt
31 - description: alert interrupt
33 max8997,pmic-buck1-dvs-voltage:
[all …]
/linux/include/linux/regulator/
H A Dda9121.h1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * DA9121 Single-channel dual-phase 10A buck converter
4 * DA9130 Single-channel dual-phase 10A buck converter (Automotive)
5 * DA9217 Single-channel dual-phase 6A buck converter
6 * DA9122 Dual-channel single-phase 5A buck converter
7 * DA9131 Dual-channel single-phase 5A buck converter (Automotive)
8 * DA9220 Dual-channel single-phase 3A buck converter
9 * DA9132 Dual-channel single-phase 3A buck converter (Automotive)
/linux/Documentation/devicetree/bindings/sound/
H A Dqcom,wcd9335.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
13 Qualcomm WCD9335 Codec is a standalone Hi-Fi audio codec IC with in-built
27 clock-names:
29 - const: mclk
30 - const: slimbus
35 interrupt-names:
37 - const: intr1
[all …]
/linux/Documentation/devicetree/bindings/mfd/
H A Dda9052-i2c.txt4 - compatible : Should be "dlg,da9052", "dlg,da9053-aa",
5 "dlg,da9053-ab", or "dlg,da9053-bb"
8 - dlg,tsi-as-adc : Boolean, if set the X+, X-, Y+, Y- touchscreen
11 - tsiref-supply: Phandle to the regulator, which provides the reference
15 Sub-nodes:
16 - regulators : Contain the regulator nodes. The DA9052/53 regulators are
19 buck1 : regulator BUCK CORE
20 buck2 : regulator BUCK PRO
21 buck3 : regulator BUCK MEM
22 buck4 : regulator BUCK PERI
[all …]
H A Drichtek,rt5033.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jakob Hauser <jahau@rocketmail.com>
14 flash LED current source, LDO and synchronous Buck converter for portable
30 The regulators of RT5033 have to be instantiated under a sub-node named
32 voltage ranges from 1.2 V to 3.0 V in 0.1 V steps. BUCK voltage ranges
36 "^(SAFE_LDO|LDO|BUCK)$":
44 $ref: /schemas/power/supply/richtek,rt5033-charger.yaml#
47 - compatible
[all …]
H A Dsamsung,s2dos05.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Dzmitry Sankouski <dsankouski@gmail.com>
19 Regulator section has 4 LDO and 1 BUCK regulators and also
31 "^buck|ldo[1-4]$":
37 - regulator-name
42 - compatible
43 - reg
44 - regulators
[all …]

123456789