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

Janani Sunil jan.sun97 at gmail.com
Wed Sep 2 01:48:58 PDT 2026


On 8/31/26 01:30, Jonathan Cameron wrote:
>>   
>> diff --git a/drivers/iio/dac/Makefile b/drivers/iio/dac/Makefile
>> index 992f8930f95c..8dc644522b1e 100644
>> --- a/drivers/iio/dac/Makefile
>> +++ b/drivers/iio/dac/Makefile
>> @@ -18,6 +18,7 @@ obj-$(CONFIG_AD5446) += ad5446.o
>>   obj-$(CONFIG_AD5446_SPI) += ad5446-spi.o
>>   obj-$(CONFIG_AD5446_I2C) += ad5446-i2c.o
>>   obj-$(CONFIG_AD5449) += ad5449.o
>> +obj-$(CONFIG_AD5529R) += ad5529r.o
>>   obj-$(CONFIG_AD5592R_BASE) += ad5592r-base.o
>>   obj-$(CONFIG_AD5592R) += ad5592r.o
>>   obj-$(CONFIG_AD5593R) += ad5593r.o
>> diff --git a/drivers/iio/dac/ad5529r.c b/drivers/iio/dac/ad5529r.c
>> new file mode 100644
>> index 000000000000..52601cbf28d5
>> --- /dev/null
>> +++ b/drivers/iio/dac/ad5529r.c
>> @@ -0,0 +1,536 @@
> Why do we need those outer () ?
>
> ...

The outer parenthesis are required by checkpatch for macros with complex values. The same pattern is also used by AD3552R_CH_DAC() in drivers/iio/dac/ad3552r.c

-Jan




More information about the linux-riscv mailing list