Home
last modified time | relevance | path

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

/linux-6.1.9/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()
/linux-6.1.9/Documentation/devicetree/bindings/power/supply/
Dmaxim,max14577.yaml25 maxim,constant-uvolt:
46 maxim,ovp-uvolt:
55 - maxim,constant-uvolt
58 - maxim,ovp-uvolt
Dtwl4030-charger.yaml32 ti,bb-uvolt:
63 ti,bb-uvolt = <3200000>;
/linux-6.1.9/Documentation/devicetree/bindings/mfd/
Dmaxim,max14577.yaml134 maxim,constant-uvolt = <4350000>;
137 maxim,ovp-uvolt = <6500000>;
190 maxim,constant-uvolt = <4350000>;
193 maxim,ovp-uvolt = <6500000>;
/linux-6.1.9/arch/arm/mach-omap2/
Dvc.c791 static u8 omap_vc_calc_vsel(struct voltagedomain *voltdm, u32 uvolt) in omap_vc_calc_vsel() argument
793 if (voltdm->pmic->vddmin > uvolt) in omap_vc_calc_vsel()
794 uvolt = voltdm->pmic->vddmin; in omap_vc_calc_vsel()
795 if (voltdm->pmic->vddmax < uvolt) { in omap_vc_calc_vsel()
797 __func__, uvolt, voltdm->pmic->vddmax); in omap_vc_calc_vsel()
799 uvolt = voltdm->pmic->vddmax; in omap_vc_calc_vsel()
802 return voltdm->pmic->uv_to_vsel(uvolt); in omap_vc_calc_vsel()
/linux-6.1.9/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>;
Dexynos3250-rinato.dts106 maxim,constant-uvolt = <4350000>;
109 maxim,ovp-uvolt = <6500000>;
Dlogicpd-torpedo-baseboard.dtsi90 ti,bb-uvolt = <3200000>;
Domap3-pandora-common.dtsi448 ti,bb-uvolt = <3200000>;
Domap3-gta04.dtsi700 ti,bb-uvolt = <3200000>;