Loading Documentation/hwmon/wm831x +1 −1 Original line number Diff line number Diff line Loading @@ -22,7 +22,7 @@ reporting of all the input values but does not provide any alarms. Voltage Monitoring ------------------ Voltages are sampled by a 12 bit ADC. Voltages in milivolts are 1.465 Voltages are sampled by a 12 bit ADC. Voltages in millivolts are 1.465 times the ADC value. Temperature Monitoring Loading drivers/mfd/tps65911-comparator.c +1 −1 Original line number Diff line number Diff line Loading @@ -26,7 +26,7 @@ #define COMP1 1 #define COMP2 2 /* Comparator 1 voltage selection table in milivolts */ /* Comparator 1 voltage selection table in millivolts */ static const u16 COMP_VSEL_TABLE[] = { 0, 2500, 2500, 2500, 2500, 2550, 2600, 2650, 2700, 2750, 2800, 2850, 2900, 2950, 3000, 3050, Loading drivers/power/bq27x00_battery.c +1 −1 Original line number Diff line number Diff line Loading @@ -456,7 +456,7 @@ static int bq27x00_battery_capacity_level(struct bq27x00_device_info *di, } /* * Return the battery Voltage in milivolts * Return the battery Voltage in millivolts * Or < 0 if something fails. */ static int bq27x00_battery_voltage(struct bq27x00_device_info *di, Loading drivers/regulator/tps65910-regulator.c +10 −10 Original line number Diff line number Diff line Loading @@ -27,54 +27,54 @@ #define TPS65910_SUPPLY_STATE_ENABLED 0x1 /* supported VIO voltages in milivolts */ /* supported VIO voltages in millivolts */ static const u16 VIO_VSEL_table[] = { 1500, 1800, 2500, 3300, }; /* VSEL tables for TPS65910 specific LDOs and dcdc's */ /* supported VDD3 voltages in milivolts */ /* supported VDD3 voltages in millivolts */ static const u16 VDD3_VSEL_table[] = { 5000, }; /* supported VDIG1 voltages in milivolts */ /* supported VDIG1 voltages in millivolts */ static const u16 VDIG1_VSEL_table[] = { 1200, 1500, 1800, 2700, }; /* supported VDIG2 voltages in milivolts */ /* supported VDIG2 voltages in millivolts */ static const u16 VDIG2_VSEL_table[] = { 1000, 1100, 1200, 1800, }; /* supported VPLL voltages in milivolts */ /* supported VPLL voltages in millivolts */ static const u16 VPLL_VSEL_table[] = { 1000, 1100, 1800, 2500, }; /* supported VDAC voltages in milivolts */ /* supported VDAC voltages in millivolts */ static const u16 VDAC_VSEL_table[] = { 1800, 2600, 2800, 2850, }; /* supported VAUX1 voltages in milivolts */ /* supported VAUX1 voltages in millivolts */ static const u16 VAUX1_VSEL_table[] = { 1800, 2500, 2800, 2850, }; /* supported VAUX2 voltages in milivolts */ /* supported VAUX2 voltages in millivolts */ static const u16 VAUX2_VSEL_table[] = { 1800, 2800, 2900, 3300, }; /* supported VAUX33 voltages in milivolts */ /* supported VAUX33 voltages in millivolts */ static const u16 VAUX33_VSEL_table[] = { 1800, 2000, 2800, 3300, }; /* supported VMMC voltages in milivolts */ /* supported VMMC voltages in millivolts */ static const u16 VMMC_VSEL_table[] = { 1800, 2800, 3000, 3300, }; Loading include/linux/mfd/wm831x/pdata.h +1 −1 Original line number Diff line number Diff line Loading @@ -26,7 +26,7 @@ struct wm831x_backlight_pdata { struct wm831x_backup_pdata { int charger_enable; int no_constant_voltage; /** Disable constant voltage charging */ int vlim; /** Voltage limit in milivolts */ int vlim; /** Voltage limit in millivolts */ int ilim; /** Current limit in microamps */ }; Loading Loading
Documentation/hwmon/wm831x +1 −1 Original line number Diff line number Diff line Loading @@ -22,7 +22,7 @@ reporting of all the input values but does not provide any alarms. Voltage Monitoring ------------------ Voltages are sampled by a 12 bit ADC. Voltages in milivolts are 1.465 Voltages are sampled by a 12 bit ADC. Voltages in millivolts are 1.465 times the ADC value. Temperature Monitoring Loading
drivers/mfd/tps65911-comparator.c +1 −1 Original line number Diff line number Diff line Loading @@ -26,7 +26,7 @@ #define COMP1 1 #define COMP2 2 /* Comparator 1 voltage selection table in milivolts */ /* Comparator 1 voltage selection table in millivolts */ static const u16 COMP_VSEL_TABLE[] = { 0, 2500, 2500, 2500, 2500, 2550, 2600, 2650, 2700, 2750, 2800, 2850, 2900, 2950, 3000, 3050, Loading
drivers/power/bq27x00_battery.c +1 −1 Original line number Diff line number Diff line Loading @@ -456,7 +456,7 @@ static int bq27x00_battery_capacity_level(struct bq27x00_device_info *di, } /* * Return the battery Voltage in milivolts * Return the battery Voltage in millivolts * Or < 0 if something fails. */ static int bq27x00_battery_voltage(struct bq27x00_device_info *di, Loading
drivers/regulator/tps65910-regulator.c +10 −10 Original line number Diff line number Diff line Loading @@ -27,54 +27,54 @@ #define TPS65910_SUPPLY_STATE_ENABLED 0x1 /* supported VIO voltages in milivolts */ /* supported VIO voltages in millivolts */ static const u16 VIO_VSEL_table[] = { 1500, 1800, 2500, 3300, }; /* VSEL tables for TPS65910 specific LDOs and dcdc's */ /* supported VDD3 voltages in milivolts */ /* supported VDD3 voltages in millivolts */ static const u16 VDD3_VSEL_table[] = { 5000, }; /* supported VDIG1 voltages in milivolts */ /* supported VDIG1 voltages in millivolts */ static const u16 VDIG1_VSEL_table[] = { 1200, 1500, 1800, 2700, }; /* supported VDIG2 voltages in milivolts */ /* supported VDIG2 voltages in millivolts */ static const u16 VDIG2_VSEL_table[] = { 1000, 1100, 1200, 1800, }; /* supported VPLL voltages in milivolts */ /* supported VPLL voltages in millivolts */ static const u16 VPLL_VSEL_table[] = { 1000, 1100, 1800, 2500, }; /* supported VDAC voltages in milivolts */ /* supported VDAC voltages in millivolts */ static const u16 VDAC_VSEL_table[] = { 1800, 2600, 2800, 2850, }; /* supported VAUX1 voltages in milivolts */ /* supported VAUX1 voltages in millivolts */ static const u16 VAUX1_VSEL_table[] = { 1800, 2500, 2800, 2850, }; /* supported VAUX2 voltages in milivolts */ /* supported VAUX2 voltages in millivolts */ static const u16 VAUX2_VSEL_table[] = { 1800, 2800, 2900, 3300, }; /* supported VAUX33 voltages in milivolts */ /* supported VAUX33 voltages in millivolts */ static const u16 VAUX33_VSEL_table[] = { 1800, 2000, 2800, 3300, }; /* supported VMMC voltages in milivolts */ /* supported VMMC voltages in millivolts */ static const u16 VMMC_VSEL_table[] = { 1800, 2800, 3000, 3300, }; Loading
include/linux/mfd/wm831x/pdata.h +1 −1 Original line number Diff line number Diff line Loading @@ -26,7 +26,7 @@ struct wm831x_backlight_pdata { struct wm831x_backup_pdata { int charger_enable; int no_constant_voltage; /** Disable constant voltage charging */ int vlim; /** Voltage limit in milivolts */ int vlim; /** Voltage limit in millivolts */ int ilim; /** Current limit in microamps */ }; Loading