Home
last modified time | relevance | path

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

12345

/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)
11 * Copyright (C) 2020 Dialog Semiconductor
H A Dda9211.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * da9211.h - Regulator device driver for DA9211/DA9212
5 * Copyright (C) 2015 Dialog Semiconductor Ltd.
30 * Number of buck
31 * 1 : 4 phase 1 buck
32 * 2 : 2 phase 2 buck
/linux/Documentation/devicetree/bindings/regulator/
H A Drichtek,rtq2208.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Alina Yu <alina_yu@richtek.com>
14 multi-configurable synchronous buck converters and two LDOs.
16 Bucks support "regulator-allowed-modes" and "regulator-mode". The former defines the permitted
20 operation modes for all buck rails, automatic power saving mode (Auto mode) and forced continuous
25 0 - Auto mode for power saving, which reducing the switching frequency at light load condition
27 …1 - FCCM to meet the strict voltage regulation accuracy, which keeping constant switching frequenc…
35 - richtek,rtq2208
[all …]
H A Dadi,max77503-regulator.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 # Copyright (c) 2023 Analog Devices, Inc.
4 ---
5 $id: http://devicetree.org/schemas/regulator/adi,max77503-regulator.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Analog Devices MAX77503 Buck Converter
11 - Gokhan Celik <Gokhan.Celik@analog.com>
15 high-efficiency buck converter. This converter has 94% efficiency
16 for 2-Cell/3-Cell battery applications.
19 - $ref: regulator.yaml#
[all …]
/linux/drivers/regulator/
H A Drtq2208-regulator.c1 // SPDX-License-Identifier: GPL-2.0+
100 (const struct rtq2208_regulator_desc *)rdev->desc; in rtq2208_set_mode()
111 return -EINVAL; in rtq2208_set_mode()
114 shift = ffs(rdesc->mode_mask) - 1; in rtq2208_set_mode()
115 return regmap_update_bits(rdev->regmap, rdesc->mode_reg, in rtq2208_set_mode()
116 rdesc->mode_mask, val << shift); in rtq2208_set_mode()
122 (const struct rtq2208_regulator_desc *)rdev->desc; in rtq2208_get_mode()
126 ret = regmap_read(rdev->regmap, rdesc->mode_reg, &mode_val); in rtq2208_get_mode()
130 return (mode_val & rdesc->mode_mask) ? REGULATOR_MODE_FAST : REGULATOR_MODE_NORMAL; in rtq2208_get_mode()
135 const struct regulator_desc *desc = rdev->desc; in rtq2208_set_ramp_delay()
[all …]
H A Dlp3971.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2009 Samsung Electronics
8 * Based on wm8350.c
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
[all …]
H A Dmt6332-regulator.c1 // SPDX-License-Identifier: GPL-2.0
3 // Copyright (c) 2022 Collabora Ltd.
6 // Based on mt6323-regulator.c,
7 // Copyright (c) 2016 MediaTek Inc.
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()
[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)
11 * Copyright (C) 2020 Dialog Semiconductor
23 #include <dt-bindings/regulator/dlg,da9121-regulator.h>
H A Dmax77686-regulator.c1 // SPDX-License-Identifier: GPL-2.0+
3 // max77686.c - Regulator driver for the Maxim 77686
5 // Copyright (C) 2012 Samsung Electronics
9 // This driver is based on max8997.c
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] */
[all …]
H A Dlp3972.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Based on lp3971.c
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()
[all …]
H A Dmt6357-regulator.c1 // SPDX-License-Identifier: GPL-2.0
3 // Copyright (c) 2022 MediaTek Inc.
4 // Copyright (c) 2022 BayLibre, SAS.
9 // Based on mt6397-regulator.c
20 #include <linux/regulator/mt6357-regulator.h>
27 * @da_vsel_reg: Monitor register for query buck's voltage.
28 * @da_vsel_mask: Mask for query buck's voltage.
47 .n_voltages = ((max) - (min)) / (step) + 1, \
90 .n_voltages = ((max) - (min)) / (step) + 1, \
120 * mt6357_get_buck_voltage_sel - get_voltage_sel for regmap users
[all …]
H A 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
8 // Copyright (C) 2012 Samsung Electronics
12 // This driver is based on max8997.c
24 #include <linux/mfd/max77686-private.h>
25 #include <dt-bindings/regulator/maxim,max77802.h>
83 return -EINVAL; in max77802_get_opmode_shift()
87 * max77802_set_suspend_disable - Disable the regulator during system suspend
100 if (WARN_ON_ONCE(id >= ARRAY_SIZE(max77802->opmode))) in max77802_set_suspend_disable()
[all …]
H A Dmt6331-regulator.c1 // SPDX-License-Identifier: GPL-2.0
3 // Copyright (c) 2022 Collabora Ltd.
6 // Based on mt6323-regulator.c,
7 // Copyright (c) 2016 MediaTek Inc.
18 #include <linux/regulator/mt6331-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, \
212 ret = regmap_read(rdev->regmap, info->desc.enable_reg, &regval); in mt6331_get_status()
214 dev_err(&rdev->dev, "Failed to get enable reg: %d\n", ret); in mt6331_get_status()
[all …]
H A Dmax77541-regulator.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (c) 2022 Analog Devices, Inc.
57 .name = "buck"#_id, \
58 .of_match = "buck"#_id, \
76 .name = "buck"#_id, \
77 .of_match = "buck"#_id, \
107 struct device *dev = &pdev->dev; in max77541_regulator_probe()
109 struct max77541 *max77541 = dev_get_drvdata(dev->parent); in max77541_regulator_probe()
112 config.dev = dev->parent; in max77541_regulator_probe()
114 switch (max77541->id) { in max77541_regulator_probe()
[all …]
H A Dmt6397-regulator.c1 // SPDX-License-Identifier: GPL-2.0
3 // Copyright (c) 2014 MediaTek Inc.
14 #include <linux/regulator/mt6397-regulator.h>
16 #include <dt-bindings/regulator/mediatek,mt6397-regulator.h>
24 * @vselctrl_reg: Register for controlling the buck control mode.
25 * @vselctrl_mask: Mask for query buck's voltage control mode.
48 .n_voltages = (max - min)/step + 1, \
172 ret = -EINVAL; in mt6397_regulator_set_mode()
176 dev_dbg(&rdev->dev, "mt6397 buck set_mode %#x, %#x, %#x\n", in mt6397_regulator_set_mode()
177 info->modeset_reg, info->modeset_mask, val); in mt6397_regulator_set_mode()
[all …]
H A Dda9052-regulator.c1 // SPDX-License-Identifier: GPL-2.0+
3 // da9052-regulator.c: Regulator driver for DA9052
5 // Copyright(c) 2011 Dialog Semiconductor Ltd.
23 /* Buck step size */
53 {700000, 800000, 1000000, 1200000}, /* DA9052-BC BUCKs */
54 {1600000, 2000000, 2400000, 3000000}, /* DA9053-AA/Bx BUCK-CORE */
55 {800000, 1000000, 1200000, 1500000}, /* DA9053-AA/Bx BUCK-PRO,
56 * BUCK-MEM and BUCK-PERI
77 if (min_uV > info->max_uV || max_uV < info->min_uV) in verify_range()
78 return -EINVAL; in verify_range()
[all …]
H A Dmt6380-regulator.c1 // SPDX-License-Identifier: GPL-2.0
3 // Copyright (c) 2017 MediaTek Inc.
12 #include <linux/regulator/mt6380-regulator.h>
81 * @modeset_reg: Register for controlling the buck/LDO control mode
82 * @modeset_mask: Mask for controlling the buck/LDO control mode
102 .n_voltages = ((max) - (min)) / (step) + 1, \
197 return -EINVAL; in mt6380_regulator_set_mode()
200 val <<= ffs(info->modeset_mask) - 1; in mt6380_regulator_set_mode()
202 return regmap_update_bits(rdev->regmap, info->modeset_reg, in mt6380_regulator_set_mode()
203 info->modeset_mask, val); in mt6380_regulator_set_mode()
[all …]
H A Ds2mpa01.c1 // SPDX-License-Identifier: GPL-2.0+
3 // Copyright (c) 2013 Samsung Electronics Co., Ltd
58 ramp_delay = s2mpa01->ramp_delay24; in s2mpa01_regulator_set_voltage_time_sel()
61 ramp_delay = s2mpa01->ramp_delay3; in s2mpa01_regulator_set_voltage_time_sel()
64 ramp_delay = s2mpa01->ramp_delay5; in s2mpa01_regulator_set_voltage_time_sel()
68 ramp_delay = s2mpa01->ramp_delay16; in s2mpa01_regulator_set_voltage_time_sel()
71 ramp_delay = s2mpa01->ramp_delay7; in s2mpa01_regulator_set_voltage_time_sel()
76 ramp_delay = s2mpa01->ramp_delay8910; in s2mpa01_regulator_set_voltage_time_sel()
81 ramp_delay = rdev->desc->ramp_delay; in s2mpa01_regulator_set_voltage_time_sel()
83 old_volt = rdev->desc->min_uV + (rdev->desc->uV_step * old_selector); in s2mpa01_regulator_set_voltage_time_sel()
[all …]
/linux/drivers/hwmon/pmbus/
H A Dmpq7932.c1 // SPDX-License-Identifier: GPL-2.0+
3 * mpq7932.c - hwmon with optional regulator driver for mps mpq7932
39 PMBUS_REGULATOR_STEP("buck", 0, MPQ7932_N_VOLTAGES,
41 PMBUS_REGULATOR_STEP("buck", 1, MPQ7932_N_VOLTAGES,
43 PMBUS_REGULATOR_STEP("buck", 2, MPQ7932_N_VOLTAGES,
45 PMBUS_REGULATOR_STEP("buck", 3, MPQ7932_N_VOLTAGES,
47 PMBUS_REGULATOR_STEP("buck", 4, MPQ7932_N_VOLTAGES,
49 PMBUS_REGULATOR_STEP("buck", 5, MPQ7932_N_VOLTAGES,
54 PMBUS_REGULATOR_STEP_ONE("buck", MPQ7932_N_VOLTAGES,
65 * access results -EREMOTEIO in mpq7932_write_word_data()
[all …]
/linux/arch/arm64/boot/dts/mediatek/
H A Dmt6331.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
3 * Copyright (c) 2023 Collabora Ltd.
6 #include <dt-bindings/input/input.h>
11 interrupt-controller;
12 #interrupt-cells = <2>;
15 compatible = "mediatek,mt6331-regulator";
17 mt6331_vdvfs11_reg: buck-vdvfs11 {
18 regulator-name = "vdvfs11";
19 regulator-min-microvolt = <700000>;
20 regulator-max-microvolt = <1493750>;
[all …]
H A Dmt6380.dtsi1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (c) 2018 MediaTek Inc.
12 compatible = "mediatek,mt6380-regulator";
14 mt6380_vcpu_reg: buck-vcore1 {
15 regulator-name = "vcore1";
16 regulator-min-microvolt = < 600000>;
17 regulator-max-microvolt = <1393750>;
18 regulator-ramp-delay = <6250>;
19 regulator-always-on;
20 regulator-boot-on;
[all …]
H A Dmt6357.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
3 * Copyright (c) 2020 MediaTek Inc.
4 * Copyright (c) 2023 BayLibre Inc.
7 #include <dt-bindings/input/input.h>
14 compatible = "mediatek,mt6357-auxadc";
15 #io-channel-cells = <1>;
19 mt6357_vproc_reg: buck-vproc {
20 regulator-name = "vproc";
21 regulator-min-microvolt = <518750>;
22 regulator-max-microvolt = <1312500>;
[all …]
/linux/arch/arm/boot/dts/st/
H A Dstm32mp15xx-dhcor-io1v8.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
3 * Copyright (C) Linaro Ltd 2019 - All Rights Reserved
5 * Copyright (C) 2020 Marek Vasut <marex@denx.de>
10 vdd_io: regulator-buck-io {
11 compatible = "regulator-fixed";
12 regulator-name = "buck-io";
13 regulator-min-microvolt = <1800000>;
14 regulator-max-microvolt = <1800000>;
15 regulator-always-on;
16 regulator-boot-on;
[all …]
/linux/include/linux/mfd/samsung/
H A Dcore.h1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Copyright (c) 2011 Samsung Electronics Co., Ltd
10 /* Macros to represent minimum voltages for LDO/BUCK */
30 /* Macros to represent steps for LDO/BUCK */
50 * struct sec_pmic_dev - s2m/s5m master device for sub-drivers
103 /* Disable the WRSTBI (buck voltage warm reset) when probing? */
108 * sec_regulator_data - regulator data
120 * sec_opmode_data - regulator operation mode data
133 * SEC_OPMODE_LOWPOWER Regulator is on in low-power mode
/linux/Documentation/devicetree/bindings/mfd/
H A Dmaxim,max77714.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Luca Ceresoli <luca.ceresoli@bootlin.com>
13 MAX77714 is a Power Management IC with 4 buck regulators, 9
14 low-dropout regulators, 8 GPIOs, RTC and watchdog.
26 interrupt-controller: true
28 "#interrupt-cells":
38 '^(buck[0-3]|ldo[0-8])$':
44 - compatible
[all …]

12345