Re: [PATCH v10 3/3] iio: dac: Add AD5529R DAC driver support

From: Janani Sunil

Date: Thu Aug 27 2026 - 07:17:57 EST



On 8/27/26 10:23, Andy Shevchenko wrote:
More or less in a good shape, a few nit-picks and minor issues here and there
and I believe the next version will be fine to go. Note, some of the mentioned
issues can be addressed later, but if no doubts, address now.

On Thu, Aug 27, 2026 at 09:34:48AM +0200, Janani Sunil wrote:
Add support for AD5529R 16-channel, 12/16 bit Digital to Analog Converter
from Analog Devices.

The device communicates over SPI and supports per-channel output range
configuration. An optional external 4.096V reference can be used in
place of the internal reference.
+ for (unsigned int i = 0; i < ARRAY_SIZE(ad5529r_vss_supply_names); i++) {
+ ret = devm_regulator_get_enable_optional(dev,
+ ad5529r_vss_supply_names[i]);
+ if (ret && ret != -ENODEV)
+ return dev_err_probe(dev, ret,
+ "Failed to get and enable %s regulator\n",
+ ad5529r_vss_supply_names[i]);
+ }
Hmm... Can we use bulk regulator approach here?

I don´t think the bulk helper fits here. Each VSS supply is independently optional, and there is currently no optional bulk get-enable regulator helper.

Regards,
Jan