Home
last modified time | relevance | path

Searched refs:uvolt (Results 1 – 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/drivers/power/supply/
Dmax77693_charger.c439 unsigned int uvolt) in max77693_set_constant_volt() argument
453 if (uvolt >= 3650000 && uvolt < 4340000) in max77693_set_constant_volt()
454 data = (uvolt - 3650000) / 25000; in max77693_set_constant_volt()
455 else if (uvolt >= 4340000 && uvolt < 4350000) in max77693_set_constant_volt()
457 else if (uvolt >= 4350000 && uvolt <= 4400000) in max77693_set_constant_volt()
458 data = 0x1d + (uvolt - 4350000) / 25000; in max77693_set_constant_volt()
466 dev_dbg(chg->dev, "Charging constant voltage: %u (0x%x)\n", uvolt, in max77693_set_constant_volt()
475 unsigned int uvolt) in max77693_set_min_system_volt() argument
479 if (uvolt < 3000000 || uvolt > 3700000) { in max77693_set_min_system_volt()
484 data = (uvolt - 3000000) / 100000; in max77693_set_min_system_volt()
[all …]
Dmax14577_charger.c231 unsigned int uvolt) in max14577_init_constant_voltage() argument
235 if (uvolt < MAXIM_CHARGER_CONSTANT_VOLTAGE_MIN || in max14577_init_constant_voltage()
236 uvolt > MAXIM_CHARGER_CONSTANT_VOLTAGE_MAX) in max14577_init_constant_voltage()
239 if (uvolt == 4200000) in max14577_init_constant_voltage()
241 else if (uvolt == MAXIM_CHARGER_CONSTANT_VOLTAGE_MAX) in max14577_init_constant_voltage()
243 else if (uvolt <= 4280000) { in max14577_init_constant_voltage()
244 unsigned int val = uvolt; in max14577_init_constant_voltage()
248 if (uvolt <= 4180000) in max14577_init_constant_voltage()
Dtwl4030_charger.c545 static int twl4030_charger_enable_backup(int uvolt, int uamp) in twl4030_charger_enable_backup() argument
550 if (uvolt < 2500000 || in twl4030_charger_enable_backup()
559 if (uvolt >= 3200000) in twl4030_charger_enable_backup()
561 else if (uvolt >= 3100000) in twl4030_charger_enable_backup()
563 else if (uvolt >= 3000000) in twl4030_charger_enable_backup()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/
Dmax14577.txt32 - maxim,ovp-uvolt : OverVoltage Protection Threshold in uV;
36 - maxim,constant-uvolt : Battery Constant Voltage in uV;
97 maxim,constant-uvolt = <4350000>;
100 maxim,ovp-uvolt = <6500000>;
142 maxim,constant-uvolt = <4350000>;
145 maxim,ovp-uvolt = <6500000>;
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/supply/
Dtwl-charger.txt20 - ti,bb-uvolt: microvolts for charging the backup battery.
28 ti,bb-uvolt = <3200000>;
/kernel/linux/linux-5.10/arch/arm/mach-omap2/
Dvc.c794 static u8 omap_vc_calc_vsel(struct voltagedomain *voltdm, u32 uvolt) in omap_vc_calc_vsel() argument
796 if (voltdm->pmic->vddmin > uvolt) in omap_vc_calc_vsel()
797 uvolt = voltdm->pmic->vddmin; in omap_vc_calc_vsel()
798 if (voltdm->pmic->vddmax < uvolt) { in omap_vc_calc_vsel()
800 __func__, uvolt, voltdm->pmic->vddmax); in omap_vc_calc_vsel()
802 uvolt = voltdm->pmic->vddmax; in omap_vc_calc_vsel()
805 return voltdm->pmic->uv_to_vsel(uvolt); in omap_vc_calc_vsel()
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dlogicpd-som-lv-baseboard.dtsi59 ti,bb-uvolt = <3200000>;
Dexynos3250-monk.dts105 maxim,constant-uvolt = <4350000>;
108 maxim,ovp-uvolt = <6500000>;
Dlogicpd-torpedo-baseboard.dtsi90 ti,bb-uvolt = <3200000>;
Dexynos3250-rinato.dts105 maxim,constant-uvolt = <4350000>;
108 maxim,ovp-uvolt = <6500000>;
Domap3-pandora-common.dtsi448 ti,bb-uvolt = <3200000>;
Domap3-gta04.dtsi697 ti,bb-uvolt = <3200000>;