Lines Matching full:charger

3  * max8903_charger.c - Maxim 8903 USB/Adapter Charger Driver
27 struct gpio_desc *cen; /* Charger Enable input */
30 struct gpio_desc *chg; /* Charger status output */
40 POWER_SUPPLY_PROP_STATUS, /* Charger status output */
105 /* Charger Enable / Disable */ in max8903_dcin()
113 /* Enable if the USB charger is enabled */ in max8903_dcin()
122 dev_dbg(data->dev, "TA(DC-IN) Charger %s.\n", ta_in ? in max8903_dcin()
162 /* Charger Enable / Disable */ in max8903_usbin()
170 /* Enable if the DC charger is enabled */ in max8903_usbin()
179 dev_dbg(data->dev, "USB Charger %s.\n", usb_in ? in max8903_usbin()
217 dev_err(data->dev, "Charger suffers a fault and stops.\n"); in max8903_fault()
219 dev_err(data->dev, "Charger recovered from a fault.\n"); in max8903_fault()
239 * The DC OK is pulled up to 1 and goes low when a charger in max8903_setup_gpios()
242 * here if the DC charger is plugged in. in max8903_setup_gpios()
254 * The USB OK is pulled up to 1 and goes low when a USB charger in max8903_setup_gpios()
257 * here if the USB charger is plugged in. in max8903_setup_gpios()
269 * If either charger is already connected at this point, in max8903_setup_gpios()
278 * If DC OK is provided, Charger Enable CEN is compulsory in max8903_setup_gpios()
288 * If the DC charger is connected, then select it. in max8903_setup_gpios()
291 * device tree. Driving it high will enable the DC charger in max8903_setup_gpios()
292 * input over the USB charger input. in max8903_setup_gpios()
412 .name = "max8903-charger",
420 MODULE_DESCRIPTION("MAX8903 Charger Driver");
422 MODULE_ALIAS("platform:max8903-charger");