Re: [PATCH v1 0/2] adding support for Microchip PAC193X Power Monitor

From: Jonathan Cameron
Date: Sat Feb 25 2023 - 11:57:21 EST


On Mon, 20 Feb 2023 14:32:30 +0200
<marius.cristea@xxxxxxxxxxxxx> wrote:

> From: Marius Cristea <marius.cristea@xxxxxxxxxxxxx>
>
> Adding support for Microchip PAC193X series of Power Monitor with
> Accumulator chip family.

This device is at the messy boundary between IIO and HWMON. Perhaps call out
the reasons you think IIO is more appropriate in this cover letter.
+ Often a good idea for these borderline parts to cc both mailing lists and
maintainers.

Often the conclusion is that it is fine to have these in IIO because we can
bridge to hwmon anyway with the iio-hwmon driver.

>
> Differences related to previous patch:
>
> v1:
> - first version comitted to review
>
>
> Marius Cristea (2):
> dt-bindings: iio: adc: adding dt-bindings for PAC193X
> iio: adc: adding support for pac193x
>
> .../bindings/iio/adc/microchip,pac193x.yaml | 122 +
> MAINTAINERS | 7 +
> drivers/iio/adc/Kconfig | 12 +
> drivers/iio/adc/Makefile | 1 +
> drivers/iio/adc/pac193x.c | 2072 +++++++++++++++++
> 5 files changed, 2214 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/iio/adc/microchip,pac193x.yaml
> create mode 100644 drivers/iio/adc/pac193x.c
>