From: "Nuno Sá" <noname.nuno@gmail.com>
To: Jonathan Cameron <jic23@kernel.org>
Cc: "Jonathan Cameron" <jonathan.cameron@huawei.com>,
"Nuno Sá" <nuno.sa@analog.com>,
"Michael Hennerich" <Michael.Hennerich@analog.com>,
"David Lechner" <dlechner@baylibre.com>,
"Andy Shevchenko" <andy@kernel.org>,
"Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
linux-iio@vger.kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH v2 1/3] dt-bindings: iio: dac: Document AD5446 and similar devices
Date: Thu, 30 Oct 2025 11:30:55 +0000 [thread overview]
Message-ID: <1a95bd186bf1b5b3e2d3b3808069dba6649bafd1.camel@gmail.com> (raw)
In-Reply-To: <20251027150136.6cfd3774@jic23-huawei>
On Mon, 2025-10-27 at 15:01 +0000, Jonathan Cameron wrote:
> On Mon, 27 Oct 2025 14:48:50 +0000
> Nuno Sá <noname.nuno@gmail.com> wrote:
>
> > On Thu, 2025-10-23 at 18:08 +0100, Jonathan Cameron wrote:
> > > On Thu, 23 Oct 2025 14:01:37 +0300
> > > Nuno Sá <nuno.sa@analog.com> wrote:
> > >
> > > > Add device tree binding documentation for the Analog Devices AD5446
> > > > family of Digital-to-Analog Converters and compatible devices from
> > > > Texas Instruments. There's both SPI and I2C interfaces and feature
> > > > resolutions ranging from 8-bit to 16-bit.
> > > >
> > > > The binding covers 29 compatible devices including the AD5446 series,
> > > > AD5600 series, AD5620/5640/5660 variants with different voltage ranges,
> > > > and TI DAC081s101/DAC101s101/DAC121s101 devices.
> > > >
> > > > Signed-off-by: Nuno Sá <nuno.sa@analog.com>
> > > Hi Nuno,
> > >
> > > Thanks for filling in this missing doc. I wonder what else is old
> > > enough that we still don't have docs? Guess I should check when
> > > I'm next bored enough (so that's not happening any time soon ;)
> >
> > Yeah, wouldn't be surprised if there's some more ADI old stuff hanging around.
> > This caught my attention since I saw that out of tree patch adding support for a
> > new device (with no real reason for not being in tree).
> >
> > >
> > > > ---
> > > > .../devicetree/bindings/iio/dac/adi,ad5446.yaml | 138
> > > > +++++++++++++++++++++
> > > > MAINTAINERS | 8 ++
> > > > 2 files changed, 146 insertions(+)
> > > >
> > > > diff --git a/Documentation/devicetree/bindings/iio/dac/adi,ad5446.yaml
> > > > b/Documentation/devicetree/bindings/iio/dac/adi,ad5446.yaml
> > > > new file mode 100644
> > > > index 000000000000..90fc8ca053fe
> > > > --- /dev/null
> > > > +++ b/Documentation/devicetree/bindings/iio/dac/adi,ad5446.yaml
> > > > @@ -0,0 +1,138 @@
> > > > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
> > > > +%YAML 1.2
> > > > +---
> > > > +$id: http://devicetree.org/schemas/iio/dac/adi,ad5446.yaml#
> > > > +$schema: http://devicetree.org/meta-schemas/core.yaml#
> > > > +
> > > > +title: Analog Devices AD5446 and similar DACs
> > > > +
> > > > +maintainers:
> > > > + - Michael Hennerich <michael.hennerich@analog.com>
> > > > + - Nuno Sá <nuno.sa@analog.com>
> > > > +
> > > > +description: |
> > >
> > > Trivial but don't need the | as hardly matters if these get formatted
> > > differently.
> >
> > Sure.
> >
> > >
> > > > + Digital to Analog Converter devices supporting both SPI and I2C
> > > > interfaces.
> > > > + These devices feature a range of resolutions from 8-bit to 16-bit.
> > >
> > > ...
> > >
> > > > diff --git a/MAINTAINERS b/MAINTAINERS
> > > > index 940889b158eb..dae04c308975 100644
> > > > --- a/MAINTAINERS
> > > > +++ b/MAINTAINERS
> > > > @@ -440,6 +440,14 @@ W: http://wiki.analog.com/AD5398
> > > > W: https://ez.analog.com/linux-software-drivers
> > > > F: drivers/regulator/ad5398.c
> > > >
> > > > +AD5456 DAC DRIVER
> > > Tab seems odd here.
> > >
> > > Hmm. For a lot of ADI drivers we have entries that would look like
> > > ANALOG DEVICES INC AD5456 DAC DRIVER
> > >
> > > Any reason for formatting it like this?
> >
> > Ok, time to come clean :)
> >
> > Bindings were AI generated and then I just cleaned the obvious problems (clearly
> > I did not payed too much attention to the boilerplate stuff - lesson learned).
>
> I'd hold off on doing anything much with AI on kernel code for now.
> A clear policy might come out of the maintainers summit in December.
> If you are curious, various threads on: https://lore.kernel.org/ksummit/
Right, I did saw some threads regarding some patches being automatically sent
(I think the AUTOSEL stuff for stable) by AI. Not completely the same here as I still
reviewed it and changed things (more like co-developed thing :)).
>
> DT bindings get picked up by various projects so they may have their own
> policy long run.
>
I see, it's kind of handy (for bindings not so complicated) as it can come up with maybe
50/60% of the whole thing. But sure, I will refrain from using it until we have a clear
policy in place.
BTW, writing covers and commit messages would be fine, right?
- Nuno Sá
> J
>
> >
> > - Nuno Sá
> >
> > >
> > > > +M: Michael Hennerich <michael.hennerich@analog.com>
> > > > +M: Nuno Sá <nuno.sa@analog.com>
> > > > +L: linux-iio@vger.kernel.org
> > > > +S: Supported
> > > > +W: https://ez.analog.com/linux-software-drivers
> > > > +F: Documentation/devicetree/bindings/iio/dac/adi,ad5446.yaml
> > > > +
> > > > AD714X CAPACITANCE TOUCH SENSOR DRIVER (AD7142/3/7/8/7A)
> > > > M: Michael Hennerich <michael.hennerich@analog.com>
> > > > S: Supported
> > > >
next prev parent reply other threads:[~2025-10-30 11:30 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-23 11:01 [PATCH v2 0/3] iio: dac: ad5446: Add AD5542 to the spi id table Nuno Sá
2025-10-23 11:01 ` [PATCH v2 1/3] dt-bindings: iio: dac: Document AD5446 and similar devices Nuno Sá
2025-10-23 17:08 ` Jonathan Cameron
2025-10-27 14:48 ` Nuno Sá
2025-10-27 15:01 ` Jonathan Cameron
2025-10-30 11:30 ` Nuno Sá [this message]
2025-11-02 12:13 ` Jonathan Cameron
2025-10-23 18:24 ` Conor Dooley
2025-10-24 10:12 ` Jonathan Cameron
2025-10-24 11:04 ` Conor Dooley
2025-10-27 14:49 ` Nuno Sá
2025-10-23 11:01 ` [PATCH v2 2/3] iio: dac: ad5456: Add missing DT compatibles Nuno Sá
2025-10-23 17:13 ` Jonathan Cameron
2025-10-27 14:55 ` Nuno Sá
2025-10-24 16:29 ` Andy Shevchenko
2025-10-24 18:41 ` Jonathan Cameron
2025-10-23 11:01 ` [PATCH v2 3/3] iio: dac: ad5446: Add AD5542 to the spi id table Nuno Sá
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=1a95bd186bf1b5b3e2d3b3808069dba6649bafd1.camel@gmail.com \
--to=noname.nuno@gmail.com \
--cc=Michael.Hennerich@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=jonathan.cameron@huawei.com \
--cc=krzk+dt@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=nuno.sa@analog.com \
--cc=robh@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;
as well as URLs for NNTP newsgroup(s).