| /OK3568_Linux_fs/kernel/drivers/regulator/ |
| H A D | lp8788-buck.c | 3 * TI LP8788 MFD - buck regulator driver 94 /* BUCK 1 ~ 4 voltage ranges */ 100 static void lp8788_buck1_set_dvs(struct lp8788_buck *buck) in lp8788_buck1_set_dvs() argument 102 struct lp8788_buck1_dvs *dvs = (struct lp8788_buck1_dvs *)buck->dvs; in lp8788_buck1_set_dvs() 113 static void lp8788_buck2_set_dvs(struct lp8788_buck *buck) in lp8788_buck2_set_dvs() argument 115 struct lp8788_buck2_dvs *dvs = (struct lp8788_buck2_dvs *)buck->dvs; in lp8788_buck2_set_dvs() 149 static void lp8788_set_dvs(struct lp8788_buck *buck, enum lp8788_buck_id id) in lp8788_set_dvs() argument 153 lp8788_buck1_set_dvs(buck); in lp8788_set_dvs() 156 lp8788_buck2_set_dvs(buck); in lp8788_set_dvs() 164 lp8788_get_buck_dvs_ctrl_mode(struct lp8788_buck *buck, enum lp8788_buck_id id) in lp8788_get_buck_dvs_ctrl_mode() 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 | lp872x.c | 134 /* LP8720 BUCK voltage table */ 143 /* LP8725 BUCK voltage table */ 151 /* LP8725 BUCK current limit */ 263 enum lp872x_regulator_id buck) in lp872x_select_buck_vout_addr() argument 270 switch (buck) { in lp872x_select_buck_vout_addr() 320 enum lp872x_regulator_id buck = rdev_get_id(rdev); in lp872x_buck_set_voltage_sel() local 327 addr = lp872x_select_buck_vout_addr(lp, buck); in lp872x_buck_set_voltage_sel() 337 enum lp872x_regulator_id buck = rdev_get_id(rdev); in lp872x_buck_get_voltage_sel() local 341 addr = lp872x_select_buck_vout_addr(lp, buck); in lp872x_buck_get_voltage_sel() 355 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] */ 146 /* BUCK[5-9] doesn't support this feature */ in max77686_set_suspend_mode() 411 .name = "BUCK"#num, \ 412 .of_match = of_match_ptr("BUCK"#num), \ 430 .name = "BUCK"#num, \ 431 .of_match = of_match_ptr("BUCK"#num), \ 448 .name = "BUCK"#num, \ 449 .of_match = of_match_ptr("BUCK"#num), \
|
| /OK3568_Linux_fs/u-boot/drivers/power/regulator/ |
| H A D | rk806.c | 21 /* rk806 buck*/ 49 #define RK806_RAMP_RATE_4LSB_PER_1CLK 0x00/* LDO 100mV/uS buck 50mV/us */ 50 #define RK806_RAMP_RATE_2LSB_PER_1CLK 0x01/* LDO 50mV/uS buck 25mV/us */ 51 #define RK806_RAMP_RATE_1LSB_PER_1CLK 0x02/* LDO 25mV/uS buck 12.5mV/us */ 52 #define RK806_RAMP_RATE_1LSB_PER_2CLK 0x03/* LDO 12.5mV/uS buck 6.25mV/us */ 54 #define RK806_RAMP_RATE_1LSB_PER_4CLK 0x04/* LDO 6.28/2mV/uS buck 3.125mV/us */ 55 #define RK806_RAMP_RATE_1LSB_PER_8CLK 0x05/* LDO 3.12mV/uS buck 1.56mV/us */ 56 #define RK806_RAMP_RATE_1LSB_PER_13CLK 0x06/* LDO 1.9mV/uS buck 961mV/us */ 57 #define RK806_RAMP_RATE_1LSB_PER_32CLK 0x07/* LDO 0.78mV/uS buck 0.39mV/us */ 71 /* only for buck now */ [all …]
|
| H A D | max77686.c | 43 /* Buck: 1 */ 50 /* Buck: 2,3,4 */ 58 /* Buck: 5,6,7,8,9 */ 72 static int max77686_buck_volt2hex(int buck, int uV) in max77686_buck_volt2hex() argument 77 switch (buck) { in max77686_buck_volt2hex() 101 pr_err("Value: %d uV is wrong for BUCK%d", uV, buck); in max77686_buck_volt2hex() 105 static int max77686_buck_hex2volt(int buck, int hex) in max77686_buck_hex2volt() argument 113 switch (buck) { in max77686_buck_hex2volt() 137 pr_err("Value: %#x is wrong for BUCK%d", hex, buck); in max77686_buck_hex2volt() 230 static int max77686_buck_hex2mode(int buck, int hex) in max77686_buck_hex2mode() argument [all …]
|
| H A D | rk8xx.c | 43 /* RK817 BUCK */ 90 /* only for buck now */ 103 /* buck 1 */ 107 /* buck 2 */ 111 /* buck 3 */ 113 /* buck 4 */ 118 /* buck 5 */ 126 /* buck 1 */ 130 /* buck 2 */ 134 /* buck 3 */ [all …]
|
| H A D | s5m8767.c | 217 int buck = dev->driver_data; in buck_get_value() local 219 return reg_get_value(dev, &buck_param[buck]); in buck_get_value() 224 int buck = dev->driver_data; in buck_set_value() local 226 return reg_set_value(dev, &buck_param[buck], uv); in buck_set_value() 231 int buck = dev->driver_data; in buck_get_enable() local 233 return reg_get_enable(dev, &buck_param[buck]); in buck_get_enable() 238 int buck = dev->driver_data; in buck_set_enable() local 240 return reg_set_enable(dev, &buck_param[buck], enable); in buck_set_enable()
|
| /OK3568_Linux_fs/u-boot/drivers/power/pmic/ |
| H A D | pmic_max77686.c | 45 static int max77686_buck_volt2hex(int buck, ulong uV) in max77686_buck_volt2hex() argument 49 if (buck < 5 || buck > 9) { in max77686_buck_volt2hex() 50 debug("%s: buck %d is not supported\n", __func__, buck); in max77686_buck_volt2hex() 59 debug("%s: %ld is wrong voltage value for BUCK%d\n", in max77686_buck_volt2hex() 60 __func__, uV, buck); in max77686_buck_volt2hex() 90 int max77686_set_buck_voltage(struct pmic *p, int buck, ulong uV) in max77686_set_buck_voltage() argument 95 if (buck < 5 || buck > 9) { in max77686_set_buck_voltage() 97 __func__, buck); in max77686_set_buck_voltage() 101 adr = max77686_buck_addr[buck] + 1; in max77686_set_buck_voltage() 102 hex = max77686_buck_volt2hex(buck, uV); in max77686_set_buck_voltage() [all …]
|
| H A D | Kconfig | 50 This PMIC includes 4 DC/DC step-down buck regulators and 8 low-dropout 58 The AS3722 includes 7 DC/DC buck convertors, 11 low-noise LDOs, a 119 The Rockchip RK808 PMIC provides four buck DC-DC convertors, 8 LDOs, 128 The Rockchip RK8xx PMIC provides four buck DC-DC convertors, LDOs. It is 138 - 9 High-Efficiency Buck Converters 164 - 2x BUCK 222 SoC. It provides 4 buck DC-DC convertors and 5 LDOs, and it is accessed
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mfd/ |
| H A D | axp20x.txt | 87 DCDC2 : DC-DC buck : vin2-supply 88 DCDC3 : DC-DC buck : vin3-supply 99 DCDC1 : DC-DC buck : vin1-supply 100 DCDC2 : DC-DC buck : vin2-supply 101 DCDC3 : DC-DC buck : vin3-supply 102 DCDC4 : DC-DC buck : vin4-supply 103 DCDC5 : DC-DC buck : vin5-supply 125 DCDC1 : DC-DC buck : vin1-supply 126 DCDC2 : DC-DC buck : vin2-supply : poly-phase capable 127 DCDC3 : DC-DC buck : vin3-supply : poly-phase capable [all …]
|
| H A D | da9063.txt | 27 bcore1 : BUCK CORE1 28 bcore2 : BUCK CORE2 29 bpro : BUCK PRO 30 bmem : BUCK MEM 31 bio : BUCK IO 32 bperi : BUCK PERI
|
| H A D | max8998.txt | 27 for buck 1 dvs. The format of the gpio specifier depends on the gpio 30 for buck 2 dvs. The format of the gpio specifier depends on the gpio 40 - max8998,pmic-buck-voltage-lock: If present, disallows changing of 41 preprogrammed buck dvfs voltages. 60 the 'n' in regulator name, as in LDOn or BUCKn, represents the LDO or BUCK 90 /* Buck 1 DVS settings */ 97 /* Buck 2 DVS settings */
|
| H A D | st,stpmic1.yaml | 88 - buck1 for Buck BUCK1 89 - buck2 for Buck BUCK2 90 - buck3 for Buck BUCK3 91 - buck4 for Buck BUCK4 99 - boost for Buck BOOST 187 "^(buck[1-4]|ldo[1-6]|boost|pwr_sw[1-2])-supply$": 190 "^(buck[1-4]|ldo[1-6]|boost|vref_ddr|pwr_sw[1-2])$": 215 "^buck[1-4]$":
|
| 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
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/regulator/ |
| H A D | mps,mpq7920.yaml | 28 after their hardware counterparts BUCK[1-4], one LDORTC, and LDO[2-5] 48 "^buck[1-4]$": 53 mps,buck-softstart: 57 defines the soft start time of this buck, must be one of the following 60 mps,buck-phase-delay: 64 defines the phase delay of this buck, must be one of the following 67 mps,buck-ovp-disable: 70 disables over voltage protection of this buck 103 mps,buck-ovp-disable; 104 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,s5m8767.txt | 7 The S5M8767 device provide buck and LDO regulators. 16 - s5m8767,pmic-buck-ds-gpios: GPIO specifiers for three host gpio's used 19 [1] If either of the 's5m8767,pmic-buck[2/3/4]-uses-gpio-dvs' optional 21 's5m8767,pmic-buck[2/3/4]-dvs-voltage' should be specified. 42 - s5m8767,pmic-buck-default-dvs-idx: Default voltage setting selected from 47 - s5m8767,pmic-buck-dvs-gpios: GPIO specifiers for three host gpio's used 58 Note: The 'n' in LDOn and BUCKn represents the LDO or BUCK number 84 s5m8767,pmic-buck-default-dvs-idx = <0>; 86 s5m8767,pmic-buck-dvs-gpios = <&gpx0 0 0>, /* DVS1 */ 90 s5m8767,pmic-buck-ds-gpios = <&gpx2 3 0>, /* SET1 */
|
| H A D | samsung,s2mpa01.txt | 7 The S2MPA01 device provide buck and LDO regulators. 22 Note: The 'n' in LDOn and BUCKn represents the LDO or BUCK number 26 Optional properties of buck regulator nodes under "regulators" sub-node: 29 BUCK{1,2,3,4}. 38 - buck{1,6}, 39 - buck{2,4}, 40 - buck{8,9,10}.
|
| H A D | samsung,s2mps11.txt | 7 The S2MPS11/13/14/15 and S2MPU02 devices provide buck and LDO regulators. 32 Note: The 'n' in LDOn and BUCKn represents the LDO or BUCK number 40 Additionally S2MPS11 supports disabling ramp delay for BUCK{2,3,4,6} 47 - buck{1,6}, 48 - buck{3,4}, 49 - buck{7,8,10}.
|
| 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 52 "^BUCK|BOOST$": 78 BUCK {
|
| H A D | max8997-regulator.txt | 25 [1] If none of the 'max8997,pmic-buck[1/2/5]-uses-gpio-dvs' optional 26 property is specified, the 'max8997,pmic-buck[1/2/5]-dvs-voltage' 30 If either of the 'max8997,pmic-buck[1/2/5]-uses-gpio-dvs' optional 32 'max8997,pmic-buck[1/2/5]-dvs-voltage' should be specified. 45 that of another buck, which is the side effect of the change (set_voltage). 65 supports. Note: The 'n' in LDOn and BUCKn represents the LDO or BUCK number
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/sound/ |
| H A D | qcom,wcd9335.txt | 58 - vdd-buck-supply: 61 Definition: Should contain a reference to the 1.8V buck supply 63 - vdd-buck-sido-supply: 66 Definition: Should contain a reference to the 1.8V SIDO buck supply 117 vdd-buck-supply = <&pm8994_s4>; 119 vdd-buck-sido-supply = <&pm8994_s4>;
|
| /OK3568_Linux_fs/kernel/include/linux/mfd/ |
| H A D | ab3100.h | 70 * and a buck converter, further the LDO E and buck converter can 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.)
|