Lines Matching +full:max77650 +full:- +full:charger
1 // SPDX-License-Identifier: GPL-2.0
6 // Regulator driver for MAXIM 77650/77651 charger/power-supply.
9 #include <linux/mfd/max77650.h>
76 rv = regmap_read(map, rdesc->regB, &val); in max77650_regulator_is_enabled()
93 return regmap_update_bits(map, rdesc->regB, in max77650_regulator_enable()
106 return regmap_update_bits(map, rdesc->regB, in max77650_regulator_disable()
135 /* Special case for max77651 SBB1 - pickable linear-range voltage mapping. */
153 .supply_name = "in-ldo",
179 .supply_name = "in-sbb0",
209 .supply_name = "in-sbb1",
239 .supply_name = "in-sbb1",
272 .supply_name = "in-sbb0",
302 .supply_name = "in-sbb0",
338 dev = &pdev->dev; in max77650_regulator_probe()
339 parent = dev->parent; in max77650_regulator_probe()
341 if (!dev->of_node) in max77650_regulator_probe()
342 dev->of_node = parent->of_node; in max77650_regulator_probe()
347 return -ENOMEM; in max77650_regulator_probe()
351 return -ENODEV; in max77650_regulator_probe()
372 return -ENODEV; in max77650_regulator_probe()
381 rdev = devm_regulator_register(dev, &rdesc->desc, &config); in max77650_regulator_probe()
390 { .compatible = "maxim,max77650-regulator" },
397 .name = "max77650-regulator",
408 MODULE_ALIAS("platform:max77650-regulator");