Lines Matching full:backup
3 * Backup battery driver for Wolfson Microelectronics wm831x PMICs
21 struct power_supply *backup; member
40 * Backup supply properties
49 if (!wm831x_pdata || !wm831x_pdata->backup) { in wm831x_config_backup()
51 "No backup battery charger configuration\n"); in wm831x_config_backup()
55 pdata = wm831x_pdata->backup; in wm831x_config_backup()
71 dev_err(wm831x->dev, "Invalid backup voltage limit %dmV\n", in wm831x_config_backup()
88 dev_err(wm831x->dev, "Invalid backup current limit %duA\n", in wm831x_config_backup()
107 "Failed to set backup charger config: %d\n", ret); in wm831x_config_backup()
183 "wm831x-backup.%d", wm831x_pdata->wm831x_num); in wm831x_backup_probe()
186 "wm831x-backup"); in wm831x_backup_probe()
193 devdata->backup = devm_power_supply_register(&pdev->dev, in wm831x_backup_probe()
196 return PTR_ERR_OR_ZERO(devdata->backup); in wm831x_backup_probe()
202 .name = "wm831x-backup",
208 MODULE_DESCRIPTION("Backup battery charger driver for WM831x PMICs");
211 MODULE_ALIAS("platform:wm831x-backup");