Re: [PATCH 4/5] iio: potentiometer: mcp4018: Turn on the vdd supply
From: Andy Shevchenko
Date: Tue Nov 17 2026 - 03:20:00 EST
On Mon, Nov 16, 2026 at 05:59:53PM -0500, Joseph Telaak wrote:
> Get and enable the vdd supply at probe, so a board that switches the
> potentiometer's supply gets it powered before the wiper is used. On
> boards that describe no supply, this gets the dummy regulator.
+ dev_printk.h // dev_err*()
> #include <linux/iio/iio.h>
> #include <linux/module.h>
> #include <linux/property.h>
> +#include <linux/regulator/consumer.h>
--
With Best Regards,
Andy Shevchenko