[PATCH 0/2] hwmon: ina2xx: convert driver to using regmap

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Hi Guenter,

as requested, here's the regmap version as a separate patch. I've left out
the idea of separate show functions as it doesn't bring much indeed.

If you're interested in a before/after comparison, here are the plots of
of a usb key (DUT) power-cycle captured using either driver version.
As expected, the measurement is better resolved with single reads.

"github dot com"/mtitinger/ACME/blob/master/docs/measurements/bulk-700pts.png
"github dot com"/mtitinger/ACME/blob/master/docs/measurements/regmap-700pts.png

Many thanks.

Marc Titinger (2):
  hwmon: ina2xx: convert driver to using regmap
  hwmon: ina2xx: give precedence to DT over checking for platform data.

 drivers/hwmon/ina2xx.c | 208 +++++++++++++++++++------------------------------
 1 file changed, 79 insertions(+), 129 deletions(-)


lm-sensors mailing list

[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux