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
178 dev_dbg(&rdev->dev, "mt6397 buck set_mode %#x, %#x, %#x, %#x\n", in mt6397_regulator_set_mode()
188 "Failed to set mt6397 buck mode: %d\n", ret); in mt6397_regulator_set_mode()
203 "Failed to get mt6397 buck mode: %d\n", ret); in mt6397_regulator_get_mode()
324 struct mt6397_chip *mt6397 = dev_get_drvdata(pdev->dev.parent); in mt6397_set_buck_vosel_reg() local
330 if (regmap_read(mt6397->regmap, in mt6397_set_buck_vosel_reg()
350 struct mt6397_chip *mt6397 = dev_get_drvdata(pdev->dev.parent); in mt6397_regulator_probe() local
361 if (regmap_read(mt6397->regmap, MT6397_CID, ®_value) < 0) { in mt6397_regulator_probe()
380 config.regmap = mt6397->regmap; in mt6397_regulator_probe()
394 {"mt6397-regulator", 0},
400 { .compatible = "mediatek,mt6397-regulator", },
407 .name = "mt6397-regulator",
417 MODULE_DESCRIPTION("Regulator Driver for MediaTek MT6397 PMIC");