Re: [PATCH 4/4] docs: iio: ade9000: document ADE9039 support

From: Jonathan Cameron

Date: Sat Oct 17 2026 - 19:44:25 EST


On Mon, 12 Oct 2026 14:13:40 +0300
Antoniu Miclaus <antoniu.miclaus@xxxxxxxxxx> wrote:

> Add the ADE9039 to the list of supported devices and note that, unlike the
> ADE9078 and ADE9430, it does provide the on-chip dip/swell events. Also
> document that it exposes no total reactive power attributes, since the part
> computes only fundamental reactive power.
>
> Signed-off-by: Antoniu Miclaus <antoniu.miclaus@xxxxxxxxxx>
> ---
> Documentation/iio/ade9000.rst | 24 +++++++++++++++---------
> 1 file changed, 15 insertions(+), 9 deletions(-)
>
> diff --git a/Documentation/iio/ade9000.rst b/Documentation/iio/ade9000.rst
> index 0c0a8ea8213b..13b7ecf83cb8 100644
> --- a/Documentation/iio/ade9000.rst
> +++ b/Documentation/iio/ade9000.rst
> @@ -1,12 +1,11 @@
> .. SPDX-License-Identifier: GPL-2.0
>
> -==============================
> -ADE9000/ADE9078/ADE9430 driver
> -==============================
> +======================================
> +ADE9000/ADE9078/ADE9430/ADE9039 driver
> +======================================

You can probably guess by now ;) Numeric order.

>
> -+This driver supports Analog Devices' ADE9000, ADE9078 and ADE9430 energy
> -+measurement ICs on SPI bus.
> -ICs on SPI bus.
> +This driver supports Analog Devices' ADE9000, ADE9078, ADE9430 and ADE9039

and this one. Might be worth switching to bullet points to reduce churn
for the next device.

> +energy measurement ICs on SPI bus.
>
> 1. Supported devices
> ====================
> @@ -14,6 +13,7 @@ ICs on SPI bus.
> * `ADE9000 <https://www.analog.com/media/en/technical-documentation/data-sheets/ADE9000.pdf>`_
> * `ADE9078 <https://www.analog.com/media/en/technical-documentation/data-sheets/ADE9078.pdf>`_
> * `ADE9430 <https://www.analog.com/media/en/technical-documentation/data-sheets/ADE9430.pdf>`_
> +* `ADE9039 <https://www.analog.com/media/en/technical-documentation/data-sheets/ADE9039.pdf>`_

Guess what :)


>
> The supported parts are highly accurate, fully integrated,
> multiphase energy and power quality monitoring devices. Superior analog
> @@ -24,9 +24,15 @@ for the entire channel including a programmable gain amplifier (PGA) and an
> analog-to-digital converter (ADC).
>
> The ADE9078 and ADE9430 do not provide the on-chip dip/swell (sag) detection
> -available on the ADE9000, so the RMS voltage swell/dip events described below are
> -only available on the ADE9000. The ADE9430 additionally has no on-chip digital
> -integrator and instead uses an external analog integrator for Rogowski coils.
> +available on the ADE9000 and the ADE9039, so the RMS voltage swell/dip events
> +described below are only available on those two parts. The ADE9430 additionally
> +has no on-chip digital integrator and instead uses an external analog integrator
> +for Rogowski coils.
> +
> +The ADE9039 computes only fundamental reactive power and has no total reactive
> +power register, so the ``in_power[0-2]_reactive_*`` files described below are
> +not present on that part. The reactive energy files are unaffected, as every
> +supported part accumulates fundamental reactive energy.
>
> 2. Device attributes
> ====================