All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: "Miclaus, Antoniu" <Antoniu.Miclaus@analog.com>
Cc: "Sa, Nuno" <Nuno.Sa@analog.com>,
	"Hennerich, Michael" <Michael.Hennerich@analog.com>,
	David Lechner <dlechner@baylibre.com>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Jonathan Corbet <corbet@lwn.net>,
	Shuah Khan <skhan@linuxfoundation.org>,
	"Sabau, Radu bogdan" <Radu.Sabau@analog.com>,
	"Schmitt, Marcelo" <Marcelo.Schmitt@analog.com>,
	"Marques, Jorge" <Jorge.Marques@analog.com>,
	Salih Erim <salih.erim@amd.com>,
	Matti Vaittinen <mazziesaccount@gmail.com>,
	Jishnu Prakash <jishnu.prakash@oss.qualcomm.com>,
	"linux-iio@vger.kernel.org" <linux-iio@vger.kernel.org>,
	linux <linux@analog.com>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"linux-doc@vger.kernel.org" <linux-doc@vger.kernel.org>
Subject: Re: [PATCH v2 0/4] iio: adc: ade9000: add support for ADE9078
Date: Wed, 5 Aug 2026 17:45:48 +0100	[thread overview]
Message-ID: <20260805174548.4668a844@jic23-huawei> (raw)
In-Reply-To: <CY2PR03MB64993328B3E165CF124F5EF35F9BD32@CY2PR03MB649933.namprd03.prod.outlook.com>

On Wed, 5 Aug 2026 11:45:37 +0000
"Miclaus, Antoniu" <Antoniu.Miclaus@analog.com> wrote:

> Hi Jonathan,
> 
> > -----Original Message-----
> > From: Jonathan Cameron <jic23@kernel.org>
> > Sent: Sunday, August 2, 2026 4:44 AM
> > To: Miclaus, Antoniu <Antoniu.Miclaus@analog.com>
> > Cc: Sa, Nuno <Nuno.Sa@analog.com>; Hennerich, Michael
> > <Michael.Hennerich@analog.com>; David Lechner <dlechner@baylibre.com>;
> > Rob Herring <robh@kernel.org>; Krzysztof Kozlowski <krzk+dt@kernel.org>;
> > Conor Dooley <conor+dt@kernel.org>; Jonathan Corbet <corbet@lwn.net>;
> > Shuah Khan <skhan@linuxfoundation.org>; Sabau, Radu bogdan
> > <Radu.Sabau@analog.com>; Schmitt, Marcelo
> > <Marcelo.Schmitt@analog.com>; Marques, Jorge
> > <Jorge.Marques@analog.com>; Salih Erim <salih.erim@amd.com>; Matti
> > Vaittinen <mazziesaccount@gmail.com>; Jishnu Prakash
> > <jishnu.prakash@oss.qualcomm.com>; linux-iio@vger.kernel.org; linux
> > <linux@analog.com>; devicetree@vger.kernel.org; linux-
> > kernel@vger.kernel.org; linux-doc@vger.kernel.org
> > Subject: Re: [PATCH v2 0/4] iio: adc: ade9000: add support for ADE9078
> > 
> > [External]
> > 
> > On Fri, 31 Jul 2026 11:29:46 +0300
> > Antoniu Miclaus <antoniu.miclaus@analog.com> wrote:
> >   
> > > The ADE9078 is a polyphase energy metering device from the same family as
> > > the ADE9000 and is register compatible with it. The main differences
> > > relevant to the driver are the absence of the on-chip dip/swell detection,
> > > a lower maximum SPI clock (10 MHz), and slightly different full-scale ADC
> > > codes.  
> > 
> > This looks fine to me, but will need to sit on list until the dt maintainers
> > have gotten to it.  Sashiko did call out some possible preexisting issues
> > in the driver.  I haven't looked at them, but if you have some time, it may
> > be worth a look the power vs interrupt registration one smells plausible.
> >   
> Want me to send the fixes in a separate patch or within this series?

Separate should be fine for any preexisting issues.  I'm not going to
hold this series up waiting for them (assuming we get the dt ack - it's
listed on their patchwork as Needs Ack so no one has gotten to it yet).
https://patchwork.kernel.org/project/devicetree/patch/20260731082951.1228-3-antoniu.miclaus@analog.com/

