[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260122204411.1e5684d3@jic23-huawei>
Date: Thu, 22 Jan 2026 20:44:11 +0000
From: Jonathan Cameron <jic23@...nel.org>
To: Tomas Melin <tomas.melin@...sala.com>
Cc: Michael Hennerich <Michael.Hennerich@...log.com>, Nuno Sa
<nuno.sa@...log.com>, Lars-Peter Clausen <lars@...afoo.de>, David Lechner
<dlechner@...libre.com>, Andy Shevchenko <andy@...nel.org>, Olivier Moysan
<olivier.moysan@...s.st.com>, linux-iio@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v4 3/4] iio: adc: adi-axi-dac: define supported
iio-backend capabilities
On Wed, 21 Jan 2026 12:08:32 +0000
Tomas Melin <tomas.melin@...sala.com> wrote:
iio: dac: adi-axi-dac: ...
> Backends support buffering capability so advertise it while registering
> in case a frontend makes checks for it.
>
> Signed-off-by: Tomas Melin <tomas.melin@...sala.com>
> ---
> drivers/iio/dac/adi-axi-dac.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/iio/dac/adi-axi-dac.c b/drivers/iio/dac/adi-axi-dac.c
> index 0d525272a8a8378e616fae4d0af606979d7b7716..cd06cd4587af56cd2521efcaa37c407f172e7014 100644
> --- a/drivers/iio/dac/adi-axi-dac.c
> +++ b/drivers/iio/dac/adi-axi-dac.c
> @@ -869,11 +869,13 @@ static const struct iio_backend_ops axi_ad3552r_ops = {
> static const struct iio_backend_info axi_dac_generic = {
> .name = "axi-dac",
> .ops = &axi_dac_generic_ops,
> + .caps = IIO_BACKEND_CAP_BUFFERING,
> };
>
> static const struct iio_backend_info axi_ad3552r = {
> .name = "axi-ad3552r",
> .ops = &axi_ad3552r_ops,
> + .caps = IIO_BACKEND_CAP_BUFFERING,
> };
>
> static const struct regmap_config axi_dac_regmap_config = {
>
Powered by blists - more mailing lists