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

From: Guenter Roeck
Date: Mon Jan 22 2024 - 10:14:26 EST


On 1/22/24 00:47, marius.cristea@xxxxxxxxxxxxx wrote:
From: Marius Cristea <marius.cristea@xxxxxxxxxxxxx>

Adding support for Microchip PAC193X series of Power Monitor with
Accumulator chip family. This driver covers the following part numbers:
- PAC1931, PAC1932, PAC1933 and PAC1934

This device is at the boundary between IIO and HWMON (if you are
looking just at the "shunt resistors, vsense, power, energy"). The
device also has ADC internally that can measure voltages (up to 4
channels) and also currents (up to 4 channels). The current is measured as
voltage across the shunt_resistor.

I have started with a simple driver (this one that is more appropriate to be
a HWMON) and willing to add more functionality later (like data buffering that

Not sure I understand what you are trying to say here. This is obviously an iio
driver, not a hwmon driver. Any hwmon related concern is irrelevant.

Guenter