Lines Matching full:act8945a

3  * Voltage regulation driver for active-semi ACT8945A PMIC
19 * ACT8945A Global Register Map.
56 * ACT8945A Voltage Number
156 struct act8945a_pmic *act8945a = rdev_get_drvdata(rdev); in act8945a_set_mode() local
204 act8945a->op_mode[id] = mode; in act8945a_set_mode()
211 struct act8945a_pmic *act8945a = rdev_get_drvdata(rdev); in act8945a_get_mode() local
217 return act8945a->op_mode[id]; in act8945a_get_mode()
255 ACT89xx_REG("DCDC_REG1", ACT8945A, DCDC1, VSET1, "vp1"),
256 ACT89xx_REG("DCDC_REG2", ACT8945A, DCDC2, VSET1, "vp2"),
257 ACT89xx_REG("DCDC_REG3", ACT8945A, DCDC3, VSET1, "vp3"),
258 ACT89xx_REG("LDO_REG1", ACT8945A, LDO1, VSET, "inl45"),
259 ACT89xx_REG("LDO_REG2", ACT8945A, LDO2, VSET, "inl45"),
260 ACT89xx_REG("LDO_REG3", ACT8945A, LDO3, VSET, "inl67"),
261 ACT89xx_REG("LDO_REG4", ACT8945A, LDO4, VSET, "inl67"),
265 ACT89xx_REG("DCDC_REG1", ACT8945A, DCDC1, VSET2, "vp1"),
266 ACT89xx_REG("DCDC_REG2", ACT8945A, DCDC2, VSET2, "vp2"),
267 ACT89xx_REG("DCDC_REG3", ACT8945A, DCDC3, VSET2, "vp3"),
268 ACT89xx_REG("LDO_REG1", ACT8945A, LDO1, VSET, "inl45"),
269 ACT89xx_REG("LDO_REG2", ACT8945A, LDO2, VSET, "inl45"),
270 ACT89xx_REG("LDO_REG3", ACT8945A, LDO3, VSET, "inl67"),
271 ACT89xx_REG("LDO_REG4", ACT8945A, LDO4, VSET, "inl67"),
278 struct act8945a_pmic *act8945a; in act8945a_pmic_probe() local
283 act8945a = devm_kzalloc(&pdev->dev, sizeof(*act8945a), GFP_KERNEL); in act8945a_pmic_probe()
284 if (!act8945a) in act8945a_pmic_probe()
287 act8945a->regmap = dev_get_regmap(pdev->dev.parent, NULL); in act8945a_pmic_probe()
288 if (!act8945a->regmap) { in act8945a_pmic_probe()
307 config.driver_data = act8945a; in act8945a_pmic_probe()
319 platform_set_drvdata(pdev, act8945a); in act8945a_pmic_probe()
322 return regmap_write(act8945a->regmap, ACT8945A_SYS_UNLK_REGS, 0xef); in act8945a_pmic_probe()
327 struct act8945a_pmic *act8945a = dev_get_drvdata(pdev); in act8945a_suspend() local
333 return regmap_write(act8945a->regmap, ACT8945A_SYS_CTRL, 0x42); in act8945a_suspend()
340 struct act8945a_pmic *act8945a = platform_get_drvdata(pdev); in act8945a_pmic_shutdown() local
345 regmap_write(act8945a->regmap, ACT8945A_SYS_CTRL, 0x0); in act8945a_pmic_shutdown()
350 .name = "act8945a-regulator",
359 MODULE_DESCRIPTION("Active-semi ACT8945A voltage regulator driver");