[PATCH 0/4] iio: adc: ade9000: add support for ADE9078

Antoniu Miclaus posted 4 patches 4 days, 15 hours ago
.../bindings/iio/adc/adi,ade9000.yaml         |  30 ++-
Documentation/iio/ade9000.rst                 |  28 +--
drivers/iio/adc/Kconfig                       |  14 +-
drivers/iio/adc/ade9000.c                     | 178 ++++++++++++------
4 files changed, 169 insertions(+), 81 deletions(-)
[PATCH 0/4] iio: adc: ade9000: add support for ADE9078
Posted by Antoniu Miclaus 4 days, 15 hours ago
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 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.

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                       |  14 +-
 drivers/iio/adc/ade9000.c                     | 178 ++++++++++++------
 4 files changed, 169 insertions(+), 81 deletions(-)

-- 
2.43.0