From: Marcelo Schmitt <marcelo.schmitt1@gmail.com>
To: Antoniu Miclaus <antoniu.miclaus@analog.com>
Cc: jic23@kernel.org, robh@kernel.org, conor+dt@kernel.org,
linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org,
devicetree@vger.kernel.org
Subject: Re: [PATCH v3 2/4] dt-bindings: iio: adc: add ade9000
Date: Sun, 10 Aug 2025 12:18:50 -0300 [thread overview]
Message-ID: <aJi4Woh3XzeeNlcJ@debian-BULLSEYE-live-builder-AMD64> (raw)
In-Reply-To: <20250808141020.4384-3-antoniu.miclaus@analog.com>
Hi Antoniu,
Didn't manage to a full review of the bindings as this has many features.
Though, I've noticed one small nit below.
On 08/08, Antoniu Miclaus wrote:
> Add devicetree bindings support for ade9000.
>
> Signed-off-by: Antoniu Miclaus <antoniu.miclaus@analog.com>
> ---
> changes in v3:
> - fix $id schema URL format
> - remove address/size-cells and channel subnodes
> - add dready interrupt support
> - add clock input/output support
> - simplify device tree structure
> .../bindings/iio/adc/adi,ade9000.yaml | 110 ++++++++++++++++++
> 1 file changed, 110 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/iio/adc/adi,ade9000.yaml
>
> diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ade9000.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ade9000.yaml
> new file mode 100644
> index 000000000000..07bc49acc920
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/iio/adc/adi,ade9000.yaml
> @@ -0,0 +1,110 @@
> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
> +# Copyright 2025 Analog Devices Inc.
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/iio/adc/adi,ade9000.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Analog Devices ADE9000 High Performance, Polyphase Energy Metering driver
> +
> +maintainers:
> + - Antoniu Miclaus <antoniu.miclaus@analog.com>
> +
> +description: |
> + The ADE9000 s a highly accurate, fully integrated, multiphase energy and power
> + quality monitoring device. Superior analog performance and a digital signal
> + processing (DSP) core enable accurate energy monitoring over a wide dynamic
> + range. An integrated high end reference ensures low drift over temperature
> + with a combined drift of less than ±25 ppm/°C maximum for the entire channel
> + including a programmable gain amplifier (PGA) and an analog-to- digital
> + converter (ADC).
> +
> + https://www.analog.com/media/en/technical-documentation/data-sheets/ADE9000.pdf
> +
> +$ref: /schemas/spi/spi-peripheral-props.yaml#
> +
...
> +required:
> + - compatible
> + - reg
> + - reset-gpios
> + - interrupts
> + - interrupt-names
> + - vdd-supply
> +
> +allOf:
> + - $ref: /schemas/spi/spi-peripheral-props.yaml#
spi-peripheral-props is alread referenced right after the dt-binding general
description. Is it needed to also reference it here?
next prev parent reply other threads:[~2025-08-10 15:18 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-08 14:10 [PATCH v3 0/4] iio: adc: add support for ADE9000 Energy Monitoring IC Antoniu Miclaus
2025-08-08 14:10 ` [PATCH v3 1/4] iio: add power and energy measurement modifiers Antoniu Miclaus
2025-08-12 0:37 ` David Lechner
2025-08-08 14:10 ` [PATCH v3 2/4] dt-bindings: iio: adc: add ade9000 Antoniu Miclaus
2025-08-10 15:18 ` Marcelo Schmitt [this message]
2025-08-13 23:24 ` Rob Herring
2025-08-08 14:10 ` [PATCH v3 3/4] iio: adc: add ade9000 support Antoniu Miclaus
2025-08-08 15:23 ` Nuno Sá
2025-08-10 15:44 ` Marcelo Schmitt
2025-08-10 17:35 ` Christophe JAILLET
2025-08-08 14:10 ` [PATCH v3 4/4] Documentation: ABI: iio: add sinc4+lp Antoniu Miclaus
2025-08-10 15:25 ` Marcelo Schmitt
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=aJi4Woh3XzeeNlcJ@debian-BULLSEYE-live-builder-AMD64 \
--to=marcelo.schmitt1@gmail.com \
--cc=antoniu.miclaus@analog.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jic23@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--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