From: Andy Shevchenko <andriy.shevchenko@intel.com>
To: "Torreno, Alexis Czezar" <AlexisCzezar.Torreno@analog.com>
Cc: "Jonathan Cameron" <jic23@kernel.org>,
"Lars-Peter Clausen" <lars@metafoo.de>,
"Hennerich, Michael" <Michael.Hennerich@analog.com>,
"David Lechner" <dlechner@baylibre.com>,
"Sa, Nuno" <Nuno.Sa@analog.com>,
"Andy Shevchenko" <andy@kernel.org>,
"Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Uwe Kleine-König" <ukleinek@kernel.org>,
"linux-iio@vger.kernel.org" <linux-iio@vger.kernel.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"linux-pwm@vger.kernel.org" <linux-pwm@vger.kernel.org>
Subject: Re: [PATCH 2/3] iio: dac: ad5706r: Add support for AD5706R DAC
Date: Mon, 23 Feb 2026 10:47:56 +0200 [thread overview]
Message-ID: <aZwUPKL4wGWyKBE6@smile.fi.intel.com> (raw)
In-Reply-To: <PH0PR03MB63517AE635266411B18E1BD7F177A@PH0PR03MB6351.namprd03.prod.outlook.com>
On Mon, Feb 23, 2026 at 04:49:38AM +0000, Torreno, Alexis Czezar wrote:
> > > Add support for the Analog Devices AD5706R, a 4-channel 16-bit current
> > > output digital-to-analog converter with SPI interface.
> > >
> > > Features:
> > > - 4 independent DAC channels
> > > - Hardware and software LDAC trigger
> > > - Configurable output range
> > > - PWM-based LDAC control
> > > - Dither and toggle modes
> > > - Dynamically configurable SPI speed
> > >
> > > Signed-off-by: Alexis Czezar Torreno <alexisczezar.torreno@analog.com>
> >
> > Hi Alexis
> >
> > Welcome to IIO. A few quick comments inline, but as others have observed
> > the patch is too large and needs breaking up. Also there is a lot of custom ABI.
> > Given we are reluctant to merge that at all, it definitely needs documentation
> > and careful consideration of whether it can be done with existing ABI or is
> > more appropriate in DT.
> >
> > Thanks,
> >
> > Jonathan
>
> Using this reply to acknowledge all the emails/feedback.
> Thanks for the time you spent on this large patch.
>
> It seems I will have to split this up first. I think it would be the basic driver,
> the ABI + docu, then the debugfs. Merge 1 before I submit the others.
> Will apply each feedback as I go.
>
> Some naming schemes need to be updated, to properly reflect the datasheet
> terms rather than the one internally agreed upon.
>
> The most unusual that a lot pointed out is related to the clock/.speed_hz/
> spi_engine. I was asked to make it work a bit beyond 50MHz, using a cora
> fpga. The cora processor spi is limited to 50MHz due to HW, hence the need
> to use an spi-engine. However, this is limited to the resolution on how small
> the frequencies can be changed, the spi engine only does integer division, thus
> leading me to change the clock driver of the spi_engine itself.
> I'll try to see if the implementation can be changed to something simpler and
> will make it easier for us.
Please, do remove the context you are not commenting on!
I have listed ~500 lines to understand if there is anything below.
Waste of time for each reviewer / follower...
--
With Best Regards,
Andy Shevchenko
next prev parent reply other threads:[~2026-02-23 8:48 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-20 8:02 [PATCH 0/3] Add support for AD5706R DAC Alexis Czezar Torreno
2026-02-20 8:02 ` [PATCH 1/3] dt-bindings: iio: dac: Add binding for AD5706R Alexis Czezar Torreno
2026-02-21 10:45 ` Krzysztof Kozlowski
2026-02-21 16:05 ` David Lechner
2026-02-20 8:02 ` [PATCH 2/3] iio: dac: ad5706r: Add support for AD5706R DAC Alexis Czezar Torreno
2026-02-20 10:48 ` Nuno Sá
2026-02-20 11:00 ` Andy Shevchenko
2026-02-20 15:02 ` Nuno Sá
2026-02-20 16:56 ` Andy Shevchenko
2026-02-23 10:10 ` Nuno Sá
2026-02-20 10:51 ` Uwe Kleine-König
2026-02-21 16:19 ` David Lechner
2026-02-22 18:57 ` Jonathan Cameron
2026-02-23 4:49 ` Torreno, Alexis Czezar
2026-02-23 8:47 ` Andy Shevchenko [this message]
2026-02-20 8:02 ` [PATCH 3/3] MAINTAINERS: Add entry for AD5706R DAC driver Alexis Czezar Torreno
2026-02-20 10:18 ` Nuno Sá
2026-02-20 10:31 ` [PATCH 0/3] Add support for AD5706R DAC Andy Shevchenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aZwUPKL4wGWyKBE6@smile.fi.intel.com \
--to=andriy.shevchenko@intel.com \
--cc=AlexisCzezar.Torreno@analog.com \
--cc=Michael.Hennerich@analog.com \
--cc=Nuno.Sa@analog.com \
--cc=andy@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dlechner@baylibre.com \
--cc=jic23@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pwm@vger.kernel.org \
--cc=robh@kernel.org \
--cc=ukleinek@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox