Re: [PATCH RFC 3/8] iio: frequency: ad9910: add simple parallel port mode support

From: Jonathan Cameron

Date: Sun Mar 01 2026 - 08:22:59 EST


On Fri, 20 Feb 2026 16:46:07 +0000
Rodrigo Alencar via B4 Relay <devnull+rodrigo.alencar.analog.com@xxxxxxxxxx> wrote:

> From: Rodrigo Alencar <rodrigo.alencar@xxxxxxxxxx>
>
> Add parallel port channel with frequency scale, frequency offset, phase
> offset, and amplitude offset extended attributes for configuring the
> parallel data path.
>
> Signed-off-by: Rodrigo Alencar <rodrigo.alencar@xxxxxxxxxx>
One trivial comment below.

> +#define AD9910_EXT_INFO(_name, _ident, _shared) \
> + AD9910_EXT_INFO_TMPL(_name, _ident, _shared, ext_info)
> +
> +#define AD9910_PP_EXT_INFO(_name, _ident) \
> + AD9910_EXT_INFO_TMPL(_name, _ident, IIO_SEPARATE, pp_attrs)
> +
> static const struct iio_chan_spec_ext_info ad9910_shared_ext_info[] = {
> AD9910_EXT_INFO("profile", AD9910_PROFILE, IIO_SHARED_BY_TYPE),
> AD9910_EXT_INFO("powerdown", AD9910_POWERDOWN, IIO_SHARED_BY_TYPE),
> { },
> };
>
> +static const struct iio_chan_spec_ext_info ad9910_pp_ext_info[] = {
> + AD9910_EXT_INFO("frequency_scale", AD9910_PP_FREQ_SCALE, IIO_SEPARATE),
> + AD9910_PP_EXT_INFO("frequency_offset", AD9910_PP_FREQ_OFFSET),
> + AD9910_PP_EXT_INFO("phase_offset", AD9910_PP_PHASE_OFFSET),
> + AD9910_PP_EXT_INFO("scale_offset", AD9910_PP_AMP_OFFSET),
> + { },
No comma

> +};
> +
>