Lines Matching full:mt6397
10 #include <linux/mfd/mt6397/core.h>
11 #include <linux/mfd/mt6397/registers.h>
14 #include <linux/regulator/mt6397-regulator.h>
16 #include <dt-bindings/regulator/mediatek,mt6397-regulator.h>
19 * MT6397 regulators' information
176 dev_dbg(&rdev->dev, "mt6397 buck set_mode %#x, %#x, %#x\n", in mt6397_regulator_set_mode()
186 "Failed to set mt6397 buck mode: %d\n", ret); in mt6397_regulator_set_mode()
201 "Failed to get mt6397 buck mode: %d\n", ret); in mt6397_regulator_get_mode()
325 struct mt6397_chip *mt6397 = dev_get_drvdata(pdev->dev.parent); in mt6397_set_buck_vosel_reg() local
331 if (regmap_read(mt6397->regmap, in mt6397_set_buck_vosel_reg()
351 struct mt6397_chip *mt6397 = dev_get_drvdata(pdev->dev.parent); in mt6397_regulator_probe() local
362 if (regmap_read(mt6397->regmap, MT6397_CID, ®_value) < 0) { in mt6397_regulator_probe()
381 config.regmap = mt6397->regmap; in mt6397_regulator_probe()
395 {"mt6397-regulator", 0},
401 { .compatible = "mediatek,mt6397-regulator", },
408 .name = "mt6397-regulator",
419 MODULE_DESCRIPTION("Regulator Driver for MediaTek MT6397 PMIC");