Jonathan

> 
> > https://urldefense.com/v3/__https://sashiko.dev/*/patchset/20260731082
> > 951.1228-1-
> > antoniu.miclaus*40analog.com__;IyU!!A3Ni8CS0y2Y!78esTjrnDgvdH9h_Pruv
> > IpxZPJggP6_ge3-ecPnYKxN8b32xrwH3oUABtFHCRmEGtnicycd5eqRTn7EkeQ$  
> > >
> > > This series adds support for the ADE9078 to the existing ade9000 driver.
> > > It first refactors the driver to move the part-specific values (device
> > > name, channel table, and full-scale codes) into a chip_info structure
> > > retrieved via device match data, then adds the new device tree compatible
> > > and the ADE9078 support itself, and finally updates the documentation.
> > >
> > > Changes in v2:
> > > - move the "respective datasheets" comment wording to avoid churn.
> > > - use a generic Kconfig title and list the supported parts.
> > > - duplicate the RMS voltage macro instead of a shared base macro.
> > >
> > > v1: https://urldefense.com/v3/__https://lore.kernel.org/linux-  
> > iio/__;!!A3Ni8CS0y2Y!78esTjrnDgvdH9h_PruvIpxZPJggP6_ge3-
> > ecPnYKxN8b32xrwH3oUABtFHCRmEGtnicycd5eqTALKwajg$ <FILL-IN-v1-
> > MESSAGE-ID>/  
> > >
> > > Antoniu Miclaus (4):
> > >   iio: adc: ade9000: introduce chip_info structure
> > >   dt-bindings: iio: adc: adi,ade9000: add adi,ade9078 compatible
> > >   iio: adc: ade9000: add support for ADE9078
> > >   docs: iio: ade9000: document ADE9078 support
> > >
> > >  .../bindings/iio/adc/adi,ade9000.yaml         |  30 ++-
> > >  Documentation/iio/ade9000.rst                 |  28 +--
> > >  drivers/iio/adc/Kconfig                       |  16 +-
> > >  drivers/iio/adc/ade9000.c                     | 180 ++++++++++++------
> > >  4 files changed, 175 insertions(+), 79 deletions(-)
> > >
> > >
> > > base-commit: 0b5e142ced4bcf20532da051934bd694d1bbd470  
> 


      reply	other threads:[~2026-08-05 16:45 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-31  8:29 [PATCH v2 0/4] iio: adc: ade9000: add support for ADE9078 Antoniu Miclaus
2026-07-31  8:29 ` [PATCH v2 1/4] iio: adc: ade9000: introduce chip_info structure Antoniu Miclaus
2026-07-31  8:40   ` sashiko-bot
2026-07-31  8:29 ` [PATCH v2 2/4] dt-bindings: iio: adc: adi,ade9000: add adi,ade9078 compatible Antoniu Miclaus
2026-07-31  8:39   ` sashiko-bot
2026-07-31  8:29 ` [PATCH v2 3/4] iio: adc: ade9000: add support for ADE9078 Antoniu Miclaus
2026-07-31  8:29 ` [PATCH v2 4/4] docs: iio: ade9000: document ADE9078 support Antoniu Miclaus
2026-08-02  1:44 ` [PATCH v2 0/4] iio: adc: ade9000: add support for ADE9078 Jonathan Cameron
2026-08-05 11:45   ` Miclaus, Antoniu
2026-08-05 16:45     ` Jonathan Cameron [this message]

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=20260805174548.4668a844@jic23-huawei \
    --to=jic23@kernel.org \
    --cc=Antoniu.Miclaus@analog.com \
    --cc=Jorge.Marques@analog.com \
    --cc=Marcelo.Schmitt@analog.com \
    --cc=Michael.Hennerich@analog.com \
    --cc=Nuno.Sa@analog.com \
    --cc=Radu.Sabau@analog.com \
    --cc=conor+dt@kernel.org \
    --cc=corbet@lwn.net \
    --cc=devicetree@vger.kernel.org \
    --cc=dlechner@baylibre.com \
    --cc=jishnu.prakash@oss.qualcomm.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@analog.com \
    --cc=mazziesaccount@gmail.com \
    --cc=robh@kernel.org \
    --cc=salih.erim@amd.com \
    --cc=skhan@linuxfoundation.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.