/linux/drivers/regulator/ |
H A D | lp8788-buck.c | 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() 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() 143 gpiod_set_value(buck->gpio1, pin1); in lp8788_buck2_set_dvs() 144 gpiod_set_value(buck->gpio2, pin2); in lp8788_buck2_set_dvs() 147 static void lp8788_set_dvs(struct lp8788_buck *buck, enum lp8788_buck_id id) in lp8788_set_dvs() argument [all …]
|
H A D | lp3971.c | 171 int buck = rdev_get_id(dev) - LP3971_DCDC1; in lp3971_dcdc_is_enabled() local 172 u16 mask = 1 << (buck * 2); in lp3971_dcdc_is_enabled() 182 int buck = rdev_get_id(dev) - LP3971_DCDC1; in lp3971_dcdc_enable() local 183 u16 mask = 1 << (buck * 2); in lp3971_dcdc_enable() 191 int buck = rdev_get_id(dev) - LP3971_DCDC1; in lp3971_dcdc_disable() local 192 u16 mask = 1 << (buck * 2); in lp3971_dcdc_disable() 200 int buck = rdev_get_id(dev) - LP3971_DCDC1; in lp3971_dcdc_get_voltage_sel() local 203 reg = lp3971_reg_read(lp3971, LP3971_BUCK_TARGET_VOL1_REG(buck)); in lp3971_dcdc_get_voltage_sel() 213 int buck = rdev_get_id(dev) - LP3971_DCDC1; in lp3971_dcdc_set_voltage_sel() local 216 ret = lp3971_set_bits(lp3971, LP3971_BUCK_TARGET_VOL1_REG(buck), in lp3971_dcdc_set_voltage_sel() [all …]
|
H A D | lp3972.c | 317 int buck = rdev_get_id(dev) - LP3972_DCDC1; in lp3972_dcdc_is_enabled() local 318 u16 mask = 1 << (buck * 2); in lp3972_dcdc_is_enabled() 321 val = lp3972_reg_read(lp3972, LP3972_BUCK_VOL_ENABLE_REG(buck)); in lp3972_dcdc_is_enabled() 328 int buck = rdev_get_id(dev) - LP3972_DCDC1; in lp3972_dcdc_enable() local 329 u16 mask = 1 << (buck * 2); in lp3972_dcdc_enable() 332 val = lp3972_set_bits(lp3972, LP3972_BUCK_VOL_ENABLE_REG(buck), in lp3972_dcdc_enable() 340 int buck = rdev_get_id(dev) - LP3972_DCDC1; in lp3972_dcdc_disable() local 341 u16 mask = 1 << (buck * 2); in lp3972_dcdc_disable() 344 val = lp3972_set_bits(lp3972, LP3972_BUCK_VOL_ENABLE_REG(buck), in lp3972_dcdc_disable() 352 int buck = rdev_get_id(dev) - LP3972_DCDC1; in lp3972_dcdc_get_voltage_sel() local [all …]
|
H A D | rtq2208-regulator.c | 276 /* write clear all buck irq once */ in rtq2208_init_irq_mask() 279 return dev_err_probe(rdev_map->dev, ret, "Failed to clr buck irqs\n"); in rtq2208_init_irq_mask() 286 /* unmask buck ov/uv irq */ in rtq2208_init_irq_mask() 289 return dev_err_probe(rdev_map->dev, ret, "Failed to unmask buck irqs\n"); in rtq2208_init_irq_mask() 393 BUCK_INFO("buck-b", B), in rtq2208_init_regulator_desc() 394 BUCK_INFO("buck-c", C), in rtq2208_init_regulator_desc() 395 BUCK_INFO("buck-d", D), in rtq2208_init_regulator_desc() 396 BUCK_INFO("buck-a", A), in rtq2208_init_regulator_desc() 397 BUCK_INFO("buck-f", F), in rtq2208_init_regulator_desc() 398 BUCK_INFO("buck-g", G), in rtq2208_init_regulator_desc() [all …]
|
H A D | da9121-regulator.h | 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)
|
H A D | mt6332-regulator.c | 30 * @vselctrl_reg: Register for controlling the buck control mode. 31 * @vselctrl_mask: Mask for query buck's voltage control mode. 301 MT6332_BUCK("buck-vdram", VDRAM, 700000, 1493750, 6250, buck_volt_range, 304 MT6332_BUCK("buck-vdvfs2", VDVFS2, 700000, 1312500, 6250, buck_volt_range, 307 MT6332_BUCK("buck-vpa", VPA, 500000, 3400000, 50000, buck_pa_volt_range, 310 MT6332_BUCK("buck-vrf18a", VRF1, 1050000, 2240625, 9375, buck_rf_volt_range, 313 MT6332_BUCK("buck-vrf18b", VRF2, 1050000, 2240625, 9375, buck_rf_volt_range, 316 MT6332_BUCK("buck-vsbst", VSBST, 3500000, 7468750, 31250, boost_volt_range, 342 "Failed to read buck ctrl\n"); in mt6332_set_buck_vosel_reg() 364 /* Query buck controller to select activated voltage register part */ in mt6332_regulator_probe()
|
H A D | lp872x.c | 133 /* LP8720 BUCK voltage table */ 142 /* LP8725 BUCK voltage table */ 150 /* LP8725 BUCK current limit */ 262 enum lp872x_regulator_id buck) in lp872x_select_buck_vout_addr() argument 269 switch (buck) { in lp872x_select_buck_vout_addr() 319 enum lp872x_regulator_id buck = rdev_get_id(rdev); in lp872x_buck_set_voltage_sel() local 326 addr = lp872x_select_buck_vout_addr(lp, buck); in lp872x_buck_set_voltage_sel() 336 enum lp872x_regulator_id buck = rdev_get_id(rdev); in lp872x_buck_get_voltage_sel() local 340 addr = lp872x_select_buck_vout_addr(lp, buck); in lp872x_buck_get_voltage_sel() 354 enum lp872x_regulator_id buck = rdev_get_id(rdev); in lp872x_buck_set_mode() local [all …]
|
H A D | max77686-regulator.c | 37 * Value for configuring buck[89] and LDO{20,21,22} as GPIO control. 49 * - buck[1234] 54 /* Forcing low power mode: buck[234] */ 139 /* BUCK[5-9] doesn't support this feature */ in max77686_set_suspend_mode() 383 .name = "BUCK"#num, \ 384 .of_match = of_match_ptr("BUCK"#num), \ 402 .name = "BUCK"#num, \ 403 .of_match = of_match_ptr("BUCK"#num), \ 420 .name = "BUCK"#num, \ 421 .of_match = of_match_ptr("BUCK"#num), \
|
/linux/Documentation/devicetree/bindings/regulator/ |
H A D | mps,mpq7920.yaml | 27 after their hardware counterparts BUCK[1-4], one LDORTC, and LDO[2-5] 49 "^buck[1-4]$": 54 mps,buck-softstart: 58 defines the soft start time of this buck, must be one of the following 61 mps,buck-phase-delay: 65 defines the phase delay of this buck, must be one of the following 68 mps,buck-ovp-disable: 71 disables over voltage protection of this buck 104 mps,buck-ovp-disable; 105 mps,buck-phase-delay = /bits/ 8 <2>; [all …]
|
H A D | mt6380-regulator.txt | 5 to its regulator type, buck-<name> and ldo-<name>. The definition for each 10 BUCK: 11 buck-core1, buck-vcore, buck-vrf 20 mt6380_vcpu_reg: buck-vcore1 { 29 mt6380_vcore_reg: buck-vcore { 36 mt6380_vrf_reg: buck-vrf {
|
H A D | samsung,s2mpa01.yaml | 16 The S2MPA01 provides buck and LDO regulators. 34 "^BUCK([1-9]|10)$": 39 Properties for single BUCK regulator. 46 May be 0 for disabling the ramp delay on BUCK{1,2,3,4}. 55 * buck{1,6}, 56 * buck{2,4}, 57 * buck{8,9,10}.
|
H A D | mediatek,mt6358-regulator.yaml | 32 description: Supply for buck regulator vcore 34 description: Supply for buck regulator vdram1 36 description: Supply for buck regulator vgpu 38 description: Supply for buck regulator vmodem 40 description: Supply for buck regulator vpa 42 description: Supply for buck regulator vproc11 44 description: Supply for buck regulator vproc12 46 description: Supply for buck regulator vs1 48 description: Supply for buck regulator vs2 64 description: Buck regulators [all …]
|
H A D | dlg,da9121.yaml | 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 19 Dialog Semiconductor DA9132 Double-channel 3A single-phase buck converter 20 Dialog Semiconductor DA9141 Single-channel 40A quad-phase buck converter 21 Dialog Semiconductor DA9142 Single-channel 20A double-phase buck converter 91 "^buck([1-2])$": [all …]
|
H A D | maxim,max77686.yaml | 17 The Maxim MAX77686 provides high-efficiency Buck and 26 Low-DropOut (LDO) 55 "^BUCK[1-7]$": 60 Properties for single BUCK regulator. 62 BUCK[1-4] 67 "^BUCK[89]$": 72 Properties for single BUCK regulator.
|
H A D | adi,max77541-regulator.yaml | 7 title: Buck Converter for MAX77540/MAX77541 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.
|
H A D | richtek,rt5739.yaml | 7 title: Richtek RT5739 Step-Down Buck Converter 13 The RT5739 is a step-down switching buck converter that can deliver the 35 If property is present, use the 'VSEL1' register group for buck control. 42 buck allowed operating mode 67 regulator-name = "richtek,rt5739-buck";
|
H A D | onnn,fan53880.yaml | 14 that contains a BUCK (step-down converter), four low dropouts (LDO) 38 description: Input supply phandle(s) for BUCK and BOOST 45 after their hardware counterparts LDO[1-4], BUCK and BOOST 53 "^BUCK|BOOST$": 80 BUCK {
|
H A D | samsung,s5m8767.yaml | 16 The S5M8767 provides buck and LDO regulators. 47 "^BUCK[1-8]$": 52 Properties for single BUCK regulator. 71 # 9 buck 77 Properties for single BUCK regulator.
|
H A D | mediatek,mt6357-regulator.yaml | 15 The MT6357 PMIC provides 5 BUCK and 29 LDO. 17 - buck-<name> 22 "^buck-v(core|modem|pa|proc|s1)$": 27 Properties for single BUCK regulator. 76 mt6357_vproc_reg: buck-vproc { 84 mt6357_vcore_reg: buck-vcore { 92 mt6357_vmodem_reg: buck-vmodem { 99 mt6357_vs1_reg: buck-vs1 { 107 mt6357_vpa_reg: buck-vpa {
|
H A D | maxim,max8997.yaml | 40 If none of max8997,pmic-buck[1/2/5]-uses-gpio-dvs optional property is 41 specified, the max8997,pmic-buck[1/2/5]-dvs-voltage property should 52 If none of max8997,pmic-buck[1/2/5]-uses-gpio-dvs optional property is 53 specified, the max8997,pmic-buck[1/2/5]-dvs-voltage property should 64 If none of max8997,pmic-buck[1/2/5]-uses-gpio-dvs optional property is 65 specified, the max8997,pmic-buck[1/2/5]-dvs-voltage property should 105 of one of the bucks may affect that of another buck, which is the side 135 "^BUCK[1-7]$": 139 Properties for single BUCK regulator.
|
/linux/include/linux/regulator/ |
H A D | da9121.h | 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 D | qcom,wcd9335.yaml | 55 vdd-buck-supply: 56 description: 1.8V buck supply 58 vdd-buck-sido-supply: 59 description: 1.8V SIDO buck supply 96 - vdd-buck-supply 97 - vdd-buck-sido-supply 112 vdd-buck-supply: false 113 vdd-buck-sido-supply: false 151 vdd-buck-supply = <&vreg_s4a_1p8>; 152 vdd-buck-sido-supply = <&vreg_s4a_1p8>;
|
/linux/Documentation/devicetree/bindings/mfd/ |
H A D | da9052-i2c.txt | 19 buck1 : regulator BUCK CORE 20 buck2 : regulator BUCK PRO 21 buck3 : regulator BUCK MEM 22 buck4 : regulator BUCK PERI
|
H A D | richtek,rt5033.yaml | 14 flash LED current source, LDO and synchronous Buck converter for portable 32 voltage ranges from 1.2 V to 3.0 V in 0.1 V steps. BUCK voltage ranges 36 "^(SAFE_LDO|LDO|BUCK)$": 124 buck_reg: BUCK { 125 regulator-name = "BUCK";
|
H A D | samsung,s2dos05.yaml | 19 Regulator section has 4 LDO and 1 BUCK regulators and also 31 "^buck|ldo[1-4]$": 89 buck { 93 regulator-name = "buck";
|