| /kernel/linux/linux-6.6/include/linux/regulator/ |
| D | da9121.h | 1 /* 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
|
| D | da9211.h | 1 /* 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
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/ |
| D | axp20x.txt | 4 axp152 (X-Powers) 5 axp202 (X-Powers) 6 axp209 (X-Powers) 7 axp221 (X-Powers) 8 axp223 (X-Powers) 9 axp803 (X-Powers) 10 axp806 (X-Powers) 11 axp809 (X-Powers) 12 axp813 (X-Powers) 20 - compatible: should be one of: [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/regulator/ |
| D | richtek,rtq2208.yaml | 1 # 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 …]
|
| /kernel/linux/linux-6.6/drivers/regulator/ |
| D | rtq2208-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0+ 95 (const struct rtq2208_regulator_desc *)rdev->desc; in rtq2208_set_mode() 106 return -EINVAL; in rtq2208_set_mode() 109 shift = ffs(rdesc->mode_mask) - 1; in rtq2208_set_mode() 110 return regmap_update_bits(rdev->regmap, rdesc->mode_reg, in rtq2208_set_mode() 111 rdesc->mode_mask, val << shift); in rtq2208_set_mode() 117 (const struct rtq2208_regulator_desc *)rdev->desc; in rtq2208_get_mode() 121 ret = regmap_read(rdev->regmap, rdesc->mode_reg, &mode_val); in rtq2208_get_mode() 125 return (mode_val & rdesc->mode_mask) ? REGULATOR_MODE_FAST : REGULATOR_MODE_NORMAL; in rtq2208_get_mode() 130 const struct regulator_desc *desc = rdev->desc; in rtq2208_set_ramp_delay() [all …]
|
| D | lp3971.c | 1 // 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 …]
|
| D | mt6332-regulator.c | 1 // 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 …]
|
| D | da9121-regulator.h | 1 /* 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>
|
| D | lp3972.c | 1 // 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 …]
|
| D | max77686-regulator.c | 1 // 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 …]
|
| D | mt6357-regulator.c | 1 // 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 …]
|
| D | max77802-regulator.c | 1 // 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 …]
|
| D | mt6331-regulator.c | 1 // 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, ®val); in mt6331_get_status() 214 dev_err(&rdev->dev, "Failed to get enable reg: %d\n", ret); in mt6331_get_status() [all …]
|
| D | max77541-regulator.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/drivers/regulator/ |
| D | lp3971.c | 1 // 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 …]
|
| D | lp3972.c | 1 // 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 …]
|
| D | max77686-regulator.c | 1 // 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 …]
|
| D | max77802-regulator.c | 1 // 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> 46 /* MAX77802 has two register formats: 2-bit and 4-bit */ 84 return -EINVAL; in max77802_get_opmode_shift() 88 * max77802_set_suspend_disable - Disable the regulator during system suspend [all …]
|
| /kernel/linux/linux-5.10/include/linux/mfd/ |
| D | ab3100.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (C) 2007-2009 ST-Ericsson AB 28 * these are catenated into a single 32-bit flag in the code 70 * and a buck converter, further the LDO E and buck converter can 108 * the order of these constraints are: LDO A, C, D, E, 109 * F, G, H, K, EXT and BUCK. 111 * plus two sleep settings for LDO E and the BUCK converter. 113 * Order: LDO A, C, E, E sleep, F, G, H, K, EXT, BUCK, 114 * BUCK sleep, LDO D. (LDO D need to be initialized last.)
|
| /kernel/linux/linux-6.6/drivers/hwmon/pmbus/ |
| D | mpq7932.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * mpq7932.c - hwmon with optional regulator driver for mps mpq7932 38 PMBUS_REGULATOR_STEP("buck", 0, MPQ7932_N_VOLTAGES, 40 PMBUS_REGULATOR_STEP("buck", 1, MPQ7932_N_VOLTAGES, 42 PMBUS_REGULATOR_STEP("buck", 2, MPQ7932_N_VOLTAGES, 44 PMBUS_REGULATOR_STEP("buck", 3, MPQ7932_N_VOLTAGES, 46 PMBUS_REGULATOR_STEP("buck", 4, MPQ7932_N_VOLTAGES, 48 PMBUS_REGULATOR_STEP("buck", 5, MPQ7932_N_VOLTAGES, 59 * access results -EREMOTEIO in mpq7932_write_word_data() 65 return -ENODATA; in mpq7932_write_word_data() [all …]
|
| /kernel/linux/linux-5.10/include/linux/regulator/ |
| D | da9211.h | 1 /* 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
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | stm32mp15xx-dhcor-io1v8.dtsi | 1 // 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 …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/mediatek/ |
| D | mt6380.dtsi | 1 // 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 …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/mediatek/ |
| D | mt6380.dtsi | 1 // 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 …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/st/ |
| D | stm32mp15xx-dhcor-io1v8.dtsi | 1 // 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 …]
|