Lines Matching +full:power +full:- +full:supplies
1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * simple, strap-pin configured 24bit 2ch ADC
50 /* regulator power supply names */
52 "Vdda", /* analog supply, 2.7V - 3.6V */
53 "Vdd", /* digital supply, 2.7V - 5.5V */
57 struct regulator_bulk_data supplies[ARRAY_SIZE(supply_names)]; member
63 return regulator_bulk_enable(ARRAY_SIZE(priv->supplies), priv->supplies); in wm8782_soc_probe()
69 regulator_bulk_disable(ARRAY_SIZE(priv->supplies), priv->supplies); in wm8782_soc_remove()
76 regulator_bulk_disable(ARRAY_SIZE(priv->supplies), priv->supplies); in wm8782_soc_suspend()
83 return regulator_bulk_enable(ARRAY_SIZE(priv->supplies), priv->supplies); in wm8782_soc_resume()
106 struct device *dev = &pdev->dev; in wm8782_probe()
112 return -ENOMEM; in wm8782_probe()
117 priv->supplies[i].supply = supply_names[i]; in wm8782_probe()
119 ret = devm_regulator_bulk_get(dev, ARRAY_SIZE(priv->supplies), in wm8782_probe()
120 priv->supplies); in wm8782_probe()
124 return devm_snd_soc_register_component(&pdev->dev, in wm8782_probe()