Lines Matching full:wm8994
3 // wm8994-regulator.c -- Regulator driver for the WM8994
20 #include <linux/mfd/wm8994/core.h>
21 #include <linux/mfd/wm8994/registers.h>
22 #include <linux/mfd/wm8994/pdata.h>
26 struct wm8994 *wm8994; member
49 switch (ldo->wm8994->type) { in wm8994_ldo2_list_voltage()
50 case WM8994: in wm8994_ldo2_list_voltage()
122 struct wm8994 *wm8994 = dev_get_drvdata(pdev->dev.parent); in wm8994_ldo_probe() local
123 struct wm8994_pdata *pdata = dev_get_platdata(wm8994->dev); in wm8994_ldo_probe()
136 ldo->wm8994 = wm8994; in wm8994_ldo_probe()
138 ldo->supply.dev_name = dev_name(wm8994->dev); in wm8994_ldo_probe()
140 config.dev = wm8994->dev; in wm8994_ldo_probe()
142 config.regmap = wm8994->regmap; in wm8994_ldo_probe()
158 if (!pdata || !pdata->ldo[id].init_data || wm8994->dev->of_node) { in wm8994_ldo_probe()
159 dev_dbg(wm8994->dev, "Using default init data, supply %s %s\n", in wm8994_ldo_probe()
180 dev_err(wm8994->dev, "Failed to register LDO%d: %d\n", in wm8994_ldo_probe()
193 .name = "wm8994-ldo",
201 MODULE_DESCRIPTION("WM8994 LDO driver");
203 MODULE_ALIAS("platform:wm8994-ldo");