Searched +full:use +full:- +full:vsel +full:- +full:dvs (Results 1 – 12 of 12) sorted by relevance
/linux-6.12.1/Documentation/devicetree/bindings/regulator/ |
D | richtek,rtq2134-regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/regulator/richtek,rtq2134-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - ChiYuan Huang <cy_huang@richtek.com> 13 The RTQ2134 is a multi-phase, programmable power management IC that 14 integrates with four high efficient, synchronous step-down converter cores. 17 https://www.richtek.com/assets/product_file/RTQ2134-QA/DSQ2134-QA-01.pdf 22 - richtek,rtq2134 31 "^buck[1-3]$": [all …]
|
D | rohm,bd71847-regulator.yaml | 1 # 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 20 Note that if BD71847 starts at RUN state you probably want to use 21 regulator-boot-on at least for BUCK5. LDO6 is supplied by it and it must 30 "^LDO[1-6]$": 37 regulator-name: [all …]
|
D | rohm,bd71837-regulator.yaml | 1 # 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 20 Note that if BD71837 starts at RUN state you probably want to use 21 regulator-boot-on at least for BUCK6 and BUCK7 so that those are not 31 "^LDO[1-7]$": 38 regulator-name: [all …]
|
D | nxp,pca9450-regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/regulator/nxp,pca9450-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Robin Gong <yibin.gong@nxp.com> 18 https://www.nxp.com/docs/en/data-sheet/PCA9450DS.pdf 28 - nxp,pca9450a 29 - nxp,pca9450b 30 - nxp,pca9450c 31 - nxp,pca9451a [all …]
|
/linux-6.12.1/drivers/regulator/ |
D | bd71815-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 // bd71815-regulator.c ROHM BD71815 regulator driver 21 #include <linux/mfd/rohm-generic.h> 22 #include <linux/mfd/rohm-bd71815.h> 27 const struct rohm_dvs_config *dvs; member 179 return rohm_regulator_set_dvs_levels(data->dvs, np, desc, cfg->regmap); in set_hw_dvs_levels() 185 * by a control bit in register - or by HW state. If HW state specific voltages 186 * are given - then we assume HW state based control should be used. 188 * If volatge value is updated to currently selected register - then output 203 if (of_property_present(np, "rohm,dvs-run-voltage") || in buck12_set_hw_dvs_levels() [all …]
|
D | max8973-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * max8973-regulator.c -- Maxim max8973A 5 * Regulator driver for MAXIM 8973A DC-DC step-down switching regulator. 21 #include <linux/regulator/max8973-regulator.h> 121 * - If it is already there then it will make that register as most 125 * - If requested voltage is not found then it will use the least 135 int new_vout_reg = tps->lru_index[MAX8973_MAX_VOUT_REG - 1]; in find_voltage_set_register() 136 int found_index = MAX8973_MAX_VOUT_REG - 1; in find_voltage_set_register() 139 if (tps->curr_vout_val[tps->lru_index[i]] == req_vsel) { in find_voltage_set_register() 140 new_vout_reg = tps->lru_index[i]; in find_voltage_set_register() [all …]
|
D | bd71828-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 // bd71828-regulator.c ROHM BD71828GW-DS1 regulator driver 10 #include <linux/mfd/rohm-bd71828.h> 26 const struct rohm_dvs_config dvs; member 33 * DVS Buck voltages can be changed by register values or via GPIO. 34 * Use register accesses by default. 102 return rohm_regulator_set_dvs_levels(&data->dvs, np, desc, cfg->regmap); in buck_set_hw_dvs_levels() 112 struct regmap *regmap = cfg->regmap; in ldo6_parse_dt() 113 static const char * const props[] = { "rohm,dvs-run-voltage", in ldo6_parse_dt() 114 "rohm,dvs-idle-voltage", in ldo6_parse_dt() [all …]
|
D | bd718x7-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // bd71837-regulator.c ROHM BD71837MWV/BD71847MWV regulator driver 10 #include <linux/mfd/rohm-bd718x7.h> 51 * controlled by software - or by PMIC internal HW state machine. Whether 52 * regulator should be under SW or HW control can be defined from device-tree. 53 * Let's provide separate ops for regulators to use depending on the "enable 89 * BUCK1RAMPRATE[1:0] BUCK1 DVS ramp rate setting 103 * Note for next hacker - these PMICs have a register where the HW state can be 104 * read. If assuming RUN appears to be false in your use-case - you can 123 ret = regmap_read(rdev->regmap, rdev->desc->enable_reg, &val); in bd71837_get_buck34_enable_hwctrl() [all …]
|
D | pca9450-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0 29 const struct pc9450_dvs_config dvs; member 55 .max_register = PCA9450_MAX_REGISTER - 1, 61 * BUCK1RAM[1:0] BUCK1 DVS ramp rate setting 168 if (ret == -EINVAL) in buck_set_dvs() 173 for (i = 0; i < desc->n_voltages; i++) { in buck_set_dvs() 178 i <<= ffs(desc->vsel_mask) - 1; in buck_set_dvs() 188 /* Enable DVS control through PMIC_STBY_REQ for this BUCK */ in buck_set_dvs() 189 ret = regmap_update_bits(regmap, regulator->desc.enable_reg, in buck_set_dvs() 201 const struct pc9450_dvs_config *dvs = &data->dvs; in pca9450_set_dvs_levels() local [all …]
|
D | rtq2134-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0+ 80 (struct rtq2134_regulator_desc *)rdev->desc; in rtq2134_buck_set_mode() 88 return -EINVAL; in rtq2134_buck_set_mode() 90 val <<= ffs(desc->mode_mask) - 1; in rtq2134_buck_set_mode() 91 return regmap_update_bits(rdev->regmap, desc->mode_reg, desc->mode_mask, in rtq2134_buck_set_mode() 98 (struct rtq2134_regulator_desc *)rdev->desc; in rtq2134_buck_get_mode() 102 ret = regmap_read(rdev->regmap, desc->mode_reg, &mode); in rtq2134_buck_get_mode() 106 if (mode & desc->mode_mask) in rtq2134_buck_get_mode() 114 (struct rtq2134_regulator_desc *)rdev->desc; in rtq2134_buck_set_suspend_voltage() 121 sel <<= ffs(desc->suspend_vsel_mask) - 1; in rtq2134_buck_set_suspend_voltage() [all …]
|
/linux-6.12.1/include/linux/mfd/wm831x/ |
D | pdata.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * include/linux/mfd/wm831x/pdata.h -- Platform data for WM831x 17 int isink; /** ISINK to use, 1 or 2 */ 33 int vsel; /** Target voltage, in mV */ member 40 * Configuration for the WM831x DC-DC BuckWise convertors. This 43 * Currently all the configuration is for the fast DVS switching 50 int dvs_control_src; /** Hardware DVS source to use (1 or 2) */ 51 int dvs_init_state; /** DVS state to expect on startup */ 52 int dvs_state_gpio; /** CPU GPIO to use for monitoring status */
|
/linux-6.12.1/include/linux/mfd/ |
D | palmas.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 5 * Copyright 2011-2013 Texas Instruments Inc. 18 #include <linux/extcon-provider.h> 28 #define TPS65917_RESERVED -1 37 * PALMAS_PMIC_FEATURE_SMPS10_BOOST - used when the PMIC provides SMPS10_BOOST 40 * PALMAS_PMIC_HAS(b, f) - macro to check if a bandgap device is capable of a 41 * specific feature (above) or not. Return non-zero, if yes. 45 ((b)->features & PALMAS_PMIC_FEATURE_ ## f) 140 bool extended_delay; /* use extended delay for conversion */ 155 * 1: maintain voltage from VSEL on warm reset [all …]
|