| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/ |
| D | cs35l34.txt | 18 in nH and they can be values of 1000nH, 1100nH, 1200nH, 1500nH, and 2200nH. 28 - cirrus,boost-peak-milliamp : Boost converter peak current limit in mA. The 29 range starts at 1200mA and goes to a maximum of 3840mA with increments of 30 80mA. The default value is 2480mA. 60 cirrus,boost-ind-nanohenry = <1000>; /* 1uH */
|
| D | cirrus,cs35l41.yaml | 44 Boost-converter peak current limit in mA. 46 Range starts at 1600 mA and goes to a maximum of 4500 mA with increments 47 of 50 mA. See section 4.3.6 of the datasheet for details. 56 values include 1000, 1200, 1500 and 2200. 58 minimum: 1000 206 cirrus,boost-ind-nanohenry = <1000>;
|
| D | cs35l36.txt | 18 - cirrus,boost-peak-milliamp : Boost-converter peak current limit in mA. 20 Range starts at 1600mA and goes to a maximum of 4500mA with increments of 21 50mA. 28 1000 = 1uH (Default) 71 7 = 1000ms 147 cirrus,boost-ind-nanohenry = <1000>;
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/ |
| D | cs35l34.txt | 18 in nH and they can be values of 1000nH, 1100nH, 1200nH, 1500nH, and 2200nH. 28 - cirrus,boost-peak-milliamp : Boost converter peak current limit in mA. The 29 range starts at 1200mA and goes to a maximum of 3840mA with increments of 30 80mA. The default value is 2480mA. 60 cirrus,boost-ind-nanohenry = <1000>; /* 1uH */
|
| D | cs35l36.txt | 18 - cirrus,boost-peak-milliamp : Boost-converter peak current limit in mA. 20 Range starts at 1600mA and goes to a maximum of 4500mA with increments of 21 50mA. 28 1000 = 1uH (Default) 71 7 = 1000ms 147 cirrus,boost-ind-nanohenry = <1000>;
|
| /kernel/linux/linux-5.10/drivers/power/supply/ |
| D | pcf50633-charger.c | 36 int pcf50633_mbc_usb_curlim_set(struct pcf50633 *pcf, int ma) in pcf50633_mbc_usb_curlim_set() argument 44 if (ma >= 1000) { in pcf50633_mbc_usb_curlim_set() 46 ma = 1000; in pcf50633_mbc_usb_curlim_set() 47 } else if (ma >= 500) { in pcf50633_mbc_usb_curlim_set() 49 ma = 500; in pcf50633_mbc_usb_curlim_set() 50 } else if (ma >= 100) { in pcf50633_mbc_usb_curlim_set() 52 ma = 100; in pcf50633_mbc_usb_curlim_set() 55 ma = 0; in pcf50633_mbc_usb_curlim_set() 61 dev_err(pcf->dev, "error setting usb curlim to %d mA\n", ma); in pcf50633_mbc_usb_curlim_set() 63 dev_info(pcf->dev, "usb curlim to %d mA\n", ma); in pcf50633_mbc_usb_curlim_set() [all …]
|
| D | bd70528-charger.c | 401 static int get_charge_current(struct bd70528_psy *bdpsy, int *ma) in get_charge_current() argument 418 sel, ma); in get_charge_current() 428 static int get_current_limit(struct bd70528_psy *bdpsy, int *ma) in get_current_limit() argument 446 sel, ma); in get_current_limit() 448 /* Unspecified values mean 500 mA */ in get_current_limit() 449 *ma = 500; in get_current_limit() 484 val->intval *= 1000; in bd70528_charger_get_property() 488 val->intval *= 1000; in bd70528_charger_get_property() 518 static int set_charge_current(struct bd70528_psy *bdpsy, int ma) in set_charge_current() argument 524 if (ma > 500) { in set_charge_current() [all …]
|
| D | axp288_charger.c | 40 #define VBUS_ISPOUT_CUR_LIM_900MA 0x0 /* 900mA */ 41 #define VBUS_ISPOUT_CUR_LIM_1500MA 0x1 /* 1500mA */ 42 #define VBUS_ISPOUT_CUR_LIM_2000MA 0x2 /* 2000mA */ 43 #define VBUS_ISPOUT_CUR_NO_LIM 0x3 /* 2500mA */ 53 #define CHRG_CCCV_CC_OFFSET 200 /* 200mA */ 54 #define CHRG_CCCV_CC_LSB_RES 200 /* 200mA */ 78 #define CHRG_VBUS_ILIM_100MA 0x0 /* 100mA */ 79 #define CHRG_VBUS_ILIM_500MA 0x1 /* 500mA */ 80 #define CHRG_VBUS_ILIM_900MA 0x2 /* 900mA */ 81 #define CHRG_VBUS_ILIM_1500MA 0x3 /* 1500mA */ [all …]
|
| D | sc2731_charger.c | 46 /* Default current definition (unit is mA) */ 120 /* Calculate the step value, each step is 50 mA */ in sc2731_charger_set_current() 123 /* Set pre-charge current as 450 mA */ in sc2731_charger_set_current() 218 ret = sc2731_charger_set_current(info, val->intval / 1000); in sc2731_charger_usb_set_property() 225 val->intval / 1000); in sc2731_charger_usb_set_property() 264 val->intval = cur * 1000; in sc2731_charger_usb_get_property() 276 val->intval = cur * 1000; in sc2731_charger_usb_get_property() 387 * default charge termination current to 120 mA, and default in sc2731_charger_hw_init() 393 term_currrent = bat_info.charge_term_current_ua / 1000; in sc2731_charger_hw_init() 402 term_voltage = bat_info.constant_charge_voltage_max_uv / 1000; in sc2731_charger_hw_init()
|
| /kernel/linux/linux-6.6/drivers/power/supply/ |
| D | pcf50633-charger.c | 36 int pcf50633_mbc_usb_curlim_set(struct pcf50633 *pcf, int ma) in pcf50633_mbc_usb_curlim_set() argument 44 if (ma >= 1000) { in pcf50633_mbc_usb_curlim_set() 46 ma = 1000; in pcf50633_mbc_usb_curlim_set() 47 } else if (ma >= 500) { in pcf50633_mbc_usb_curlim_set() 49 ma = 500; in pcf50633_mbc_usb_curlim_set() 50 } else if (ma >= 100) { in pcf50633_mbc_usb_curlim_set() 52 ma = 100; in pcf50633_mbc_usb_curlim_set() 55 ma = 0; in pcf50633_mbc_usb_curlim_set() 61 dev_err(pcf->dev, "error setting usb curlim to %d mA\n", ma); in pcf50633_mbc_usb_curlim_set() 63 dev_info(pcf->dev, "usb curlim to %d mA\n", ma); in pcf50633_mbc_usb_curlim_set() [all …]
|
| D | axp288_charger.c | 41 #define VBUS_ISPOUT_CUR_LIM_900MA 0x0 /* 900mA */ 42 #define VBUS_ISPOUT_CUR_LIM_1500MA 0x1 /* 1500mA */ 43 #define VBUS_ISPOUT_CUR_LIM_2000MA 0x2 /* 2000mA */ 44 #define VBUS_ISPOUT_CUR_NO_LIM 0x3 /* 2500mA */ 54 #define CHRG_CCCV_CC_OFFSET 200 /* 200mA */ 55 #define CHRG_CCCV_CC_LSB_RES 200 /* 200mA */ 79 #define CHRG_VBUS_ILIM_100MA 0x0 /* 100mA */ 80 #define CHRG_VBUS_ILIM_500MA 0x1 /* 500mA */ 81 #define CHRG_VBUS_ILIM_900MA 0x2 /* 900mA */ 82 #define CHRG_VBUS_ILIM_1500MA 0x3 /* 1500mA */ [all …]
|
| D | sc2731_charger.c | 46 /* Default current definition (unit is mA) */ 120 /* Calculate the step value, each step is 50 mA */ in sc2731_charger_set_current() 123 /* Set pre-charge current as 450 mA */ in sc2731_charger_set_current() 218 ret = sc2731_charger_set_current(info, val->intval / 1000); in sc2731_charger_usb_set_property() 225 val->intval / 1000); in sc2731_charger_usb_set_property() 264 val->intval = cur * 1000; in sc2731_charger_usb_get_property() 276 val->intval = cur * 1000; in sc2731_charger_usb_get_property() 387 * default charge termination current to 120 mA, and default in sc2731_charger_hw_init() 393 term_currrent = bat_info->charge_term_current_ua / 1000; in sc2731_charger_hw_init() 402 term_voltage = bat_info->constant_charge_voltage_max_uv / 1000; in sc2731_charger_hw_init()
|
| D | adp5061.c | 82 #define ADP5061_ICHG_MAX 1300 // mA 120 700, 750, 800, 850, 900, 950, 1000, 1050, 1100, 1200, 1300, 132 800, 900, 1000, 1200, 1500, 1800, 2100, 186 val->intval = adp5061_in_current_lim[mode] * 1000; in adp5061_get_input_current_limit() 195 /* Convert from uA to mA */ in adp5061_set_input_current_limit() 196 val /= 1000; in adp5061_set_input_current_limit() 213 val /= 1000; in adp5061_set_min_voltage() 236 val->intval = adp5061_vmin[regval] * 1000; in adp5061_get_min_voltage() 252 val->intval = adp5061_const_chg_vmax[mode] * 1000; in adp5061_get_chg_volt_lim() 271 val->intval = adp5061_vmax[regval] * 1000; in adp5061_get_max_voltage() [all …]
|
| /kernel/linux/linux-5.10/include/linux/mfd/ |
| D | adp5520.h | 239 * Blacklight current 0..30mA 244 * L2 comparator current 0..1000uA 246 #define ADP5520_L2_COMP_CURR_uA(I) ((I * 255) / 1000) 260 u8 l1_daylight_max; /* use BL_CUR_mA(I) 0 <= I <= 30 mA */ 261 u8 l1_daylight_dim; /* typ = 0, use BL_CUR_mA(I) 0 <= I <= 30 mA */ 262 u8 l2_office_max; /* use BL_CUR_mA(I) 0 <= I <= 30 mA */ 263 u8 l2_office_dim; /* typ = 0, use BL_CUR_mA(I) 0 <= I <= 30 mA */ 264 u8 l3_dark_max; /* use BL_CUR_mA(I) 0 <= I <= 30 mA */ 265 u8 l3_dark_dim; /* typ = 0, use BL_CUR_mA(I) 0 <= I <= 30 mA */ 266 u8 l2_trip; /* use L2_COMP_CURR_uA(I) 0 <= I <= 1000 uA */ [all …]
|
| /kernel/linux/linux-6.6/include/linux/mfd/ |
| D | adp5520.h | 239 * Blacklight current 0..30mA 244 * L2 comparator current 0..1000uA 246 #define ADP5520_L2_COMP_CURR_uA(I) ((I * 255) / 1000) 260 u8 l1_daylight_max; /* use BL_CUR_mA(I) 0 <= I <= 30 mA */ 261 u8 l1_daylight_dim; /* typ = 0, use BL_CUR_mA(I) 0 <= I <= 30 mA */ 262 u8 l2_office_max; /* use BL_CUR_mA(I) 0 <= I <= 30 mA */ 263 u8 l2_office_dim; /* typ = 0, use BL_CUR_mA(I) 0 <= I <= 30 mA */ 264 u8 l3_dark_max; /* use BL_CUR_mA(I) 0 <= I <= 30 mA */ 265 u8 l3_dark_dim; /* typ = 0, use BL_CUR_mA(I) 0 <= I <= 30 mA */ 266 u8 l2_trip; /* use L2_COMP_CURR_uA(I) 0 <= I <= 1000 uA */ [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/power/supply/ |
| D | ti,lp8727.yaml | 53 0 = 90mA, 1 = 100mA, 2 = 400mA, 3 = 450mA, 4 = 500mA, 5 = 600mA, 54 6 = 700mA, 7 = 800mA, 8 = 900mA, 9 = 1000mA 76 /* AC charger: 5% EOC and 500mA charging current */ 83 /* USB charger: 10% EOC and 400mA charging current */
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/dac/ |
| D | ad5758.txt | 44 * <0 20000>: 0 mA to 20 mA current range 45 * <0 24000>: 0 mA to 24 mA current range 46 * <4 24000>: 4 mA to 20 mA current range 47 * <(-20000) 20000>: ±20 mA current range 48 * <(-24000) 24000>: ±24 mA current range 49 * <(-1000) 22000>: −1 mA to +22 mA current range
|
| D | ad5755.txt | 52 4: 4 mA to 20 mA current range. 53 5: 0 mA to 20 mA current range. 54 6: 0 mA to 24 mA current range. 68 1000
|
| /kernel/linux/linux-5.10/drivers/iio/dac/ |
| D | ad5758.c | 131 * 1000: 0 mA to 20 mA current range 132 * 1001: 0 mA to 24 mA current range 133 * 1010: 4 mA to 20 mA current range 134 * 1011: ±20 mA current range 135 * 1100: ±24 mA current range 136 * 1101: -1 mA to +22 mA current range 171 { AD5758_RANGE_MINUS_1mA_PLUS_22mA, -1000, 22000 }, 176 1000, 512, 256, 128, 64, 16 275 usleep_range(100, 1000); in ad5758_wait_for_task_complete() 312 usleep_range(100, 1000); in ad5758_soft_reset() [all …]
|
| /kernel/linux/linux-6.6/drivers/iio/dac/ |
| D | ad5758.c | 130 * 1000: 0 mA to 20 mA current range 131 * 1001: 0 mA to 24 mA current range 132 * 1010: 4 mA to 20 mA current range 133 * 1011: ±20 mA current range 134 * 1100: ±24 mA current range 135 * 1101: -1 mA to +22 mA current range 170 { AD5758_RANGE_MINUS_1mA_PLUS_22mA, -1000, 22000 }, 175 1000, 512, 256, 128, 64, 16 274 usleep_range(100, 1000); in ad5758_wait_for_task_complete() 311 usleep_range(100, 1000); in ad5758_soft_reset() [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/pinctrl/ |
| D | mediatek,mt8183-pinctrl.yaml | 114 enum: [125, 250, 500, 1000] 122 2/4/6/8/10/12/14/16mA driving. But in specific driving setup, they 123 can support 0.125/0.25/0.5/1mA adjustment. If we enable specific 126 When E1=0/E0=0, the strength is 0.125mA. 127 When E1=0/E0=1, the strength is 0.25mA. 128 When E1=1/E0=0, the strength is 0.5mA. 129 When E1=1/E0=1, the strength is 1mA. 225 drive-strength-microamp = <1000>;
|
| D | mediatek,mt8365-pinctrl.yaml | 118 enum: [125, 250, 500, 1000] 126 2/4/6/8/10/12/14/16mA driving. But in specific driving setup, they 127 can support 0.125/0.25/0.5/1mA adjustment. If we enable specific 130 When E1=0/E0=0, the strength is 0.125mA. 131 When E1=0/E0=1, the strength is 0.25mA. 132 When E1=1/E0=0, the strength is 0.5mA. 133 When E1=1/E0=1, the strength is 1mA. 212 pio: pinctrl@1000b000 {
|
| /kernel/linux/linux-5.10/arch/arm/mach-s3c/ |
| D | mach-gta02.c | 145 int ma; in gta02_configure_pmu_for_charger() local 156 ma = 1000; in gta02_configure_pmu_for_charger() 158 ma = 100; in gta02_configure_pmu_for_charger() 160 pcf50633_mbc_usb_curlim_set(pcf, ma); in gta02_configure_pmu_for_charger() 183 * 100mA limit for safety. in gta02_charger_worker() 189 #define GTA02_CHARGER_CONFIGURE_TIMEOUT ((3000 * HZ) / 1000) 206 static void gta02_udc_vbus_draw(unsigned int ma) in gta02_udc_vbus_draw() argument 211 gta02_usb_vbus_draw = ma; in gta02_udc_vbus_draw() 246 .charger_reference_current_ma = 1000,
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/addac/ |
| D | adi,ad74115.yaml | 195 When not present, the DAC short-circuit current limit is 32mA in 196 either source or sink for VOUT and 4mA sink for IOUT. 197 When present, the limit is 16mA in either source or sink for VOUT, 198 1mA sink for IOUT. 212 enum: [250, 500, 750, 1000] 222 enum: [0, 50, 500, 1000, 10000] 237 enum: [0, 50, 500, 1000, 10000] 252 enum: [0, 1000, 10000]
|
| /kernel/linux/linux-6.6/drivers/hwmon/ |
| D | ina238.c | 87 * shunt = 0x4000 / (819.2 * 10^6) / 0.001 = 20000 uOhms (with 1mA/lsb) 89 * Current (mA) = register value * 20000 / rshunt / 4 * gain 201 (1000 * (4 - data->gain + 1)); in ina238_read_in() 203 *val = (regval * INA238_BUS_VOLTAGE_LSB) / 1000; in ina238_read_in() 228 regval = (regval * 1000 * (4 - data->gain + 1)) / in ina238_write_in() 245 regval = (regval * 1000) / INA238_BUS_VOLTAGE_LSB; in ina238_write_in() 275 /* Signed register, fixed 1mA current lsb. result in mA */ in ina238_read_current() 299 /* Fixed 1mA lsb, scaled by 1000000 to have result in uW */ in ina238_read_power() 300 power = div_u64(regval * 1000ULL * INA238_FIXED_SHUNT * in ina238_read_power() 314 power = div_u64((regval << 8) * 1000ULL * INA238_FIXED_SHUNT * in ina238_read_power() [all …]
|