Lines Matching full:mt6331
15 #include <linux/mfd/mt6331/registers.h>
18 #include <linux/regulator/mt6331-regulator.h>
25 * MT6331 regulators information
417 struct mt6397_chip *mt6331 = dev_get_drvdata(pdev->dev.parent); in mt6331_set_buck_vosel_reg() local
423 if (regmap_read(mt6331->regmap, in mt6331_set_buck_vosel_reg()
443 struct mt6397_chip *mt6331 = dev_get_drvdata(pdev->dev.parent); in mt6331_regulator_probe() local
454 if (regmap_read(mt6331->regmap, MT6331_HWCID, ®_value) < 0) { in mt6331_regulator_probe()
463 * ChipID 0x10 is "MT6331 E1", has a different voltage table and in mt6331_regulator_probe()
477 config.regmap = mt6331->regmap; in mt6331_regulator_probe()
490 {"mt6331-regulator", 0},
497 .name = "mt6331-regulator",
507 MODULE_DESCRIPTION("Regulator Driver for MediaTek MT6331 PMIC");