Lines Matching refs: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>
178 dev_dbg(&rdev->dev, "mt6397 buck set_mode %#x, %#x, %#x, %#x\n",
188 "Failed to set mt6397 buck mode: %d\n", ret);
203 "Failed to get mt6397 buck mode: %d\n", ret);
324 struct mt6397_chip *mt6397 = dev_get_drvdata(pdev->dev.parent);
330 if (regmap_read(mt6397->regmap,
350 struct mt6397_chip *mt6397 = dev_get_drvdata(pdev->dev.parent);
361 if (regmap_read(mt6397->regmap, MT6397_CID, ®_value) < 0) {
380 config.regmap = mt6397->regmap;
394 {"mt6397-regulator", 0},
400 { .compatible = "mediatek,mt6397-regulator", },
407 .name = "mt6397-regulator",