···2222Voltage Monitoring2323------------------24242525-Voltages are sampled by a 12 bit ADC. Voltages in milivolts are 1.4652525+Voltages are sampled by a 12 bit ADC. Voltages in millivolts are 1.4652626times the ADC value.27272828Temperature Monitoring
···456456}457457458458/*459459- * Return the battery Voltage in milivolts459459+ * Return the battery Voltage in millivolts460460 * Or < 0 if something fails.461461 */462462static int bq27x00_battery_voltage(struct bq27x00_device_info *di,
+10-10
drivers/regulator/tps65910-regulator.c
···27272828#define TPS65910_SUPPLY_STATE_ENABLED 0x129293030-/* supported VIO voltages in milivolts */3030+/* supported VIO voltages in millivolts */3131static const u16 VIO_VSEL_table[] = {3232 1500, 1800, 2500, 3300,3333};34343535/* VSEL tables for TPS65910 specific LDOs and dcdc's */36363737-/* supported VDD3 voltages in milivolts */3737+/* supported VDD3 voltages in millivolts */3838static const u16 VDD3_VSEL_table[] = {3939 5000,4040};41414242-/* supported VDIG1 voltages in milivolts */4242+/* supported VDIG1 voltages in millivolts */4343static const u16 VDIG1_VSEL_table[] = {4444 1200, 1500, 1800, 2700,4545};46464747-/* supported VDIG2 voltages in milivolts */4747+/* supported VDIG2 voltages in millivolts */4848static const u16 VDIG2_VSEL_table[] = {4949 1000, 1100, 1200, 1800,5050};51515252-/* supported VPLL voltages in milivolts */5252+/* supported VPLL voltages in millivolts */5353static const u16 VPLL_VSEL_table[] = {5454 1000, 1100, 1800, 2500,5555};56565757-/* supported VDAC voltages in milivolts */5757+/* supported VDAC voltages in millivolts */5858static const u16 VDAC_VSEL_table[] = {5959 1800, 2600, 2800, 2850,6060};61616262-/* supported VAUX1 voltages in milivolts */6262+/* supported VAUX1 voltages in millivolts */6363static const u16 VAUX1_VSEL_table[] = {6464 1800, 2500, 2800, 2850,6565};66666767-/* supported VAUX2 voltages in milivolts */6767+/* supported VAUX2 voltages in millivolts */6868static const u16 VAUX2_VSEL_table[] = {6969 1800, 2800, 2900, 3300,7070};71717272-/* supported VAUX33 voltages in milivolts */7272+/* supported VAUX33 voltages in millivolts */7373static const u16 VAUX33_VSEL_table[] = {7474 1800, 2000, 2800, 3300,7575};76767777-/* supported VMMC voltages in milivolts */7777+/* supported VMMC voltages in millivolts */7878static const u16 VMMC_VSEL_table[] = {7979 1800, 2800, 3000, 3300,8080};
+1-1
include/linux/mfd/wm831x/pdata.h
···2626struct wm831x_backup_pdata {2727 int charger_enable;2828 int no_constant_voltage; /** Disable constant voltage charging */2929- int vlim; /** Voltage limit in milivolts */2929+ int vlim; /** Voltage limit in millivolts */3030 int ilim; /** Current limit in microamps */3131};3232