Lines Matching full:da9063
3 // Regulator driver for DA9063 PMIC series
21 #include <linux/mfd/da9063/core.h>
22 #include <linux/mfd/da9063/registers.h>
30 /* DA9063 and DA9063L regulator IDs */
46 /* LDOs on both DA9063 and DA9063L */
53 /* DA9063-only LDOs */
77 /* DA9063 main register fields */
84 /* DA9063 event detection bit */
144 struct da9063 *hw;
160 /* BUCK modes for DA9063 */
449 /* Info of regulators for DA9063 */
452 DA9063_BUCK(DA9063, BCORE1, 300, 10, 1570,
458 DA9063_BUCK(DA9063, BCORE2, 300, 10, 1570,
464 DA9063_BUCK(DA9063, BPRO, 530, 10, 1800,
470 DA9063_BUCK(DA9063, BMEM, 800, 20, 3340,
476 DA9063_BUCK(DA9063, BIO, 800, 20, 3340,
482 DA9063_BUCK(DA9063, BPERI, 800, 20, 3340,
488 DA9063_BUCK(DA9063, BCORES_MERGED, 300, 10, 1570,
495 DA9063_BUCK(DA9063, BMEM_BIO_MERGED, 800, 20, 3340,
502 DA9063_LDO(DA9063, LDO3, 900, 20, 3440),
506 DA9063_LDO(DA9063, LDO7, 900, 50, 3600),
510 DA9063_LDO(DA9063, LDO8, 900, 50, 3600),
514 DA9063_LDO(DA9063, LDO9, 950, 50, 3600),
517 DA9063_LDO(DA9063, LDO11, 900, 50, 3600),
521 /* The following LDOs are present only on DA9063, not on DA9063L */
523 DA9063_LDO(DA9063, LDO1, 600, 20, 1860),
526 DA9063_LDO(DA9063, LDO2, 600, 20, 1860),
529 DA9063_LDO(DA9063, LDO4, 900, 20, 3440),
533 DA9063_LDO(DA9063, LDO5, 900, 50, 3600),
536 DA9063_LDO(DA9063, LDO6, 900, 50, 3600),
540 DA9063_LDO(DA9063, LDO10, 900, 50, 3600),
563 struct da9063 *hw = regulators->regulator[0].hw; in da9063_ldo_lim_event()
615 /* The following LDOs are present only on DA9063, not on DA9063L */
628 struct da9063 *da9063 = dev_get_drvdata(pdev->dev.parent); in da9063_parse_regulators_dt() local
635 if (da9063->type == PMIC_TYPE_DA9063L) in da9063_parse_regulators_dt()
681 struct da9063 *da9063 = dev_get_drvdata(pdev->dev.parent); in da9063_regulator_probe() local
701 if (model->type == da9063->type) in da9063_regulator_probe()
706 da9063->type); in da9063_regulator_probe()
710 ret = regmap_read(da9063->regmap, DA9063_REG_CONFIG_H, &val); in da9063_regulator_probe()
774 regl->hw = da9063; in da9063_regulator_probe()
782 da9063->regmap, regl->info->mode); in da9063_regulator_probe()
789 da9063->regmap, regl->info->suspend); in da9063_regulator_probe()
796 da9063->regmap, regl->info->sleep); in da9063_regulator_probe()
803 da9063->regmap, regl->info->suspend_sleep); in da9063_regulator_probe()
815 config.regmap = da9063->regmap; in da9063_regulator_probe()
865 MODULE_DESCRIPTION("DA9063 regulators driver");