/linux/drivers/regulator/ |
H A D | lp8788-buck.c | 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 151 lp8788_buck1_set_dvs(buck); in lp8788_set_dvs() 154 lp8788_buck2_set_dvs(buck); in lp8788_set_dvs() [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 | 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 357 switch (buck) { in lp872x_buck_set_mode() 390 enum lp872x_regulator_id buck = rdev_get_id(rdev); in lp872x_buck_get_mode() local 394 switch (buck) { in lp872x_buck_get_mode()
|
H A D | Kconfig | 226 This will enable support for the software controllable buck 238 This will enable support for the software controllable buck 250 This will enable support for the software controllable buck 283 This will enable support for the software controllable buck 357 DA9121 is a single channel dual-phase buck converter controlled 360 DA9121 Single-channel dual-phase 10A buck converter 361 DA9130 Single-channel dual-phase 10A buck converter (Automotive) 362 DA9217 Single-channel dual-phase 6A buck converter 363 DA9122 Dual-channel single-phase 5A buck converter 364 DA9131 Dual-channel single-phase 5A buck converter (Automotive) [all …]
|
H A D | max8998.c | 250 int buck = rdev_get_id(rdev); in max8998_set_voltage_buck_sel() local 258 switch (buck) { in max8998_set_voltage_buck_sel() 351 int buck = rdev_get_id(rdev); in max8998_set_voltage_buck_time_sel() local 355 if (buck < MAX8998_BUCK1 || buck > MAX8998_BUCK4) in max8998_set_voltage_buck_time_sel()
|
/linux/Documentation/devicetree/bindings/regulator/ |
H A D | mt6380-regulator.txt | 5 to its regulator type, buck-<name> and ldo-<name>. The definition for each 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 | lp872x.txt | 34 LP8720 has maximum 6 nodes. (child name: ldo1 ~ 5 and buck) 88 vcc: buck {
|
/linux/arch/arm64/boot/dts/mediatek/ |
H A D | mt6331.dtsi | 17 mt6331_vdvfs11_reg: buck-vdvfs11 { 27 mt6331_vdvfs12_reg: buck-vdvfs12 { 37 mt6331_vdvfs13_reg: buck-vdvfs13 { 47 mt6331_vdvfs14_reg: buck-vdvfs14 { 57 mt6331_vcore2_reg: buck-vcore2 { 67 mt6331_vio18_reg: buck-vio18 {
|
H A D | mt6380.dtsi | 14 mt6380_vcpu_reg: buck-vcore1 { 23 mt6380_vcore_reg: buck-vcore { 32 mt6380_vrf_reg: buck-vrf {
|
H A D | mt6357.dtsi | 19 mt6357_vproc_reg: buck-vproc { 28 mt6357_vcore_reg: buck-vcore { 37 mt6357_vmodem_reg: buck-vmodem { 45 mt6357_vs1_reg: buck-vs1 { 54 mt6357_vpa_reg: buck-vpa {
|
/linux/arch/arm/boot/dts/st/ |
H A D | stm32mp15xx-dhcor-io1v8.dtsi | 10 vdd_io: regulator-buck-io { 12 regulator-name = "buck-io";
|
/linux/Documentation/hwmon/ |
H A D | ir36021.rst | 22 The IR36021 is a dual-loop digital multi-phase buck controller designed for
|
H A D | mpq8785.rst | 18 buck converter. The MPQ8785 offers a very compact solution that achieves up to
|
/linux/arch/arm/boot/dts/samsung/ |
H A D | exynos4412-itop-scp-core.dtsi | 145 s5m8767,pmic-buck-default-dvs-idx = <3>; 147 s5m8767,pmic-buck-dvs-gpios = <&gpb 5 GPIO_ACTIVE_HIGH>, 151 s5m8767,pmic-buck-ds-gpios = <&gpm3 5 GPIO_ACTIVE_HIGH>,
|
H A D | exynos4412-origen.dts | 128 s5m8767,pmic-buck-default-dvs-idx = <3>; 130 s5m8767,pmic-buck-dvs-gpios = <&gpx2 3 GPIO_ACTIVE_HIGH>, 134 s5m8767,pmic-buck-ds-gpios = <&gpm3 5 GPIO_ACTIVE_HIGH>,
|
H A D | exynos5250-spring.dts | 123 s5m8767,pmic-buck-dvs-gpios = <&gpd1 0 GPIO_ACTIVE_LOW>, /* DVS1 */ 127 s5m8767,pmic-buck-ds-gpios = <&gpx2 3 GPIO_ACTIVE_LOW>, /* SET1 */
|
/linux/arch/arm64/boot/dts/allwinner/ |
H A D | axp803.dtsi | 37 /* Default work frequency for buck regulators */
|
/linux/arch/arm/boot/dts/rockchip/ |
H A D | rk3288-veyron-speedy.dts | 303 buck-5v {
|
H A D | rk3288-veyron-jaq.dts | 313 buck-5v {
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | sdm845-xiaomi-beryllium-common.dtsi | 585 vdd-buck-supply = <&vreg_s4a_1p8>; 586 vdd-buck-sido-supply = <&vreg_s4a_1p8>;
|
H A D | sdm850-samsung-w737.dts | 652 vdd-buck-supply = <&vreg_s4a_1p8>; 653 vdd-buck-sido-supply = <&vreg_s4a_1p8>;
|
/linux/arch/arm/boot/dts/allwinner/ |
H A D | axp81x.dtsi | 73 /* Default work frequency for buck regulators */
|
H A D | axp209.dtsi | 85 /* Default work frequency for buck regulators */
|
H A D | axp22x.dtsi | 77 /* Default work frequency for buck regulators */
|